-
Notifications
You must be signed in to change notification settings - Fork 93
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
218 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# ======================================================= | ||
# mpif90 - ifort | ||
# | ||
|
||
FF = mpif90 | ||
|
||
NETCDF_LIB = /APP/u22/x86/netcdf/4.9.2-icc-oneapi2023.2/lib/ | ||
NETCDF_INC = /APP/u22/x86/netcdf/4.9.2-icc-oneapi2023.2/include/ | ||
|
||
LAPACK_LIB = /APP/u22/x86/LAPACK/lapack-3.12.0-icc-oneapi2023.2_noimpi/lib/ | ||
BLAS_LIB = /APP/u22/x86/BLAS/icc-2023/lib-icc/ | ||
|
||
MOD_CMD = -module | ||
|
||
FOPTS = -qopenmp -O2 -traceback -r8 -free -check uninit -check bounds | ||
|
||
LDFLAGS = -L${NETCDF_LIB} -lnetcdff -L${LAPACK_LIB} -llapack -L${BLAS_LIB} -lblas | ||
|
||
#============================================================ | ||
# CaMa-Flood Mkinclude (for Linux, Intel fortran) | ||
|
||
RM = /bin/rm -f | ||
CP = /bin/cp | ||
#---- | ||
# Pre-Prosessing options | ||
# DMPI=-DUseMPI: activate when MPI parallelization is used | ||
# DCDF=-DUseCDF: activate when using netCDF, comment out when not needed | ||
# DATM=-DNoAtom: activate when OMP ATOMIC calculation should be avoided (bit identical simulation) | ||
#---- | ||
#DMPI=-DUseMPI | ||
DCDF=-DUseCDF | ||
#DATM=-DNoAtom | ||
CFLAGS=$(DMPI) $(DCDF) $(DATM) | ||
#---- | ||
# FCMP: main program (src/), FC: pre/post process (map/ etc/) | ||
FCMP = ifort -qopenmp | ||
FC = ifort | ||
LFLAGS = | ||
FFLAGS = -O3 -warn all -fpp -free -assume byterecl -heap-arrays -nogen-interface -lpthread -static-intel |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
batch.github.config |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
#------------------------------earthlab-------------------------------------------- | ||
##!/bin/bash | ||
# | ||
##SBATCH -J <CASENAME> | ||
##SBATCH -p <QUEUE> | ||
##SBATCH -N <NNODES> | ||
##SBATCH -n <NPROCESSES> | ||
##SBATCH --ntasks-per-node=<NTASKSPERNODE> | ||
##SBATCH --mem=<MEMORY> | ||
##SBATCH -o colm.o%j | ||
##SBATCH -e colm.e%j | ||
##SBATCH --exclusive | ||
##SBATCH -t <WALLTIME> | ||
## | ||
##module purge | ||
##module load compiler/intel/2021.3.1 | ||
##module load mpi/intelmpi/2018.4.274 | ||
##module load mathlib/netcdf/intel/4.4.1 | ||
##module load mathlib/hdf5/intel/1.8.20 | ||
## | ||
##export I_MPI_FABRICS=shm:dapl | ||
##export I_MPI_DAPL_UD=1 | ||
##export I_MPI_DAPL_UD_RDMA_MIXED=1 | ||
##export I_MPI_LARGE_SCALE_THRESHOLD=8192 | ||
##export I_MPI_DAPL_UD_ACK_SEND_POOL_SIZE=8704 | ||
##export I_MPI_DAPL_UD_ACK_RECV_POOL_SIZE=8704 | ||
##export I_MPI_DAPL_UD_RNDV_EP_NUM=2 | ||
## | ||
##export DAPL_UCM_REP_TIME=8000 # REQUEST timer, waiting for REPLY in millisecs | ||
##export DAPL_UCM_RTU_TIME=8000 # REPLY timer, waiting for RTU in millisecs | ||
##export DAPL_UCM_RETRY=10 # REQUEST and REPLY retries | ||
##export DAPL_UCM_CQ_SIZE=2000 | ||
##export DAPL_UCM_QP_SIZE=2000 | ||
## | ||
##export DAPL_UCM_DREQ_RETRY=4 #default == 1 | ||
##export DAPL_UCM_DREP_TIME=200 #default == 200ms | ||
##export DAPL_UCM_WAIT_TIME=10000 #default == 60000ms | ||
## | ||
##ulimit -s unlimited | ||
##scontrol show hostname > nd | ||
##NP=$SLURM_NPROCS | ||
|
||
|
||
#-------------------------------baiduboat------------------------------------------ | ||
#!/bin/bash | ||
|
||
#BSUB -J <CASENAME> | ||
#BSUB -q <QUEUE> | ||
#BSUB -o colm.o% | ||
#BSUB -e colm.e% | ||
#BSUB -n <NPROCESSES> | ||
#BSUB -R rusage[mem=<MEMORY>] | ||
#BSUB -R span[ptile=<NTASKSPERNODE>] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
#------------------------------earthlab-------------------------------------------- | ||
##!/bin/bash | ||
# | ||
##SBATCH -J <CASENAME> | ||
##SBATCH -p <QUEUE> | ||
##SBATCH -N <NNODES> | ||
##SBATCH -n <NPROCESSES> | ||
##SBATCH --ntasks-per-node=<NTASKSPERNODE> | ||
##SBATCH --mem=<MEMORY> | ||
##SBATCH -o colm.o%j | ||
##SBATCH -e colm.e%j | ||
##SBATCH --exclusive | ||
##SBATCH -t <WALLTIME> | ||
## | ||
##module purge | ||
##module load compiler/intel/2021.3.1 | ||
##module load mpi/intelmpi/2018.4.274 | ||
##module load mathlib/netcdf/intel/4.4.1 | ||
##module load mathlib/hdf5/intel/1.8.20 | ||
## | ||
##export I_MPI_FABRICS=shm:dapl | ||
##export I_MPI_DAPL_UD=1 | ||
##export I_MPI_DAPL_UD_RDMA_MIXED=1 | ||
##export I_MPI_LARGE_SCALE_THRESHOLD=8192 | ||
##export I_MPI_DAPL_UD_ACK_SEND_POOL_SIZE=8704 | ||
##export I_MPI_DAPL_UD_ACK_RECV_POOL_SIZE=8704 | ||
##export I_MPI_DAPL_UD_RNDV_EP_NUM=2 | ||
## | ||
##export DAPL_UCM_REP_TIME=8000 # REQUEST timer, waiting for REPLY in millisecs | ||
##export DAPL_UCM_RTU_TIME=8000 # REPLY timer, waiting for RTU in millisecs | ||
##export DAPL_UCM_RETRY=10 # REQUEST and REPLY retries | ||
##export DAPL_UCM_CQ_SIZE=2000 | ||
##export DAPL_UCM_QP_SIZE=2000 | ||
## | ||
##export DAPL_UCM_DREQ_RETRY=4 #default == 1 | ||
##export DAPL_UCM_DREP_TIME=200 #default == 200ms | ||
##export DAPL_UCM_WAIT_TIME=10000 #default == 60000ms | ||
## | ||
##ulimit -s unlimited | ||
##scontrol show hostname > nd | ||
##NP=$SLURM_NPROCS | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#------------------------------tianhexy-------------------------------------------- | ||
#!/bin/bash | ||
|
||
#SBATCH -J <CASENAME> | ||
#SBATCH -p <QUEUE> | ||
#SBATCH -N <NNODES> | ||
#SBATCH -n <NPROCESSES> | ||
#SBATCH --ntasks-per-node=<NTASKSPERNODE> | ||
#SBATCH --mem=<MEMORY> | ||
#SBATCH -o colm.o%j | ||
#SBATCH -e colm.e%j | ||
#SBATCH --exclusive | ||
#SBATCH -t <WALLTIME> | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
#------------------------------earthlab-------------------------------------------- | ||
##!/bin/bash | ||
# | ||
##SBATCH -J <CASENAME> | ||
##SBATCH -p <QUEUE> | ||
##SBATCH -N <NNODES> | ||
##SBATCH -n <NPROCESSES> | ||
##SBATCH --ntasks-per-node=<NTASKSPERNODE> | ||
##SBATCH --mem=<MEMORY> | ||
##SBATCH -o colm.o%j | ||
##SBATCH -e colm.e%j | ||
##SBATCH --exclusive | ||
##SBATCH -t <WALLTIME> | ||
## | ||
##module purge | ||
##module load compiler/intel/2021.3.1 | ||
##module load mpi/intelmpi/2018.4.274 | ||
##module load mathlib/netcdf/intel/4.4.1 | ||
##module load mathlib/hdf5/intel/1.8.20 | ||
## | ||
##export I_MPI_FABRICS=shm:dapl | ||
##export I_MPI_DAPL_UD=1 | ||
##export I_MPI_DAPL_UD_RDMA_MIXED=1 | ||
##export I_MPI_LARGE_SCALE_THRESHOLD=8192 | ||
##export I_MPI_DAPL_UD_ACK_SEND_POOL_SIZE=8704 | ||
##export I_MPI_DAPL_UD_ACK_RECV_POOL_SIZE=8704 | ||
##export I_MPI_DAPL_UD_RNDV_EP_NUM=2 | ||
## | ||
##export DAPL_UCM_REP_TIME=8000 # REQUEST timer, waiting for REPLY in millisecs | ||
##export DAPL_UCM_RTU_TIME=8000 # REPLY timer, waiting for RTU in millisecs | ||
##export DAPL_UCM_RETRY=10 # REQUEST and REPLY retries | ||
##export DAPL_UCM_CQ_SIZE=2000 | ||
##export DAPL_UCM_QP_SIZE=2000 | ||
## | ||
##export DAPL_UCM_DREQ_RETRY=4 #default == 1 | ||
##export DAPL_UCM_DREP_TIME=200 #default == 200ms | ||
##export DAPL_UCM_WAIT_TIME=10000 #default == 60000ms | ||
## | ||
##ulimit -s unlimited | ||
##scontrol show hostname > nd | ||
##NP=$SLURM_NPROCS | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters