# 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 # ## anaconda must be loaded before Intel OneAPI # ## so that we get the Intel mpirun, not the one from anaconda # module load anaconda/2024.10 # 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 # ## Intel compiler must be loaded last to avoid that # ## gcc & friends prepend itself in INCLUDE paths # module load intel/oneAPI/2025.0.0 #setenv MALLOC_CHECK_ 0 #setenv MPI_COREDUMP_DEBUGGER `which idb` 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 -Wl,-rpath=$UDUNITS_ROOT/lib -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 icx setenv FC ifx alias gmake gmake -j 4 #setenv SCALASCA_DIR /home/petri #setenv mpirunCommand "mpirun -np" echo '==============' echo 'Sorry, compiling with ifx currently produces erroneous code' echo 'Please do' echo ' module load intel/oneAPI/2023.2.0' echo 'to switch back to using ifort' echo '==============' kill $$ exit 42