diff --git a/README.md b/README.md index 9b3072ed1db027cbb6f63889ed25961f97bc6da1..b278393661eb6c805d1e24ff4bec30c72d8c8c53 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ Module load scripts on HPC Clusters for Fortran Projects at CHS. All these scripts will load: -- the respective fortran compiler and set `FC` env-var (optional MPI support) +- the respective compilers and set `FC`, `F77`, `CC` and `CXX` env-var (optional MPI support) - netCDF-Fortran - CMake - the MPR Python Environment (_except chs-conda environment_) @@ -37,6 +37,11 @@ All these scripts will load: source eve.gfortran102 # or source eve.gfortran102MPI ``` +- GNU 12.2 compiler (`foss/2022b` Toolchain): + ```bash + source eve.gfortran122 # or + source eve.gfortran122MPI + ``` - Intel 18 compiler (`iomkl/2018b` Toolchain): ```bash source eve.intel18 # or diff --git a/eve.chs-conda01 b/eve.chs-conda01 index 4e8d7af29fc67c69ded65c19659c1a41ecc7334f..a841714dce27aa9807db97a6a00bfb761ee5504c 100644 --- a/eve.chs-conda01 +++ b/eve.chs-conda01 @@ -2,3 +2,6 @@ module purge module use /global/apps/modulefiles module load chs-fortran-conda/0.1.0 export FC=gfortran +export F77=gfortran +export CC=gcc +export CXX=g++ diff --git a/eve.gfortran102 b/eve.gfortran102 index e8d82ee2f1cba8cef0c84ab6c6d0d14ca9966b88..36dbb9dcdaf71c1b7634806f802d1e9cdc68e7de 100644 --- a/eve.gfortran102 +++ b/eve.gfortran102 @@ -6,3 +6,6 @@ module load netCDF-Fortran module load CMake module load pFUnit/4.2.2_foss2020b export FC=gfortran +export F77=gfortran +export CC=gcc +export CXX=g++ diff --git a/eve.gfortran102MPI b/eve.gfortran102MPI index 56076c98c01fe4020f87ae21bf3cbb4fa9359129..f7cbc6af66f5d0919aab3ff1c91a515837ac4d71 100644 --- a/eve.gfortran102MPI +++ b/eve.gfortran102MPI @@ -6,3 +6,6 @@ module load netCDF-Fortran module load CMake module load pFUnit/4.2.2_foss2020b export FC=mpifort +export F77=mpifort +export CC=mpicc +export CXX=mpic++ diff --git a/eve.gfortran122 b/eve.gfortran122 new file mode 100644 index 0000000000000000000000000000000000000000..04bdf1b6541324547c92b8021c01059dd697953b --- /dev/null +++ b/eve.gfortran122 @@ -0,0 +1,11 @@ +module purge +module use /global/apps/modulefiles +module load python_env_mpr +module load foss/2022b +module load netCDF-Fortran +module load CMake +module load pFUnit/4.7.0_foss2022b +export FC=gfortran +export F77=gfortran +export CC=gcc +export CXX=g++ diff --git a/eve.gfortran122MPI b/eve.gfortran122MPI new file mode 100644 index 0000000000000000000000000000000000000000..d34c4481e1dfb00bcb01d47252933d8e8036f373 --- /dev/null +++ b/eve.gfortran122MPI @@ -0,0 +1,11 @@ +module purge +module use /global/apps/modulefiles +module load python_env_mpr +module load foss/2022b +module load netCDF-Fortran +module load CMake +module load pFUnit/4.7.0_foss2022b +export FC=mpifort +export F77=mpifort +export CC=mpicc +export CXX=mpic++ diff --git a/eve.gfortran64 b/eve.gfortran64 index bd25f8d968132ebf6132c33c67535314f8c0f1fc..a5872c889bb1956c2c9f137c406e468529609c48 100644 --- a/eve.gfortran64 +++ b/eve.gfortran64 @@ -5,3 +5,6 @@ module load foss/2018a module load netCDF-Fortran module load CMake export FC=gfortran +export F77=gfortran +export CC=gcc +export CXX=g++ diff --git a/eve.gfortran64MPI b/eve.gfortran64MPI index 3e9860aa3201ae4e2cdc056341d305be5c636b63..02d91f87d3d5a2d3832a8a6405259f76adac5f3e 100644 --- a/eve.gfortran64MPI +++ b/eve.gfortran64MPI @@ -5,3 +5,6 @@ module load foss/2018a module load netCDF-Fortran module load CMake export FC=mpifort +export F77=mpifort +export CC=mpicc +export CXX=mpic++ diff --git a/eve.gfortran73 b/eve.gfortran73 index 80e396ae0ac34d1387dbfa9d51c2137bade592cd..a6570b6fa645063785e2aee41c8b09f8207ee92e 100644 --- a/eve.gfortran73 +++ b/eve.gfortran73 @@ -6,3 +6,6 @@ module load netCDF-Fortran module load CMake module load pFUnit/4.2.1_foss2018b export FC=gfortran +export F77=gfortran +export CC=gcc +export CXX=g++ diff --git a/eve.gfortran73MPI b/eve.gfortran73MPI index f1d42afb25b10331afb7e1e90cd9657c5d66e3b8..72a1f165cf54ffc039320ccae51650504907ba34 100644 --- a/eve.gfortran73MPI +++ b/eve.gfortran73MPI @@ -6,3 +6,6 @@ module load netCDF-Fortran module load CMake module load pFUnit/4.2.1_foss2018b export FC=mpifort +export F77=mpifort +export CC=mpicc +export CXX=mpic++ diff --git a/eve.gfortran83 b/eve.gfortran83 index 38b98f38349ec1c99d2ca7495e1c32309b9aa4ff..55c61e4569a6b9773283570c257472001dc09f58 100644 --- a/eve.gfortran83 +++ b/eve.gfortran83 @@ -6,3 +6,6 @@ module load netCDF-Fortran module load CMake module load pFUnit/4.2.2_foss2019b export FC=gfortran +export F77=gfortran +export CC=gcc +export CXX=g++ diff --git a/eve.gfortran83MPI b/eve.gfortran83MPI index d8c65b62b08f11432f1612acb82e6b45d0145b9a..3fac9082153f0ae75dd7273b55dc82fbadcb68d9 100644 --- a/eve.gfortran83MPI +++ b/eve.gfortran83MPI @@ -6,3 +6,6 @@ module load netCDF-Fortran module load CMake module load pFUnit/4.2.2_foss2019b export FC=mpifort +export F77=mpifort +export CC=mpicc +export CXX=mpic++ diff --git a/eve.intel18 b/eve.intel18 index ca9d5541d62de8f9134bb25bfa4a95bfd8fc9cd1..34ea17c45192c4d648525781616992affa76ee0e 100644 --- a/eve.intel18 +++ b/eve.intel18 @@ -6,3 +6,6 @@ module load netCDF-Fortran module load CMake module load pFUnit/4.2.2_ifort18.0.3 export FC=ifort +export F77=ifort +export CC=icc +export CXX=icpc diff --git a/eve.intel18MPI b/eve.intel18MPI index 72b9005557b9b966b2f8ee3fd37b478f8aab93af..b898d53f9adf996d052efd9f555d9c83ebeb8e32 100644 --- a/eve.intel18MPI +++ b/eve.intel18MPI @@ -6,3 +6,6 @@ module load netCDF-Fortran module load CMake module load pFUnit/4.2.2_ifort18.0.3 export FC=mpifort +export F77=mpifort +export CC=mpicc +export CXX=mpic++ diff --git a/eve.intel19 b/eve.intel19 index 62f8d308c5cf40cc4188560ec69019329fd30192..3307e311dba410082e863c5061cf1765a679ba2c 100644 --- a/eve.intel19 +++ b/eve.intel19 @@ -6,3 +6,6 @@ module load netCDF-Fortran module load CMake module load pFUnit/4.2.2_ifort19.1.1.217 export FC=ifort +export F77=ifort +export CC=icc +export CXX=icpc diff --git a/eve.intel19MPI b/eve.intel19MPI index 1b0c1e632f12c2bb39d6f7bbae7b9359032cbf00..8fac41f963e0f750be5cad653a008428ebeed5f1 100644 --- a/eve.intel19MPI +++ b/eve.intel19MPI @@ -6,3 +6,6 @@ module load netCDF-Fortran module load CMake module load pFUnit/4.2.2_ifort19.1.1.217 export FC=mpifort +export F77=mpifort +export CC=mpicc +export CXX=mpic++ diff --git a/eve.intel2020b b/eve.intel2020b index 873d898211946e40cae448c672737a7b8af0f9d3..40f35974f61d802c04aaaf59ff835e71deed9c96 100644 --- a/eve.intel2020b +++ b/eve.intel2020b @@ -6,3 +6,6 @@ module load netCDF-Fortran/4.5.3 module load CMake module load pFUnit/4.2.2_iomkl2020b export FC=ifort +export F77=ifort +export CC=icc +export CXX=icpc diff --git a/eve.intel2020bMPI b/eve.intel2020bMPI index 96cb3d1b6290e3f50cd2f0bcee76088bd0437785..b3b570b203c33c5d28433ba3154bbcc57f5183b2 100644 --- a/eve.intel2020bMPI +++ b/eve.intel2020bMPI @@ -6,3 +6,6 @@ module load netCDF-Fortran/4.5.3 module load CMake module load pFUnit/4.2.2_iomkl2020b export FC=mpifort +export F77=mpifort +export CC=mpicc +export CXX=mpic++ diff --git a/eve.nagfor62 b/eve.nagfor62 index 6360d7964cdd6bbf52463e8c6149ef0487469830..f358d271ce2934366b059a81f6f9276e3fb0fd54 100644 --- a/eve.nagfor62 +++ b/eve.nagfor62 @@ -1,8 +1,11 @@ module purge module use /global/apps/modulefiles module load python_env_mpr -module load NAGfor +module load NAGfor/6.2.14 module load netcdf-fortran/4.4.5-NAG-6.2.14-GCC-7.3.0-2.30-1 module load CMake module load pFUnit/4.1.3_nagfor-6.2 export FC=nagfor +export F77=nagfor +export CC=gcc +export CXX=g++