-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path#single_test.sh#
61 lines (52 loc) · 1.63 KB
/
#single_test.sh#
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
#!/bin/bash
#PJM --rsc-list "node=1"
#PJM --rsc-list "elapse=5:00"
#PJM --rsc-list "rscunit=rscunit_ft01"
#PJM --rsc-list "rscgrp=eap-small"
#PJM --mpi "proc=24"
#PJM -S
# staging
#PJM --stg-transfiles all
#PJM --mpi "use-rankdir"
# CHANGE TO YOUR OWN DIR
#PJM --stgin-basedir /home/go0020/neuron_kplus
#--PJM --stgout "rank=* %r:./prof/* /home/go0020/result/prof/%j/"
#PJM --stgin "rank=* ./stgin/* %r:./"
#PJM --stgin "rank=* ./specials/arm/special %r:./"
#PJM --stgin "rank=* ./hoc/* %r:./"
module load lang
#export PLE_MPI_PIN_CELL=core
#export PLE_MPI_PIN_ORDER=scatter
export OMP_WAIT_POLICY=ACTIVE
export OMP_NUM_THREADS=2
export PARALLEL=2
echo "OMP_NUM_THREADS ${OMP_NUM_THREADS}"
NRNIV=" /home/hp200177/u00688/neuron_kplus/specials/sparc64/special -mpi"
NRNIV=" /home/hp200177/u00688/simulation_neuron/specials/sparc64/special -mpi"
HOC_NAME="./bench_main.hoc"
NRNOPT=\
" -c MODEL=2"\
" -c NSTIM_POS=1"\
" -c NSTIM_NUM=400"\
" -c NCELLS=24"\
" -c NSYNAPSE=100"\
" -c SYNAPSE_RANGE=1"\
" -c NETWORK=2"\
" -c STOPTIME=1000"\
" -c NTHREAD=1"\
" -c MULTISPLIT=0"\
" -c SPIKE_COMPRESS=0"\
" -c CACHE_EFFICIENT=1"\
" -c SHOW_SPIKE=0"
LPG=""
#LPG="lpgparm -t 4MB -s 4MB -d 4MB -h 4MB -p 4MB"
MPIEXEC="mpiexec -mca mpi_print_stats 1"
#MPIEXEC="mpiexec -mca mpi_print_stats 2 -mca mpi_print_stats_ranks 0"
MPIEXEC="mpiexec"
PROF="fapp -C -d ./prof -L1 -Icpupa,mpi -Hevent=Statistics"
#PROF="fipp -C -Puserfunc -d profsr121242 -Sregion -Icpupa,call"
#PROF="fipp -C -d prof-bk-nrn-strong-jam-rh-eion-cp-sp4-4 -Icpupa,call"
#PROF=""
echo "${PROF} ${MPIEXEC} ${LPG} ${NRNIV} ${NRNOPT} ${HOC_NAME}"
time ${PROF} ${MPIEXEC} ${LPG} ${NRNIV} ${NRNOPT} ${HOC_NAME}
sync