Initial release of datacatalog module, not yet productive

This commit is contained in:
2019-03-20 14:27:35 +01:00
parent 837e76602b
commit d0c28872d7
4 changed files with 55 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
# The Mellanox MXM communication library
## Overview
The Mellanox MXM communication library provides support for the Mellanox MXM interface for InfiniBand.
## Installation
For the module we use a RPM distributed by HP.
1. Create new directory `/opt/psi/System/mxm/VERSION_merlin`
1. Download RPM from https://downloads.linux.hpe.com/sdr/repo/mlnx_ofed/RedHatEnterpriseServer/
1. Unpack RPM with `rpm2cpio RPM | cpio -i --make-dirs` somewhere
1. copy all files from `opt/mellanox/mxm` to the module directory
1. adapt directories in `lib/pkg-config/mxm.pc`
1. add new variant to `files/variants`
1. run the build-script to install the modulefile and to set the release
> **Note:** The shared library `libmxm.so`provided by the RPMs for RHEL 6 cannot be used to compile other software.
They requiry GLIBC >= 2.14, but on RHEL 6 only 2.12 is installed!

20
Tools/datacatalog/build Executable file
View File

@@ -0,0 +1,20 @@
#!/usr/bin/env modbuild
pbuild::prep() {
:
}
pbuild::configure() {
:
}
pbuild::compile() {
:
}
pbuild::install() {
mkdir -p "$PREFIX/bin"
/usr/bin/curl -o "$PREFIX/bin/datasetIngestor" https://intranet.psi.ch/pub/Daas/WebHome/datasetIngestor
chmod +x "$PREFIX/bin/datasetIngestor"
}

View File

@@ -0,0 +1,3 @@
datacatalog/1.1.15 removed
datacatalog/1.1.16 deprecated
datacatalog/1.1.17 stable

View File

@@ -0,0 +1,11 @@
#%Module1.0
module-whatis "SciCat datacatalog related tools"
module-url "https://melanie.gitpages.psi.ch/SciCatPages/"
module-license "GPL-V3"
module-maintainer "Stephan Egli <stephan.egli@psi.ch>"
module-help "
Data catalog ingest and retrieve tools.
"