The supercomputers have installed module tool to manage softwares and use Slurm job management system with node exclusive mode, and every node has 20 cores.
The software I have loaded are as follows:
Code: Select all
module load hdf5/intel18/1.8.20-parallel
module load intel/18.0.2
module load mpi/intel/18.0.2
module load mpi/openmpi/3.0.1-pmi-icc18
module load netcdf/intel18/4.4.1-parallel
Code: Select all
export MY_ROOT_DIR=${HOME}/roms
export MY_PROJECT_DIR=${MY_ROOT_DIR}/Projects/Upwelling
export PATH=/public1/soft/openmpi/3.0.1-pmi-icc/bin:$PATH
export USE_MY_LIBS=on
export NF_CONFIG=/public1/soft/netcdf/4.4.1-parallel-icc18/bin/nf-config
export NETCDF_INCDIR=/public1/soft/netcdf/4.4.1-parallel-icc18/include
export NETCDF_LIBDIR=/public1/soft/netcdf/4.4.1-parallel-icc18/lib
Code: Select all
LIBS := -L$(NETCDF_LIBDIR) -lnetcdff -lnetcdf
#FFLAGS += -Wl,-stack_size,0x64000000
#FFLAGS += -Wl,-stack_size,0x64000000
Code: Select all
#!/bin/bash
#SBATCH -N 2
#SBATCH -n 40
srun -n 40 oceanM ocean_upwelling.in
I want to know the cause of the error and correct it. Hope to get some advice.