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

source: trunk/NEMOGCM/SETTE/BATCH_TEMPLATE/batch-ifort_MERCATOR_CLUSTER @ 3294

Last change on this file since 3294 was 3294, checked in by rblod, 13 years ago

Merge of 3.4beta into the trunk

  • Property svn:executable set to *
File size: 1.5 KB
Line 
1#!/bin/bash
2#!
3#PBS -N sette
4#PBS -e sette.$PBS_JOBID.err
5#PBS -o sette.$PBS_JOBID.out
6#PBS -l nodes=2:ppn=8
7#PBS -q multi
8#PBS -l walltime=03:00:00
9#PBS -l mem=24gb
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 Power6 (VARGAS at IDRIS France)
23#
24export MPIRUN="mpiexec -n $OCEANCORES"
25
26#
27# load sette functions (only post_test_tidyup needed)
28#
29  . ${SETTE_DIR}/all_functions.sh
30#
31
32# Don't remove neither change the following line
33# BODY
34
35#
36# These variables are needed by post_test_tidyup function in all_functions.sh
37#
38  export EXE_DIR=DEF_EXE_DIR
39  export INPUT_DIR=DEF_INPUT_DIR
40  export CONFIG_DIR=DEF_CONFIG_DIR
41  export NEMO_VALIDATION_DIR=DEF_NEMO_VALIDATION
42  export NEW_CONF=DEF_NEW_CONF
43  export CMP_NAM=DEF_CMP_NAM
44  export TEST_NAME=DEF_TEST_NAME
45#
46# end of set up
47###############################################################
48#
49# change to the working directory
50#
51cd ${EXE_DIR}
52
53  echo Running on host `hostname`
54  echo Time is `date`
55  echo Directory is `pwd`
56#
57#  Run the parallel MPI executable
58#
59  echo "Running time ${MPIRUN} ./opa"
60#
61  if [ MPI_FLAG == "yes" ]; then
62     time ${MPIRUN} ./opa
63  else
64     time ./opa
65  fi
66
67#
68  post_test_tidyup
69
70# END_BODY
71# Don't remove neither change the previous line
72
73
74  exit
Note: See TracBrowser for help on using the repository browser.