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

3
4
5
6
7
#SBATCH -J CSSTSim
#SBATCH -N 1
#SBATCH --ntasks-per-node=40
#SBATCH -p debug
#SBATCH --mem=240G
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 40 --map-by node python3 /public/home/fangyuedong/project/csst_msc_sim/run_sim.py  --config_file config_overall.yaml --catalog C6_50sqdeg -c /public/home/fangyuedong/project/csst_msc_sim/config