Skip to content

Commit

Permalink
matrix job card: pdlib block explicit
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthewMasarik-NOAA committed Oct 11, 2023
1 parent 7bbdaca commit 15874ee
Showing 1 changed file with 52 additions and 0 deletions.
52 changes: 52 additions & 0 deletions regtests/matrix_pdlib_blkexp
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
#!/bin/sh --login

#SBATCH -n 40
#SBATCH -q debug
#SBATCH -t 00:30:00
#SBATCH -A marine-cpu
#SBATCH -J w3blkexp
#SBATCH -o w3blkexp.out


NP0=40
NP1=36

cd /scratch1/NCEPDEV/climate/Matthew.Masarik/projs/reproduce_mpi/regtest_ww3_ufs1.1-unstr/ww3-pdlib-ufs1.1-unstr/regtests

module purge
module load cmake/3.20.1
module load intel/2022.1.2
module load impi/2022.1.2
module use /scratch1/NCEPDEV/nems/role.epic/hpc-stack/libs/intel-2022.1.2/modulefiles/stack
module load hpc/1.2.0
module load hpc-intel/2022.1.2
module load hpc-impi/2022.1.2
module load libpng/1.6.37
module load zlib/1.2.11
module load jasper/2.0.25
module load hdf5/1.10.6
module load netcdf/4.7.4
module load bacio/2.4.1
module load g2/3.4.5
module load w3emc/2.9.2
module load esmf/8.3.0b09
export METIS_PATH=/scratch1/NCEPDEV/climate/Matthew.Masarik/waves/opt/hpc-stack/parmetis-4.0.3/install
export SCOTCH_PATH=/scratch1/NCEPDEV/climate/Matthew.Masarik/waves/opt/hpc-stack/scotch-v7.0.3/install
export path_build_root=/scratch1/NCEPDEV/climate/Matthew.Masarik/projs/reproduce_mpi/regtest_ww3_ufs1.1-unstr/ww3-pdlib-ufs1.1-unstr/regtests/buildmatrix12
echo ' '
echo ' **********************************************'
echo ' *** WAVEWATCH III - Block Explicit Solver ***'
echo ' **********************************************'
echo ' '
[[ -d ${path_build_root} ]] && rm -rf ${path_build_root}

./bin/run_cmake_test -b slurm -o all -S -T -s MPI -s PDLIB -i input_unstr -w work_unstr_b_${NP0} -g b -f -p srun -n $NP0 ../model ww3_ufs1.1
./bin/run_cmake_test -b slurm -o all -S -T -s MPI -s PDLIB -i input_unstr -w work_unstr_b_${NP1} -g b -f -p srun -n $NP1 ../model ww3_ufs1.1
./bin/test.comp ww3_ufs1.1 work_unstr_b_${NP0} work_unstr_b_${NP1}

[[ -d ${path_build_root} ]] && rm -rf ${path_build_root}*
echo ' '
echo ' **************************************************************'
echo ' * end of WAVEWATCH III - Block Explicit Solver *'
echo ' **************************************************************'
echo ' '

0 comments on commit 15874ee

Please sign in to comment.