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.
sh_bench in NEMO/branches/2018/dev_r9759_HPC09_ESIWACE/tests/BENCH/EXPREF – NEMO

source: NEMO/branches/2018/dev_r9759_HPC09_ESIWACE/tests/BENCH/EXPREF/sh_bench @ 9846

Last change on this file since 9846 was 9846, checked in by smasson, 6 years ago

dev_r9759_HPC09_ESIWACE: update namelists and jobscripts

  • Property svn:executable set to *
File size: 1.1 KB
Line 
1#!/bin/bash
2set -u
3set -xv
4
5resolution=$1
6machine=$( hostname | sed -e "s/[0-9]*//g" )
7
8case $machine in
9    "beaufix") ncore_nod=40 ;;
10    "curie")   ncore_node=16 ;;
11esac
12
13case $ncore_node in
14    16)
15    case ${resolution} in
16   "1")list1="4*4 8*4 8*8 8*16 24*10 24*22 40*24 72*28 120*30 72*66" ;;
17   "025")list025="4*4 8*4 8*8 16*8 20*12 24*22 32*32 48*42 160*25 56*134 120*134 240*121" ;;
18   "12")list12="16*8 16*16 32*16 40*26 80*26 80*51 114*72 160*102 240*126" ;;
19    esac
20    ;;
21    40)
22    case ${resolution} in
23   "1")list1="8*5 8*10 16*10 20*16 20*30 40*33 60*42 120*42" ;;
24   "025")list025="8*5 10*8 16*10 20*16 20*32 40*32 60*42 80*67 180*64" ;;
25   "12")list12="40*31 60*42 80*63 160*75" ;;
26    esac
27    ;;
28esac
29
30
31# ORCA1
32if [ ${resolution} == "1" ]; then
33for cores in $list1
34do
35  ./submit_bench $cores $ncore_node ${resolution}
36done
37
38# ORCA025
39elif [ ${resolution} == "025" ]; then
40for cores in $list025
41do
42  ./submit_bench $cores $ncore_node ${resolution}
43done
44
45# ORCA12
46elif [ ${resolution} == "12" ]; then
47for cores in $list12
48do
49  ./submit_bench $cores $ncore_node ${resolution}
50done
51fi
Note: See TracBrowser for help on using the repository browser.