when I run *_wrapper using qsub

Submitted by lwj on Mon, 07/19/2021 - 23:45
Forum: Users | General

Dear all,

 

My system is SGE and compiled with openmpi-2.1.5.

I should use qsub  system to run model.

To run the model with *_wrapper, automatically, I think I should revise "/home/lwj/jobs/MODL/HWRF/HWRF_v3.9a/hwrfrun_ck/ush/produtil/mpi_impl/mpiexec.py"

But I have no idea. Please tell me advise.

Please refer to below shell when I use the model, manually.

----------------------------------------------------------------------------------------------

#!/bin/bash
#$ -q all.q
#$ -pe mpi_36 36
#$ -N L1_05T12
#$ -S /bin/bash
#$ -cwd
cd $SGE_O_WORKDIR

ulimit -s unlimited
ulimit -c unlimited
module load intel18/icc18 intel18/mkl18 intel18/openmpi-2.1.5 intel18/netcdf-4.4.4 intel18/pnetcdf-1.10.0
mpirun -np $NSLOTS -machinefile $TMPDIR/machines ungrib.exe > ungrib.out

--------------------------------------------------------------------------

Thanks in advance.

 

Best,

Woojeong
 

Hi Woojeong,

We have an example script and commands to run the HWRF wrappers on one of our machines. It is a PBS script and should be similar to what you are trying to use. However, I would strongly advise you to look into the documentation or ask your system admin to advice you. Please let me know if you have any issues.

Thanks

Biswas