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

source: trunk/NEMOGCM/SETTE/BATCH_TEMPLATE/batch-X64_ADA_O0 @ 8284

Last change on this file since 8284 was 8284, checked in by clem, 7 years ago

make almost all sette tests pass except agrif restart and sas for some reason (although sas_biper is restartable)

  • Property svn:executable set to *
File size: 1.7 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 = 00:59:00
14# @ queue
15
16#
17# Test specific settings. Do not hand edit these lines; the fcm_job.sh script will set these
18# (via sed operating on this template job file).
19#
20  OCEANCORES=NPROCS
21  export SETTE_DIR=DEF_SETTE_DIR
22
23###############################################################
24#
25# set up mpp computing environment
26#
27# Local settings for machine IBM Power6 (VARGAS at IDRIS France)
28#
29#export MPIRUN="poe -procs $OCEANCORES"
30export MPIRUN="poe"
31
32#
33# load sette functions (only post_test_tidyup needed)
34#
35  . ${SETTE_DIR}/all_functions.sh
36#
37
38# Don't remove neither change the following line
39# BODY
40
41#
42# These variables are needed by post_test_tidyup function in all_functions.sh
43#
44  export EXE_DIR=DEF_EXE_DIR
45  export INPUT_DIR=DEF_INPUT_DIR
46  export CONFIG_DIR=DEF_CONFIG_DIR
47  export NEMO_VALIDATION_DIR=DEF_NEMO_VALIDATION
48  export NEW_CONF=DEF_NEW_CONF
49  export CMP_NAM=DEF_CMP_NAM
50  export TEST_NAME=DEF_TEST_NAME
51#
52# end of set up
53###############################################################
54#
55# change to the working directory
56#
57cd ${EXE_DIR}
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} ./opa"
66#
67  if [ MPI_FLAG == "yes" ]; then
68     echo "Running time ${MPIRUN} ./opa -procs $OCEANCORES"
69     time ${MPIRUN} ./opa  -procs $OCEANCORES
70  else
71     echo "Running time ./opa"
72     time ./opa
73  fi
74
75#
76  post_test_tidyup
77
78# END_BODY
79# Don't remove neither change the previous line
80
81
82  exit
Note: See TracBrowser for help on using the repository browser.