Commit 1caa32b3 authored by Christof Schulze's avatar Christof Schulze 😎 Committed by cschulze
Browse files

[*] update for F25 new hdf5 version

parent 0467c9d5
Loading
Loading
Loading
Loading

hdf5/.version

0 → 100644
+5 −0
Original line number Diff line number Diff line
#%Module1.0#####################################################################
##
## version file for Paraview
##
set ModulesVersion  "1.8.17-system"
 No newline at end of file

hdf5/1.8.17-system

0 → 100644
+48 −0
Original line number Diff line number Diff line
#%Module
#
# HDF5 with GCC 6.3.1 compiler (no MPI)
#
set     version         1.8.17
proc ModulesHelp { } {
        global version
        puts stderr "\tSets up the environment variables for system HDF5 ( GCC 6.3.1, NO MPI )\n"
        puts stderr "\t- HDF5_BASE"
        puts stderr "\t- HDF5_LIBDIR"
        puts stderr "\t- HDF5_LIB"
        puts stderr "\t- HDF5_INCDIR"
        puts stderr "\t- HDF5_INC"
        puts stderr "\t- HDF5_F90_LIB"
        puts stderr "\t- HDF5_CPP_LIB (if available)"
        puts stderr "\t- LD_LIBRARY_PATH"
        puts stderr "\t- PATH\n"
}

module-whatis   "sets up the environment variables for system HDF5 $version ( GCC 6.3.1, NO MPI )\n"


conflict        hdf5


set             pkghome		/usr
set             pkglibdir	/usr/lib64

setenv  HDF5_BASE       $pkghome
setenv  HDF5_LIBDIR     $pkglibdir
setenv  HDF5_LIB        "-L$pkglibdir -lhdf5_hl -lhdf5"
setenv  HDF5_INCDIR     $pkghome/include
setenv  HDF5_INC        "-I$pkghome/include"
setenv  HDF5_F90_LIB    "-L$pkglibdir -lhdf5hl_fortran -lhdf5_fortran"
if { [ file exists $pkglibdir/libhdf5_cpp.so ] } {
  setenv  HDF5_CPP_LIB  "-L$pkglibdir -lhdf5_hl_cpp -lhdf5_cpp"
}
setenv	HDF5_VERSION	$version

# NO, Never add /usr/bin to path, will remove system env from PATH when unloaded
#prepend-path    PATH            $pkghome/bin
prepend-path    LD_LIBRARY_PATH $pkglibdir

unset        	pkghome
unset         pkglibdir

#set MSG ""
#source $env(MODULESHOME)/modincludes/info_logging.tcl
+5 −5
Original line number Diff line number Diff line
#%Module
#
# HDF5 with GCC 5.3.1 compiler ( MPI )
# HDF5 with GCC 6.3.1 compiler ( MPI )
#
set     version         1.8.16
set     version         1.8.17
proc ModulesHelp { } {
        global version
        puts stderr "\tSets up the environment variables for system HDF5 ( GCC 5.3.1, MPI )\n"
        puts stderr "\tSets up the environment variables for system HDF5 ( GCC 6.3.1, MPI )\n"
        puts stderr "\t- HDF5_BASE"
        puts stderr "\t- HDF5_LIBDIR"
        puts stderr "\t- HDF5_LIB"
@@ -17,7 +17,7 @@ proc ModulesHelp { } {
        puts stderr "\t- PATH\n"
}

module-whatis   "sets up the environment variables for system HDF5 $version ( GCC 5.3.1, MPI )\n"
module-whatis   "sets up the environment variables for system HDF5 $version ( GCC 6.3.1, MPI )\n"

conflict        hdf5
prereq		      mpi/openmpi-x86_64