source:
branches/2011/dev_r2855_LOCEAN7_SETTE/NEMOGCM/SETTE/BATCH_TEMPLATE/batch-PW6_VARGAS
@
6438
Last change on this file since 6438 was 2890, checked in by flavoni, 13 years ago | |
---|---|
|
|
File size: 1.4 KB |
Line | |
---|---|
1 | #!/bin/bash |
2 | #! |
3 | # @ job_name = MPI_config |
4 | # standard output file |
5 | # @ output = $(job_name).$(jobid) |
6 | # standard error file |
7 | # @ error = $(job_name).$(jobid) |
8 | # job type |
9 | # @ job_type = parallel |
10 | # Number of procs |
11 | # @ total_tasks = NPROCS |
12 | # time |
13 | # @ wall_clock_limit = 0:30:00 |
14 | # @ queue |
15 | |
16 | ############################################################### |
17 | # |
18 | # set up mpp computing environment |
19 | # |
20 | # Local settings for machine IBM Power6 (VARGAS at IDRIS France) |
21 | # |
22 | export MPIRUN="mpiexec -n" |
23 | # |
24 | # Test specific settings. Do not hand edit these lines; the fcm_job.sh script will set these |
25 | # (via sed operating on this template job file). |
26 | # |
27 | OCEANCORES=NPROCS |
28 | export SETTE_DIR=DEF_SETTE_DIR |
29 | # |
30 | # These variables are needed by post_test_tidyup function in all_functions.sh |
31 | # |
32 | export EXE_DIR=DEF_EXE_DIR |
33 | export INPUT_DIR=DEF_INPUT_DIR |
34 | export CONFIG_DIR=DEF_CONFIG_DIR |
35 | export NEMO_VALIDATION_DIR=DEF_NEMO_VALIDATION |
36 | export NEW_CONF=DEF_NEW_CONF |
37 | export CMP_NAM=DEF_CMP_NAM |
38 | export TEST_NAME=DEF_TEST_NAME |
39 | # |
40 | # end of set up |
41 | ############################################################### |
42 | # |
43 | # change to the working directory |
44 | # |
45 | cd ${EXE_DIR} |
46 | |
47 | # |
48 | # load sette functions (only post_test_tidyup needed) |
49 | # |
50 | . ${SETTE_DIR}/all_functions.sh |
51 | # |
52 | echo Running on host `hostname` |
53 | echo Time is `date` |
54 | echo Directory is `pwd` |
55 | # |
56 | # Run the parallel MPI executable |
57 | # |
58 | echo "Running time ${MPIRUN} " $OCEANCORES " ./opa" |
59 | # |
60 | time ${MPIRUN} " $OCEANCORES" ./opa |
61 | # |
62 | post_test_tidyup |
63 | exit |
Note: See TracBrowser
for help on using the repository browser.