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-ifort_athena in trunk/NEMOGCM/SETTE/BATCH_TEMPLATE – NEMO

source: trunk/NEMOGCM/SETTE/BATCH_TEMPLATE/batch-ifort_athena @ 6140

Last change on this file since 6140 was 6140, checked in by timgraham, 8 years ago

Merge of branches/2015/dev_merge_2015 back into trunk. Merge excludes NEMOGCM/TOOLS/OBSTOOLS/ for now due to issues with the change of file type. Will sort these manually with further commits.

Branch merged as follows:
In the working copy of branch ran:
svn merge svn+ssh://forge.ipsl.jussieu.fr/ipsl/forge/projets/nemo/svn/trunk@HEAD
Small conflicts due to bug fixes applied to trunk since the dev_merge_2015 was copied. Bug fixes were applied to the branch as well so these were easy to resolve.
Branch committed at this stage

In working copy run:
svn switch svn+ssh://forge.ipsl.jussieu.fr/ipsl/forge/projets/nemo/svn/trunk
to switch working copy

Run:
svn merge --reintegrate svn+ssh://forge.ipsl.jussieu.fr/ipsl/forge/projets/nemo/svn/branches/2015/dev_merge_2015
to merge the branch into the trunk and then commit - no conflicts at this stage.

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