New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
batch-IBM_EKMAN_INGV in trunk/NEMOGCM/SETTE/BATCH_TEMPLATE – NEMO

source: trunk/NEMOGCM/SETTE/BATCH_TEMPLATE/batch-IBM_EKMAN_INGV @ 5029

Last change on this file since 5029 was 4277, checked in by poddo, 10 years ago

Added INGV batch file for SETTE and created INGV directory for INGV arch file

  • Property svn:executable set to *
File size: 1.5 KB
Line 
1#!/bin/bash
2#!
3#BSUB -q long
4#BSUB -n NPROCS
5#BSUB -J MPI_config
6#BSUB -o stdout.%J
7#BSUB -e stderr.%J
8
9 
10
11###############################################################
12# Test specific settings. Do not hand edit these lines; the fcm_job.sh script will set these
13# (via sed operating on this template job file).
14#
15  OCEANCORES=NPROCS
16  export SETTE_DIR=DEF_SETTE_DIR
17
18###############################################################
19#
20# set up mpp computing environment
21#
22# Local settings for machine IBM (EKMAN at INGV)
23#
24
25 export MPIRUN="mpirun -n $OCEANCORES"
26
27#export MPIRUN="mpirun -np"
28
29#
30# load sette functions (only post_test_tidyup needed)
31#
32  . ${SETTE_DIR}/all_functions.sh
33
34
35# Don't remove neither change the following line
36# BODY
37
38#
39# These variables are needed by post_test_tidyup function in all_functions.sh
40#
41  export EXE_DIR=DEF_EXE_DIR
42  export INPUT_DIR=DEF_INPUT_DIR
43  export CONFIG_DIR=DEF_CONFIG_DIR
44  export NEMO_VALIDATION_DIR=DEF_NEMO_VALIDATION
45  export NEW_CONF=DEF_NEW_CONF
46  export CMP_NAM=DEF_CMP_NAM
47  export TEST_NAME=DEF_TEST_NAME
48#
49# end of set up
50
51
52###############################################################
53#
54# change to the working directory
55#
56cd ${EXE_DIR}
57
58#
59  echo Running on host `hostname`
60  echo Time is `date`
61  echo Directory is `pwd`
62#
63#  Run the parallel MPI executable
64#
65#  echo "Running time ${MPIRUN} " $OCEANCORES " ./opa"
66#
67
68  if [ MPI_FLAG == "yes" ]; then
69     time ${MPIRUN} ./opa
70  else
71     time ./opa
72  fi
73#
74  post_test_tidyup
75
76# END_BODY
77# Don't remove neither change the previous line
78
79  exit
Note: See TracBrowser for help on using the repository browser.