File tree Expand file tree Collapse file tree 5 files changed +49
-7946
lines changed
000_instability_simulation
002_test_long_intstab_bologna Expand file tree Collapse file tree 5 files changed +49
-7946
lines changed Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ rm * .txt
4+ rm * .err
5+ rm * .out
6+ rm * .cmd
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+
4+ NUMBER_OF_REQUESTED_CORES=8
5+ MAX_NUMBER_OF_CORE_PER_NODE=32
6+
7+ PATH_TO_EXECUTABLE=" python 001_parallel_test.py"
8+ SIMULATION_NAME=' first'
9+ QUEUE=hpc_inf
10+ # QUEUE=hpc_short
11+
12+ stderr_file=epic.txt
13+ stdout_file=opic.txt
14+
15+
16+
17+ # ###########################################
18+ # # DO NOT TOUCH FROM HERE
19+ # ###########################################
20+
21+ job=job_${NUMBER_OF_REQUESTED_CORES} .cmd
22+
23+ rm -f $job
24+ touch $job
25+ chmod 755 $job
26+ touch ${stderr_file}
27+ touch ${stdout_file}
28+ echo " #BSUB -J ${SIMULATION_NAME} " > $job # Job name
29+ echo " #BSUB -o %J.out" >> $job # Job standard output
30+ echo " #BSUB -e %J.err" >> $job # Job standard error
31+ echo " #BSUB -N" >> $job # Job report
32+ echo " #BSUB -B" >> $job # Send mail
33+ echo " #BSUB -q $QUEUE " >> $job
34+ echo " #BSUB -a openmpi" >> $job
35+ echo " #BSUB -n ${NUMBER_OF_REQUESTED_CORES} " >> $job
36+ echo " #BSUB -R span[ptile=${MAX_NUMBER_OF_CORE_PER_NODE} ]" >> $job
37+ echo " /usr/share/lsf/9.1/linux2.6-glibc2.3-x86_64/bin/mpirun.lsf env PSM_SHAREDCONTEXTS_MAX=8 ${PATH_TO_EXECUTABLE} >> ${stdout_file} 2>> ${stderr_file} " >> $job
38+
39+
40+ echo " Submit your job to the queue system with this command: "
41+ echo " bsub < $job "
42+
43+
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments