forked from NASA-LIS/LISF
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request NASA-LIS#1414 from jvgeiger/feature/configure_lapa…
…ck_petsc Rework LAPACK and PETSC handling by the configure scripts
- Loading branch information
Showing
6 changed files
with
217 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,171 @@ | ||
#%Module1.0################################################################### | ||
|
||
proc ModulesHelp { } { | ||
puts stderr "\t[module-info name] - loads the LISF_7_5_GNU_11_2_0_IMPI_2021_4_0 env" | ||
puts stderr "" | ||
puts stderr "This is for use on NCCS' discover system running SLES 12.3." | ||
puts stderr "" | ||
puts stderr "\tThe following env variables are set:" | ||
puts stderr "\t\tDEV_ENV" | ||
puts stderr "\t\tLIS_ARCH" | ||
puts stderr "\t\tLIS_SPMD" | ||
puts stderr "\t\tLIS_FC" | ||
puts stderr "\t\tLIS_CC" | ||
puts stderr "\t\tLIS_JPEG" | ||
puts stderr "\t\tLIS_OPENJPEG" | ||
puts stderr "\t\tLIS_ECCODES" | ||
puts stderr "\t\tLIS_NETCDF" | ||
puts stderr "\t\tLIS_HDF4" | ||
puts stderr "\t\tLIS_HDFEOS" | ||
puts stderr "\t\tLIS_HDF5" | ||
puts stderr "\t\tLIS_MODESMF" | ||
puts stderr "\t\tLIS_LIBESMF" | ||
puts stderr "\t\tLIS_MINPACK" | ||
puts stderr "\t\tLIS_CRTM" | ||
puts stderr "\t\tLIS_CRTM_PROF" | ||
puts stderr "\t\tLIS_CMEM" | ||
puts stderr "\t\tLIS_LAPACK" | ||
puts stderr "\t\tLIS_PETSC" | ||
puts stderr "\t\tLDT_ARCH" | ||
puts stderr "\t\tLDT_FC" | ||
puts stderr "\t\tLDT_CC" | ||
puts stderr "\t\tLDT_JPEG" | ||
puts stderr "\t\tLDT_OPENJPEG" | ||
puts stderr "\t\tLDT_ECCODES" | ||
puts stderr "\t\tLDT_NETCDF" | ||
puts stderr "\t\tLDT_HDF4" | ||
puts stderr "\t\tLDT_HDFEOS" | ||
puts stderr "\t\tLDT_HDF5" | ||
puts stderr "\t\tLDT_MODESMF" | ||
puts stderr "\t\tLDT_LIBESMF" | ||
puts stderr "\t\tLDT_GDAL" | ||
puts stderr "\t\tLDT_FORTRANGIS" | ||
puts stderr "\t\tLDT_LIBGEOTIFF" | ||
puts stderr "\t\tLVT_ARCH" | ||
puts stderr "\t\tLVT_FC" | ||
puts stderr "\t\tLVT_CC" | ||
puts stderr "\t\tLVT_JPEG" | ||
puts stderr "\t\tLVT_OPENJPEG" | ||
puts stderr "\t\tLVT_ECCODES" | ||
puts stderr "\t\tLVT_NETCDF" | ||
puts stderr "\t\tLVT_HDF4" | ||
puts stderr "\t\tLVT_HDFEOS" | ||
puts stderr "\t\tLVT_HDF5" | ||
puts stderr "\t\tLVT_MODESMF" | ||
puts stderr "\t\tLVT_LIBESMF" | ||
puts stderr "\t\tLVT_GDAL" | ||
puts stderr "\t\tLVT_FORTRANGIS" | ||
puts stderr "" | ||
puts stderr "\tThe following modules are loaded:" | ||
puts stderr "\t\tcomp/gcc/11.2.0" | ||
puts stderr "\t\tmpi/impi/2021.4.0" | ||
puts stderr "\t\ttview/2019.0.4" | ||
puts stderr "\t\tgit/2.40.1" | ||
puts stderr "" | ||
} | ||
|
||
|
||
conflict comp mpi | ||
|
||
|
||
module-whatis "loads the [module-info name] environment" | ||
|
||
|
||
set modname [module-info name] | ||
set modmode [module-info mode] | ||
|
||
|
||
module load comp/gcc/11.2.0 | ||
module load mpi/impi/2021.4.0 | ||
|
||
module load tview/2019.0.4 | ||
module load git/2.40.1 | ||
|
||
|
||
set def_lis_jpeg /discover/nobackup/projects/lis/libs/sles-12.3/jpeg/8d | ||
set def_lis_hdf5 /discover/nobackup/projects/lis/libs/sles-12.3/hdf5/1.12.1_gnu-11.2.0 | ||
set def_lis_netcdf /discover/nobackup/projects/lis/libs/sles-12.3/netcdf/4.8.1_gnu-11.2.0 | ||
set def_lis_openjpeg /discover/nobackup/projects/lis/libs/sles-12.3/openjpeg/2.4.0_gnu-11.2.0 | ||
set def_lis_eccodes /discover/nobackup/projects/lis/libs/sles-12.3/ecCodes/2.23.0_gnu-11.2.0 | ||
set def_lis_hdf4 /discover/nobackup/projects/lis/libs/sles-12.3/hdf4/4.2.15_gnu-11.2.0 | ||
set def_lis_hdfeos /discover/nobackup/projects/lis/libs/sles-12.3/hdfeos2/3.0_gnu-11.2.0 | ||
set def_lis_modesmf /discover/nobackup/projects/lis/libs/sles-12.3/esmf/8.1.1_gnu-11.2.0_impi-2021.4.0/mod/modO/Linux.gfortran.64.intelmpi.default | ||
set def_lis_libesmf /discover/nobackup/projects/lis/libs/sles-12.3/esmf/8.1.1_gnu-11.2.0_impi-2021.4.0/lib/libO/Linux.gfortran.64.intelmpi.default | ||
#set def_lis_minpack /discover/nobackup/projects/lis/libs/minpack/intel_11_1_038 | ||
#set def_lis_crtm /discover/nobackup/projects/lis/libs/JCSDA_CRTM/REL-2.0.2.Surface-rev_intel_18_0_3_222 | ||
#set def_lis_crtm_prof /discover/nobackup/projects/lis/libs/CRTM_Profile_Utility/intel_18_0_3_222 | ||
#set def_lis_cmem /discover/nobackup/projects/lis/libs/LIS-MEM/intel_18_0_3_222 | ||
set def_lis_lapack /discover/nobackup/projects/lis/libs/sles-12.3/blaslapack/3.11.0_gnu-11.2.0/lib | ||
set def_lvt_proj /discover/nobackup/projects/lis/libs/sles-12.3/proj/9.1.0_gnu-11.2.0 | ||
set def_lvt_gdal /discover/nobackup/projects/lis/libs/sles-12.3/gdal/3.5.2_gnu-11.2.0 | ||
set def_lvt_fortrangis /discover/nobackup/projects/lis/libs/sles-12.3/fortrangis/2.6_gdal-3.5.2_gnu-11.2.0 | ||
set def_ldt_libgeotiff /discover/nobackup/projects/lis/libs/sles-12.3/geotiff/1.7.0_proj-9.1.0_gnu-11.2.0 | ||
set def_lis_petsc /discover/nobackup/projects/lis/libs/sles-12.3/petsc/3.16.1_gnu-11.2.0 | ||
|
||
setenv DEV_ENV LISF_7_5_GNU_11_2_0_IMPI_2021_4_0 | ||
setenv LIS_ARCH linux_gfortran | ||
setenv LIS_SPMD parallel | ||
setenv LIS_FC mpif90 | ||
setenv LIS_CC mpicc | ||
setenv LIS_JPEG $def_lis_jpeg | ||
setenv LIS_OPENJPEG $def_lis_openjpeg | ||
setenv LIS_ECCODES $def_lis_eccodes | ||
setenv LIS_NETCDF $def_lis_netcdf | ||
setenv LIS_HDF4 $def_lis_hdf4 | ||
setenv LIS_HDFEOS $def_lis_hdfeos | ||
setenv LIS_HDF5 $def_lis_hdf5 | ||
setenv LIS_MODESMF $def_lis_modesmf | ||
setenv LIS_LIBESMF $def_lis_libesmf | ||
#setenv LIS_MINPACK $def_lis_minpack | ||
#setenv LIS_CRTM $def_lis_crtm | ||
#setenv LIS_CRTM_PROF $def_lis_crtm_prof | ||
#setenv LIS_CMEM $def_lis_cmem | ||
setenv LIS_LAPACK $def_lis_lapack | ||
setenv LIS_PETSC $def_lis_petsc | ||
|
||
|
||
setenv LDT_ARCH linux_gfortran | ||
setenv LDT_FC mpif90 | ||
setenv LDT_CC mpicc | ||
setenv LDT_JPEG $def_lis_jpeg | ||
setenv LDT_OPENJPEG $def_lis_openjpeg | ||
setenv LDT_ECCODES $def_lis_eccodes | ||
setenv LDT_NETCDF $def_lis_netcdf | ||
setenv LDT_HDF4 $def_lis_hdf4 | ||
setenv LDT_HDFEOS $def_lis_hdfeos | ||
setenv LDT_HDF5 $def_lis_hdf5 | ||
setenv LDT_MODESMF $def_lis_modesmf | ||
setenv LDT_LIBESMF $def_lis_libesmf | ||
setenv LDT_GDAL $def_lvt_gdal | ||
setenv LDT_FORTRANGIS $def_lvt_fortrangis | ||
setenv LDT_LIBGEOTIFF $def_ldt_libgeotiff | ||
|
||
|
||
setenv LVT_ARCH linux_gfortran | ||
setenv LVT_FC mpif90 | ||
setenv LVT_CC mpicc | ||
setenv LVT_JPEG $def_lis_jpeg | ||
setenv LVT_OPENJPEG $def_lis_openjpeg | ||
setenv LVT_ECCODES $def_lis_eccodes | ||
setenv LVT_NETCDF $def_lis_netcdf | ||
setenv LVT_HDF4 $def_lis_hdf4 | ||
setenv LVT_HDFEOS $def_lis_hdfeos | ||
setenv LVT_HDF5 $def_lis_hdf5 | ||
setenv LVT_MODESMF $def_lis_modesmf | ||
setenv LVT_LIBESMF $def_lis_libesmf | ||
setenv LVT_GDAL $def_lvt_gdal | ||
setenv LVT_FORTRANGIS $def_lvt_fortrangis | ||
|
||
|
||
prepend-path LD_LIBRARY_PATH "$def_lis_jpeg/lib" | ||
prepend-path LD_LIBRARY_PATH "$def_lis_openjpeg/lib" | ||
prepend-path LD_LIBRARY_PATH "$def_ldt_libgeotiff/lib" | ||
prepend-path LD_LIBRARY_PATH "$def_lvt_proj/lib" | ||
prepend-path LD_LIBRARY_PATH "$def_lvt_gdal/lib" | ||
prepend-path LD_LIBRARY_PATH "$def_lis_hdf4/lib" | ||
prepend-path LD_LIBRARY_PATH "$def_lis_hdf5/lib" | ||
prepend-path LD_LIBRARY_PATH "$def_lis_libesmf" | ||
prepend-path LD_LIBRARY_PATH "$def_lis_netcdf/lib" | ||
prepend-path LD_LIBRARY_PATH "$def_lis_eccodes/lib" | ||
prepend-path LD_LIBRARY_PATH "$def_lis_petsc/lib" | ||
prepend-path PATH "$def_lis_netcdf/bin:$def_lis_eccodes/bin" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters