Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Liu Dezi
csst_msc_sim
Commits
6d5e6f7a
Commit
6d5e6f7a
authored
Apr 25, 2024
by
Fang Yuedong
Browse files
update submit script for Pukou machine
parent
53592d2e
Changes
2
Hide whitespace changes
Inline
Side-by-side
config/config_overall.yaml
View file @
6d5e6f7a
...
...
@@ -11,7 +11,7 @@
# can add some of the command-line arguments here as well;
# ok to pass either way or both, as long as they are consistent
work_dir
:
"
/public/home/fangyuedong/project/workplace/"
run_name
:
"
QSO_50sqdeg
_test"
run_name
:
"
magnification
_test"
# Project cycle and run counter are used to name the outputs
project_cycle
:
9
...
...
run_C6.pbs
View file @
6d5e6f7a
#!/bin/bash
#PBS -N C6_TEST
#PBS -l walltime=70:00:00
#PBS -j oe
##PBS -l nodes=wcl-1:ppn=16+wcl-2:ppn=16
#PBS -q batch
#PBS -u fangyuedong
cd
$PBS_O_WORKDIR
#SBATCH -J CSSTSim
#SBATCH -N 1
#SBATCH --ntasks-per-node=40
#SBATCH -p debug
#SBATCH --mem=240G
NP
=
384
hostfile
=
wcl-1,wcl-2,wcl-3,wcl-4,wcl-5,wcl-6
module load mpi/hpcx/2.4.1/gcc-7.3.1
date
mpirun
--oversubscribe
-H
$hostfile
-np
$NP
python /share/home/fangyuedong/new_sim/csst-simulation/run_sim.py
\
--config_file
config_C6.yaml
\
--catalog
C6_Catalog
\
-c
/share/home/fangyuedong/new_sim/csst-simulation/config
# --config_file config_50sqdeg.yaml \
# --catalog C6_50sqdeg \
# -c /share/home/fangyuedong/new_sim/csst-simulation/config
#限定单节点任务数
srun
hostname
-s
|
sort
-n
|
awk
-F
"-"
'{print $2}'
|
uniq
>
pnodes
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
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment