2015-10-11 03:14:55 +00:00
|
|
|
#!/bin/sh -login
|
|
|
|
#PBS -l mem=128GB
|
|
|
|
#PBS -l nodes=4:ppn=16:research
|
2016-05-12 23:44:45 +00:00
|
|
|
#PBS -l walltime=169:00:00
|
|
|
|
#PBS -N ngc5548_cldn23
|
2015-10-11 03:14:55 +00:00
|
|
|
#PBS -j oe
|
|
|
|
|
|
|
|
|
|
|
|
RUN_FILE="mpi_grid"
|
2017-06-02 07:38:07 +00:00
|
|
|
RUN_DIR="cloudy/runs/c17/mehdipour/grids/4thdex/cldn_23.00"
|
2015-10-11 03:14:55 +00:00
|
|
|
|
|
|
|
num_proc=$(cat ${PBS_NODEFILE} | wc -l)
|
|
|
|
|
|
|
|
module load openmpi/gnu/1.7.3
|
|
|
|
|
2016-05-12 23:49:43 +00:00
|
|
|
# replace ~/cloudy-agn/bin/cloudy_mpi with path to cloudy MPI executable file
|
2015-10-11 03:14:55 +00:00
|
|
|
cd ~/${RUN_DIR}
|
2017-06-02 07:24:59 +00:00
|
|
|
time mpirun -machinefile ${PBS_NODEFILE} -np ${num_proc} ~/cloudy/bin/cloudy_mpi -r ${RUN_FILE}
|