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 @ 9851

Last change on this file since 9851 was 9851, checked in by smasson, 5 years ago

dev_r9759_HPC09_ESIWACE: update scripts for irene

  • Property svn:executable set to *
File size: 1.2 KB
Line 
1#!/bin/bash
2set -u
3#set -xv
4
5resolution=${1:?"you must provide the resolution: 1 025 or 12"}
6
7machine=$( hostname | sed -e "s/[0-9]*//g" )
8
9case $machine in
10    "beaufixlogin") ncore_node=40 ;;
11    "curie")        ncore_node=16 ;;
12    "irene")        ncore_node=48 ;;
13esac
14
15case $ncore_node in
16    16)
17    case ${resolution} in
18   "1")  list="4*4 8*4 8*8 8*16 24*10 24*22 40*24 72*28 120*30 72*66" ;;
19   "025")list="8*4 8*8 16*8 20*12 24*22 32*32 48*42 160*25 56*134 120*134 240*121" ;;
20   "12") list="16*16 32*16 40*26 80*26 80*51 114*72 160*102 240*126" ;;
21    esac
22    ;;
23    40)
24    case ${resolution} in
25   "1")  list="8*5 8*10 10*16 20*16 20*30 40*33 60*42 120*42" ;;
26   "025")list="8*5 10*8 16*10 20*16 20*32 40*32 60*42 80*67 180*64" ;;
27   "12") list="40*31 60*42 80*63 160*75" ;;
28    esac
29    ;;
30    48)
31    case ${resolution} in
32   "1")  list="8*6 12*8 19*10 24*16 24*30 45*33 72*42" ;;
33   "025")list="8*6 12*8 16*12 24*16 24*32 48*32 48*64 96*64 480*25 144*173 720*39" ;;
34   "12") list="12*16 24*16 48*16 48*32 80*39 96*63 144*85 160*150 240*126" ;;
35    esac
36    ;;
37esac
38
39for ii in $list
40do
41    echo "$ii = $ncore_node * $( echo "scale=3 ; $ii/${ncore_node}" | bc ) = $( echo $ii | bc )"
42done
43
44for cores in $list
45do
46    ./submit_bench $cores $ncore_node ${resolution}
47done
48
Note: See TracBrowser for help on using the repository browser.