source: XIOS/dev/dev_olga/src/job_submit.sh @ 1204

Last change on this file since 1204 was 1022, checked in by mhnguyen, 7 years ago
File size: 1.5 KB
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
14CURRENT=$PWD
15cd $CURRENT/inputs
16rm -f output_?.*
17rm -f output.*
18rm -f output_*
19rm -f *.err
20rm -f *.out
21rm -f info_output_*
22rm -f *.nc
23rm -f appClient.conf_*
24
25ulimit -a
26ulimit -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"
37ddt -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.