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

source: trunk/NEMOGCM/SETTE/BATCH_TEMPLATE/batch-X64_MOBILIS @ 4687

Last change on this file since 4687 was 4687, checked in by acc, 10 years ago

#1351 alternative loop structure to fix errors in dynspg_ts.F90 when compiling with -O3 and the ifort compiler. Without this change the AMM12 SETTE tests fail after 12 timesteps. Also included a single line efficiency change in domzgr.F90 and improvements to sette scripts and local NOCS files.

  • Property svn:executable set to *
File size: 2.2 KB
Line 
1#!/bin/bash
2#SBATCH -N NODES
3#SBATCH --time=00:59:00
4
5module purge
6module load shared
7module load gcc
8module load intel/compiler/64/14.0/2013_sp1.2.144
9module load openmpi/intel/64/1.6.5
10module load slurm/2.5.7
11
12#
13  export OMP_NUM_THREADS=1
14  export OCORES=NPROCS
15  export XCORES=NOT_USED
16  export SETTE_DIR=DEF_SETTE_DIR
17#
18# load sette functions (only post_test_tidyup needed)
19#
20  . ${SETTE_DIR}/all_functions.sh
21###############################################################
22#
23# set up mpp computing environment
24#
25#
26# Local settings. These settings are for a particular machine (the MOBILIS ClusterVision
27# system at NOCS) at a particular stage of that machine's evolution. This template file
28# is provided for illustration purposes only and will not work on any other machine. There
29# should, however, be sufficient similarity with other MPP platforms and batch systems
30# for this example to provide a useful guide for experienced users
31#
32# Don't remove neither change the following line
33# BODY
34#
35# Test specific settings. Do not hand edit these lines; the fcm_job.sh script will set these
36# (via sed operating on this template job file). Note that the number of compute nodes required
37# is also set by the fcm_job.sh on the PBS select header line above.
38#
39# These variables are needed by post_test_tidyup function in all_functions.sh
40#
41  export INPUT_DIR=DEF_INPUT_DIR
42  export CONFIG_DIR=DEF_CONFIG_DIR
43  export NEMO_VALIDATION_DIR=DEF_NEMO_VALIDATION
44  export NEW_CONF=DEF_NEW_CONF
45  export CMP_NAM=DEF_CMP_NAM
46  export TEST_NAME=DEF_TEST_NAME
47  export EXE_DIR=DEF_EXE_DIR
48#
49# end of set up
50###############################################################
51#
52# change to the working directory
53#
54  cd $EXE_DIR
55  echo Directory is `pwd`
56#
57#
58#  Run the parallel MPI executable
59#
60echo time `which mpirun` --report-bindings -x MALLOC_MMAP_MAX_=-1 \
61                         -x MALLOC_TRIM_THRESHOLD_=33554432 -np $OCORES --bynode  \
62                         --mca mpi_paffinity_alone 1 ./opa
63#
64     time `which mpirun` --report-bindings -x MALLOC_MMAP_MAX_=-1 \
65                         -x MALLOC_TRIM_THRESHOLD_=33554432 -np $OCORES --bynode  \
66                         --mca mpi_paffinity_alone 1 ./opa
67#
68#
69  post_test_tidyup
70# END_BODY
71# Don't remove neither change the previous line
72  exit
Note: See TracBrowser for help on using the repository browser.