-
Notifications
You must be signed in to change notification settings - Fork 3
/
chinook4.run
52 lines (45 loc) · 1.54 KB
/
chinook4.run
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#!/bin/bash
#SBATCH -t 1:00:00
#SBATCH --ntasks=24
#SBATCH --job-name=BERING
#SBATCH --account=akwaters
#SBATCH --output=BERING.%j
#SBATCH --no-requeue
#SBATCH -p debug
###SBATCH -p t1standard
###SBATCH -t 44:00:00
cd $SLURM_SUBMIT_DIR
. /usr/share/Modules/init/bash
module purge
module load slurm/22.05.4
#module load intel/2023a
module load foss/2022a
#export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/kshedstrom/intel_23/lib
module load netCDF-Fortran/4.5.4
#module list
rm ocean.stats.gnu seaice.stats.gnu
#rm ocean.stats.intel* seaice.stats.intel
#conda activate snowy
#
# Prolog
#
echo " "
echo "++++ Chinook ++++ $PGM_NAME began: `date`"
echo "++++ Chinook ++++ $PGM_NAME hostname: `hostname`"
echo "++++ Chinook ++++ $PGM_NAME uname -a: `uname -a`"
echo " "
TBEGIN=`echo "print time();" | perl`
#rm diag_table.yaml
#diag-table-to-yaml -f diag_table
#mpirun -np $SLURM_NTASKS /import/c1/AKWATERS/kshedstrom/MOM6_22/build/intel/SYM_ice_ocean_SIS2/repro/MOM6
#mpirun -np $SLURM_NTASKS /import/c1/AKWATERS/kshedstrom/MOM6_22/build/intel/SYM_ice_ocean_SIS2/debug/MOM6
mpirun -np $SLURM_NTASKS --mca mpi_paffinity_alone 1 /import/c1/AKWATERS/kshedstrom/MOM6_22/build/gnu/SYM_ice_ocean_SIS2/repro/MOM6
#mpirun -np $SLURM_NTASKS --mca mpi_paffinity_alone 1 /import/c1/AKWATERS/kshedstrom/MOM6_22/build/gnu/SYM_ice_ocean_SIS2/debug/MOM6
#
# Epilog
#
TEND=`echo "print time();" | perl`
echo " "
echo "++++ Chinook ++++ $PGM_NAME pwd: `pwd`"
echo "++++ Chinook ++++ $PGM_NAME ended: `date`"
echo "++++ Chinook ++++ $PGM_NAME walltime: `expr $TEND - $TBEGIN` seconds"