source:
branches/2011/dev_LOCEAN_CMCC_2011/NEMOGCM/SETTE/BATCH_TEMPLATE/batch-X64_TITANE
@
7897
Last change on this file since 7897 was 3029, checked in by flavoni, 13 years ago | |
---|---|
|
|
File size: 1.4 KB |
Line | |
---|---|
1 | #!/bin/bash |
2 | #! |
3 | #MSUB -T 3600 # Limite de temps elapsed du job ici 3600s |
4 | #MSUB -r SETTE_JOB # Nom du job |
5 | #MSUB -n NPROCS # Reservation de NPROCS(number of processus) |
6 | ########################################################################## |
7 | # |
8 | # set up mpp computing environment |
9 | # |
10 | # Local settings for machine BULL (TITANE at CCRT France) |
11 | # |
12 | export MPIRUN="mpirun -np" |
13 | # |
14 | # Test specific settings. Do not hand edit these lines; the fcm_job.sh script will set these |
15 | # (via sed operating on this template job file). |
16 | # |
17 | OCEANCORES=NPROCS |
18 | export SETTE_DIR=DEF_SETTE_DIR |
19 | # |
20 | # These variables are needed by post_test_tidyup function in all_functions.sh |
21 | # |
22 | export EXE_DIR=DEF_EXE_DIR |
23 | export INPUT_DIR=DEF_INPUT_DIR |
24 | export CONFIG_DIR=DEF_CONFIG_DIR |
25 | export NEMO_VALIDATION_DIR=DEF_NEMO_VALIDATION |
26 | export NEW_CONF=DEF_NEW_CONF |
27 | export CMP_NAM=DEF_CMP_NAM |
28 | export TEST_NAME=DEF_TEST_NAME |
29 | # modules to load |
30 | module load netcdf |
31 | # |
32 | # end of set up |
33 | ############################################################### |
34 | # |
35 | # change to the working directory |
36 | # |
37 | cd ${EXE_DIR} |
38 | |
39 | # |
40 | # load sette functions (only post_test_tidyup needed) |
41 | # |
42 | . ${SETTE_DIR}/all_functions.sh |
43 | # |
44 | echo Running on host `hostname` |
45 | echo Time is `date` |
46 | echo Directory is `pwd` |
47 | # |
48 | # Run the parallel MPI executable |
49 | # |
50 | echo "Running time ${MPIRUN} " $OCEANCORES " ./opa" |
51 | # |
52 | time ${MPIRUN} " $OCEANCORES" ./opa |
53 | # |
54 | post_test_tidyup |
55 | exit |
56 |
Note: See TracBrowser
for help on using the repository browser.