Line | |
---|
1 | #!/bin/bash |
---|
2 | |
---|
3 | #MSUB -r test_client # Request name |
---|
4 | #MSUB -n 8 # Number of tasks to use |
---|
5 | ##MSUB -c 1 # Number of threads to use |
---|
6 | #MSUB -T 1800 # Elapsed time limit in seconds of the job (default: 1800) |
---|
7 | #MSUB -o client_output.out # Standard output. %I is the job id |
---|
8 | #MSUB -e client_error.err # Error output. %I is the job id |
---|
9 | #MSUB -A gen0826 # Project ID 2211 |
---|
10 | #MSUB -Q test # Qos |
---|
11 | #MSUB -q standard # Chosing standard node |
---|
12 | #MSUB -X |
---|
13 | |
---|
14 | CURRENT=$PWD |
---|
15 | cd $CURRENT/inputs |
---|
16 | rm -f output_?.* |
---|
17 | rm -f output.* |
---|
18 | rm -f output_* |
---|
19 | rm -f *.err |
---|
20 | rm -f *.out |
---|
21 | rm -f info_output_* |
---|
22 | rm -f *.nc |
---|
23 | rm -f appClient.conf_* |
---|
24 | |
---|
25 | ulimit -a |
---|
26 | ulimit -aH |
---|
27 | #module load ipm |
---|
28 | |
---|
29 | #totalview |
---|
30 | #ccc_mprun -d tv ../bin/test_client.exe # debug with total view |
---|
31 | #ccc_mprun ../bin/test_client.exe |
---|
32 | #totalview ccc_mprun -a -np 6 ../bin/test_client.exe # : -np 6 ../bin/xios_server.exe" |
---|
33 | |
---|
34 | #ccc_mprun amplxe-gui |
---|
35 | #ccc_mprun -f appClient.conf |
---|
36 | #ddt -start -n 7 -mpiargs "-np 6 ../bin/test_client.exe : -np 1 ../bin/xios_server.exe" |
---|
37 | ddt -start -n 6 -mpiargs "-np 2 ../bin/test_client.exe : -np 2 ../bin/xios_server1.exe : -np 2 ../bin/xios_server2.exe" |
---|
38 | |
---|
39 | #module load map |
---|
40 | #map -profile -n 1 ../bin/test_client.exe |
---|
41 | #ccc_mprun -d vtune -o collect_hotspots -t hotspots ../bin/test_client.exe |
---|
42 | |
---|
43 | #module load valgrind |
---|
44 | #export LD_PRELOAD=$VALGRIND_LIBDIR/valgrind/libmpiwrap-amd64-linux.so |
---|
45 | #rm -f gdb-*.* |
---|
46 | #rm -f valgrind_* |
---|
47 | #ccc_mprun valgrind --log-file=valgrind_%q{SLURM_JOBID}_%q{SLURM_PROCID} --track-origins=yes --leak-check=full ../bin/test_client.exe |
---|
Note: See
TracBrowser
for help on using the repository browser.