# modules must be loaded by the user in the invoking shell already! #source /opt/modules/default/init/tcsh module purge module use /p/system/modulefiles/compiler \ /p/system/modulefiles/gpu \ /p/system/modulefiles/libraries \ /p/system/modulefiles/parallel \ /p/system/modulefiles/tools module load intel/oneAPI/2023.2.0 # Since 2024 there is no icc any more. #module load intel/oneAPI/2024.0.0 module load udunits/2.2.28 module load json-c/0.17 module load openssl/3.0.12 module load curl/8.4.0 module load expat/2.5.0 #setenv MALLOC_CHECK_ 0 #setenv MPI_COREDUMP_DEBUGGER `which idb` #setenv NETCDFINCLUDE "-I$NETCDF_FORTRANROOT/include -I$NETCDF_CXXROOT/include -I$NETCDF_CROOT/include" #setenv NETCDFLIBPATH "-L$NETCDF_CXXROOT/lib -L$NETCDF_FORTRANROOT/lib64 -L$NETCDF_CROOT/lib64 -lnetcdf_c++ -lnetcdff -lnetcdf -L$HDF5ROOT/lib -lhdf5 -lhdf5_hl -L$UDUNITSROOT/lib -ludunits2 -lstdc++" #setenv NETCDFINCLUDE -I/home/petri/netcdf-4.2.1.1-intel15/include #setenv NETCDFLIBPATH "-L/home/petri/netcdf-4.2.1.1-intel15/lib -lnetcdf_c++ -lnetcdff -lnetcdf -L/home/petri/hdf5-1.8.9-intel15/lib -lhdf5_hl -lhdf5 -lz -L$UDUNITSROOT/lib -ludunits2 -lstdc++ -L$CURLROOT/lib -lcurl" # Use system-provided curl to avoid exaggerated dependencies. # Problem: curl-devel is installed only on the vis-servers, not on login nodes. #setenv NETCDFLIBPATH "-L/home/petri/netcdf-4.2.1.1-intel15/lib -lnetcdf_c++ -lnetcdff -lnetcdf -L/home/petri/hdf5-1.8.9-intel15/lib -lhdf5_hl -lhdf5 -lz -L$UDUNITSROOT/lib -ludunits2 -lstdc++ -lcurl" setenv NETCDFINCLUDE -I/home/petri/netcdf-4.7.4-intel15/include setenv NETCDFLIBPATH "-L/home/petri/netcdf-4.7.4-intel15/lib -lnetcdf_c++ -lnetcdff -lnetcdf -L/home/petri/hdf5-1.10.6-intel15/lib -lhdf5_hl -lhdf5 -lz -L$UDUNITS_ROOT/lib -ludunits2 -lstdc++" # libtorch is (only) needed to couple with machine learning module #setenv LIBTORCHROOT "/p/tmp/petri/libtorch" setenv LIBTORCHROOT "/p/tmp/hess/poem/libtorch" setenv LIBTORCHINCLUDE "-I$LIBTORCHROOT/include" setenv LIBTORCHLIBS "-L$LIBTORCHROOT/lib -Wl,--rpath=$LIBTORCHROOT/lib -ltorch -lc10 -lkineto -ltorch_cpu -lc10 -lpthread -ltorch" setenv CC icc alias gmake gmake -j 4 #setenv SCALASCA_DIR /home/petri #setenv mpirunCommand "mpirun -np"