From 15874ee3a2eb4999f32e0c6b61cfa3372093a78d Mon Sep 17 00:00:00 2001 From: Matthew Masarik Date: Wed, 11 Oct 2023 15:50:33 +0000 Subject: [PATCH] matrix job card: pdlib block explicit --- regtests/matrix_pdlib_blkexp | 52 ++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 regtests/matrix_pdlib_blkexp diff --git a/regtests/matrix_pdlib_blkexp b/regtests/matrix_pdlib_blkexp new file mode 100644 index 000000000..33c5bc58c --- /dev/null +++ b/regtests/matrix_pdlib_blkexp @@ -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 ' '