run_C6.pbs 515 Bytes
Newer Older
Fang Yuedong's avatar
Fang Yuedong committed
1
2
#!/bin/bash

3
4
#SBATCH -J CSSTSim
#SBATCH -N 1
5
#SBATCH --ntasks-per-node=6
6
#SBATCH -p debug
7
#SBATCH --mem=60G
Fang Yuedong's avatar
Fang Yuedong committed
8

9
module load mpi/hpcx/2.4.1/gcc-7.3.1
Fang Yuedong's avatar
Fang Yuedong committed
10
11
date

12
13
#限定单节点任务数
srun hostname -s | sort -n | awk -F"-" '{print $2}' | uniq > pnodes
Fang Yuedong's avatar
Fang Yuedong committed
14

15
mpirun -mca pml ucx -x  UCX_NET_DEVICES=mlx5_0:1 -machinefile pnodes -np 6 --map-by node python3 /public/home/fangyuedong/project/csst_msc_sim/run_sim.py  --config_file config_overall.yaml --catalog C6_50sqdeg_ns -c /public/home/fangyuedong/project/csst_msc_sim/config