mpi_example.pbs 445 Bytes
Newer Older
Fang Yuedong's avatar
Fang Yuedong committed
1
2
3
4
5
6
7
8
9
#!/bin/bash

#PBS -N SIMS
##PBS -l walltime=70:00:00

##mpdallexit
##mpdboot -n 10 -f  ./mpd.hosts

##PBS -j oe
10
#PBS -l nodes=comput108:ppn=80
Fang Yuedong's avatar
Fang Yuedong committed
11
12
13
14
#####PBS -q longq
#PBS -q batch
#PBS -u fangyuedong

Fang Yuedong's avatar
Fang Yuedong committed
15
NP=40
Fang Yuedong's avatar
Fang Yuedong committed
16
17
18
date
echo $NP

Fang Yuedong's avatar
Fang Yuedong committed
19
20
21
22
mpirun -np $NP python /share/home/fangyuedong/fgs_sim/csst-simulation/run_sim.py \
        --config_file config_example.yaml \
        --catalog Catalog_example \
        -c /share/home/fangyuedong/fgs_sim/csst-simulation/config