Loading oper/launcher +12 −14 Original line number Diff line number Diff line Loading @@ -20,7 +20,7 @@ exe='tutorial_oper_S5p.x' case `hostname` in #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # TNO / HPC3: # TNO / HPC4: app-hpc* ) #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Loading Loading @@ -64,20 +64,18 @@ case `hostname` in ;; #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # MET Norway / Nebula: nebula.* ) # MET Norway / Fahrenheit: fahrenheit* ) #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # module commands: module --force purge module load "mpprun/4.0" module load "nsc/.1.0" module load "buildenv-intel/2018a-eb" module load "netCDF/4.4.1.1-HDF5-1.8.19-nsc1-intel-2018a-eb" #module load "Python/3.7.0-anaconda-5.3.0-extras-nsc1" module purge module load "buildenv-intel/2023.1.0-hpc1" module load "netCDF-HDF5/4.9.2-1.12.2-hpc1" module load "makedepf90/2.8.8" # machine specific settings: MACHINE="metno-nebula" MACHINE="metno-fahrenheit" ;; Loading @@ -102,7 +100,7 @@ esac cd src # remove old object files etc: make clean #make clean # replace include file if necessary: if ( grep '#define _MPI' 'cso.inc' > /dev/null ) ; then Loading @@ -112,8 +110,8 @@ if ( grep '#define _MPI' 'cso.inc' > /dev/null ) ; then EOF fi ## update dependencies, this requires 'makedepf90' #make deps # update dependencies, this requires 'makedepf90' make deps # make executable: make ${exe} MACHINE=${MACHINE} Loading @@ -131,7 +129,7 @@ echo "" echo "run ..." # cleanup: make clean #make clean # run: ./src/${exe} Loading oper/launcher-mpi +44 −23 Original line number Diff line number Diff line Loading @@ -24,20 +24,16 @@ NPE=4 case `hostname` in #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # TNO / HPC3: # TNO / HPC4: app-hpc* ) #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # module commands: module purge module load "slurm/18.08.8" module load "gcc/8.2.0" module load "gcc-suite/8.2.0" module load "openmpi/4.0.5" module load "curl/default" module load "openssl/default" module load "netcdf-c/4.7.4" module load "netcdf-fortran/4.5.3" module load "gcc-suite/9.5.0" module load "openmpi/4.1.3" module load "netcdf-c/4.9.2" module load "netcdf-fortran/4.6.1" module load "makedepf90" # machine specific settings: Loading @@ -46,20 +42,45 @@ case `hostname` in ;; #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # MET Norway / Nebula: nebula.* ) # MET Norway / PPI: ppi-* ) #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # compiler version and key used in module names: export COMPILER_VERSION="intelPE2018" ; compkey="intel2018" # modules do not export installation paths ... #~ HDF5 libraray: export HDF5_VERSION="1.10.5-${compkey}" export HDF5_HOME="/modules/centos7/hdf5/${HDF5_VERSION}" #~ NetCDF libraray: export NETCDF_VERSION="4.7.0-${compkey}" export NETCDF_HOME="/modules/centos7/netcdf/${NETCDF_VERSION}" # module commands: module --force purge module load "mpprun/4.0" module load "nsc/.1.0" module load "buildenv-intel/2018a-eb" module load "netCDF/4.4.1.1-HDF5-1.8.19-nsc1-intel-2018a-eb" #module load "Python/3.7.0-anaconda-5.3.0-extras-nsc1" module load "compiler/${COMPILER_VERSION}" module load "hdf5/${HDF5_VERSION}" module load "netcdf/${NETCDF_VERSION}" module load "makedepf90/default" # machine specific settings: MACHINE="metno-ppi" ;; #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # MET Norway / Fahrenheit: fahrenheit* ) #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # module commands: module purge module load "buildenv-intel/2023.1.0-hpc1" module load "netCDF-HDF5/4.9.2-1.12.2-hpc1" module load "makedepf90/2.8.8" # machine specific settings: MACHINE="metno-nebula" MACHINE="metno-fahrenheit" ;; Loading Loading @@ -95,8 +116,8 @@ if ! ( grep '#define _MPI' 'cso.inc' > /dev/null ) ; then EOF fi ## update dependencies: #make deps # update dependencies, this requires 'makedepf90' make deps # make executable: make ${exe} MACHINE=${MACHINE} MPI=yes Loading @@ -122,7 +143,7 @@ jbfile="${jbname}.jb" case `hostname` in #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # TNO / HPC3: # TNO / HPC4: app-hpc* ) #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Loading Loading @@ -161,8 +182,8 @@ EOF ;; #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # MET Norway / Nebula: nebula.* ) # MET Norway / Fahrenheit: fahrenheit* ) #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # fill: Loading oper/src/Makefile_config_metno-nebula→oper/src/Makefile_config_metno-fahrenheit +6 −12 Original line number Diff line number Diff line Loading @@ -15,7 +15,7 @@ else endif # default flags, similar to what is used in EMEP: FFLAGS_DEFAULT = -extend-source -fpp -recursive -r8 -convert big_endian -shared-intel -assume noold_maxminloc -ftz FFLAGS_DEFAULT = -extend-source -recursive -r8 # optimization flags: FFLAGS_OPTIM = -O0 -g -traceback -check all -check noarg_temp_created -debug-parameters all -ftrapuv -fpe0 Loading @@ -25,16 +25,10 @@ FFLAGS_OPTIM = -O0 -g -traceback -check all -check noarg_temp_created -debug-p FFLAGS = $(FFLAGS_DEFAULT) $(FFLAGS_OPTIM) LDFLAGS = # library: NETCDF_FORTRAN_HOME = ${EBROOTNETCDF} NETCDF_FORTRAN_INCS = -I${NETCDF_FORTRAN_HOME}/include NETCDF_FORTRAN_LIBS = -L${NETCDF_FORTRAN_HOME}/lib -lnetcdff -Wl,-rpath -Wl,${NETCDF_FORTRAN_HOME}/lib # library: NETCDF_C_HOME = ${EBROOTNETCDF} NETCDF_C_INCS = NETCDF_C_LIBS = -L${NETCDF_C_HOME}/lib -lnetcdf -Wl,-rpath -Wl,${NETCDF_C_HOME}/lib # single source for NETCDF libs: NETCDF_INCS = -I${NETCDF_DIR}/include NETCDF_LIBS = -L${NETCDF_DIR}/lib -lnetcdf -lnetcdff -Wl,-rpath -Wl,${NETCDF_DIR}/lib # collect: INCS = $(NETCDF_FORTRAN_INCS) $(NETCDF_C_INCS) LIBS = $(NETCDF_FORTRAN_LIBS) $(NETCDF_C_LIBS) INCS = $(NETCDF_INCS) LIBS = $(NETCDF_LIBS) oper/src/Makefile_config_tno-hpc3→oper/src/Makefile_config_tno-hpc4 +0 −0 File moved. View file Loading
oper/launcher +12 −14 Original line number Diff line number Diff line Loading @@ -20,7 +20,7 @@ exe='tutorial_oper_S5p.x' case `hostname` in #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # TNO / HPC3: # TNO / HPC4: app-hpc* ) #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Loading Loading @@ -64,20 +64,18 @@ case `hostname` in ;; #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # MET Norway / Nebula: nebula.* ) # MET Norway / Fahrenheit: fahrenheit* ) #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # module commands: module --force purge module load "mpprun/4.0" module load "nsc/.1.0" module load "buildenv-intel/2018a-eb" module load "netCDF/4.4.1.1-HDF5-1.8.19-nsc1-intel-2018a-eb" #module load "Python/3.7.0-anaconda-5.3.0-extras-nsc1" module purge module load "buildenv-intel/2023.1.0-hpc1" module load "netCDF-HDF5/4.9.2-1.12.2-hpc1" module load "makedepf90/2.8.8" # machine specific settings: MACHINE="metno-nebula" MACHINE="metno-fahrenheit" ;; Loading @@ -102,7 +100,7 @@ esac cd src # remove old object files etc: make clean #make clean # replace include file if necessary: if ( grep '#define _MPI' 'cso.inc' > /dev/null ) ; then Loading @@ -112,8 +110,8 @@ if ( grep '#define _MPI' 'cso.inc' > /dev/null ) ; then EOF fi ## update dependencies, this requires 'makedepf90' #make deps # update dependencies, this requires 'makedepf90' make deps # make executable: make ${exe} MACHINE=${MACHINE} Loading @@ -131,7 +129,7 @@ echo "" echo "run ..." # cleanup: make clean #make clean # run: ./src/${exe} Loading
oper/launcher-mpi +44 −23 Original line number Diff line number Diff line Loading @@ -24,20 +24,16 @@ NPE=4 case `hostname` in #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # TNO / HPC3: # TNO / HPC4: app-hpc* ) #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # module commands: module purge module load "slurm/18.08.8" module load "gcc/8.2.0" module load "gcc-suite/8.2.0" module load "openmpi/4.0.5" module load "curl/default" module load "openssl/default" module load "netcdf-c/4.7.4" module load "netcdf-fortran/4.5.3" module load "gcc-suite/9.5.0" module load "openmpi/4.1.3" module load "netcdf-c/4.9.2" module load "netcdf-fortran/4.6.1" module load "makedepf90" # machine specific settings: Loading @@ -46,20 +42,45 @@ case `hostname` in ;; #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # MET Norway / Nebula: nebula.* ) # MET Norway / PPI: ppi-* ) #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # compiler version and key used in module names: export COMPILER_VERSION="intelPE2018" ; compkey="intel2018" # modules do not export installation paths ... #~ HDF5 libraray: export HDF5_VERSION="1.10.5-${compkey}" export HDF5_HOME="/modules/centos7/hdf5/${HDF5_VERSION}" #~ NetCDF libraray: export NETCDF_VERSION="4.7.0-${compkey}" export NETCDF_HOME="/modules/centos7/netcdf/${NETCDF_VERSION}" # module commands: module --force purge module load "mpprun/4.0" module load "nsc/.1.0" module load "buildenv-intel/2018a-eb" module load "netCDF/4.4.1.1-HDF5-1.8.19-nsc1-intel-2018a-eb" #module load "Python/3.7.0-anaconda-5.3.0-extras-nsc1" module load "compiler/${COMPILER_VERSION}" module load "hdf5/${HDF5_VERSION}" module load "netcdf/${NETCDF_VERSION}" module load "makedepf90/default" # machine specific settings: MACHINE="metno-ppi" ;; #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # MET Norway / Fahrenheit: fahrenheit* ) #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # module commands: module purge module load "buildenv-intel/2023.1.0-hpc1" module load "netCDF-HDF5/4.9.2-1.12.2-hpc1" module load "makedepf90/2.8.8" # machine specific settings: MACHINE="metno-nebula" MACHINE="metno-fahrenheit" ;; Loading Loading @@ -95,8 +116,8 @@ if ! ( grep '#define _MPI' 'cso.inc' > /dev/null ) ; then EOF fi ## update dependencies: #make deps # update dependencies, this requires 'makedepf90' make deps # make executable: make ${exe} MACHINE=${MACHINE} MPI=yes Loading @@ -122,7 +143,7 @@ jbfile="${jbname}.jb" case `hostname` in #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # TNO / HPC3: # TNO / HPC4: app-hpc* ) #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Loading Loading @@ -161,8 +182,8 @@ EOF ;; #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # MET Norway / Nebula: nebula.* ) # MET Norway / Fahrenheit: fahrenheit* ) #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # fill: Loading
oper/src/Makefile_config_metno-nebula→oper/src/Makefile_config_metno-fahrenheit +6 −12 Original line number Diff line number Diff line Loading @@ -15,7 +15,7 @@ else endif # default flags, similar to what is used in EMEP: FFLAGS_DEFAULT = -extend-source -fpp -recursive -r8 -convert big_endian -shared-intel -assume noold_maxminloc -ftz FFLAGS_DEFAULT = -extend-source -recursive -r8 # optimization flags: FFLAGS_OPTIM = -O0 -g -traceback -check all -check noarg_temp_created -debug-parameters all -ftrapuv -fpe0 Loading @@ -25,16 +25,10 @@ FFLAGS_OPTIM = -O0 -g -traceback -check all -check noarg_temp_created -debug-p FFLAGS = $(FFLAGS_DEFAULT) $(FFLAGS_OPTIM) LDFLAGS = # library: NETCDF_FORTRAN_HOME = ${EBROOTNETCDF} NETCDF_FORTRAN_INCS = -I${NETCDF_FORTRAN_HOME}/include NETCDF_FORTRAN_LIBS = -L${NETCDF_FORTRAN_HOME}/lib -lnetcdff -Wl,-rpath -Wl,${NETCDF_FORTRAN_HOME}/lib # library: NETCDF_C_HOME = ${EBROOTNETCDF} NETCDF_C_INCS = NETCDF_C_LIBS = -L${NETCDF_C_HOME}/lib -lnetcdf -Wl,-rpath -Wl,${NETCDF_C_HOME}/lib # single source for NETCDF libs: NETCDF_INCS = -I${NETCDF_DIR}/include NETCDF_LIBS = -L${NETCDF_DIR}/lib -lnetcdf -lnetcdff -Wl,-rpath -Wl,${NETCDF_DIR}/lib # collect: INCS = $(NETCDF_FORTRAN_INCS) $(NETCDF_C_INCS) LIBS = $(NETCDF_FORTRAN_LIBS) $(NETCDF_C_LIBS) INCS = $(NETCDF_INCS) LIBS = $(NETCDF_LIBS)