Skip to content

Commit

Permalink
start on slurm script for frontera
Browse files Browse the repository at this point in the history
  • Loading branch information
meihuisu committed Mar 20, 2023
1 parent 9b206ca commit 2ad442a
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions examples/mpi/frontera/basin/cvmsi_z1.0.complete.slurm
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
#!/bin/bash
#SBATCH -J cvmsi_z1.0.complete
#SBATCH -o cvmsi_z1.0.complete.out
#SBATCH -e cvmsi_z1.0.complete.err
#SBATCH -p small
#SBATCH -N 2
#SBATCH -n 4
#SBATCH -t 00:30:00
#SBATCH [email protected]

export TEST_TOP_PATH=/home1/07508/mei/scratch1/TARGET_UCVM/ucvm/examples/mpi/frontera/basin

###############################################################################

cp ${UCVM_INSTALL_PATH}/bin/basin_query_mpi_complete .
cp ${UCVM_INSTALL_PATH}/conf/ucvm.conf .
cp ${UCVM_INSTALL_PATH}/conf/ucvm_env.sh .

source ./ucvm_env.sh

TEST=cvmsi_z1.0.complete

ibrun -v --mpi=pmi2 ./basin_query_mpi_complete -b ${TEST_TOP_PATH}/RESULT/${TEST}.first,${TEST_TOP_PATH}/RESULT/${TEST}.firstOrSecond,${TEST_TOP_PATH}/RESULT/${TEST}.last,${TEST_TOP_PATH}/RESULT/${TEST}.secondOnly,${TEST_TOP_PATH}/RESULT/${TEST}.threeLast -o ${TEST_TOP_PATH}/RESULT/${EST}.result,${TEST_TOP_PATH}/RESULT/${TEST}.json -f ./ucvm.conf -m cvmsi -i 10 -v 1000 -l 33.25,-119.38 -s 0.005 -x 578 -y 366

ret=$?

echo "Slurm Jobs done" `date`
exit $ret

0 comments on commit 2ad442a

Please sign in to comment.