source: trunk/mesoscale/LMD_MM_MARS/SIMU/launch.gnome @ 111

Last change on this file since 111 was 111, checked in by aslmd, 14 years ago

LMD_MM_MARS: modifications pour portage gnome: makemeso jusque 128, api avec plus de niveaux vert, scripts launch

File size: 2.4 KB
Line 
1#######################################################################
2####################################################################### nom
3# @ job_name            =       LMD_LES_MARS
4####################################################################### MPICH / serial
5# @ job_type            =       MPICH
6####################################################################### 8 / 16 / 20 / 32 / 64
7# @ total_tasks         =       8               
8####################################################################### A / B / C / AP / BP / CP
9# @ class               =       AP             
10####################################################################### 24gb (cf. llps pendant fonctionnement)
11# @ resources           =       ConsumableCpus(1)ConsumableMemory(1gb) 
12####################################################################### real ou ideal ???
13# @ environment         =       real=0 ; tmpdir=$(job_name).$(jobid) ; para=$(job_type)
14#######################################################################
15
16#######################################################################
17#######################################################################
18# @ output              =       $(job_name).$(jobid)/LOG
19# @ error               =       $(output)
20# @ blocking            =       unlimited
21# @ notification        =       never
22# @ queue
23grep "^# @" $0
24set -vx
25#######################################################################
26mkdir $LOADL_STEP_INITDIR/${tmpdir}
27cd $LOADL_STEP_INITDIR
28\rm zeLAST
29ln -sf ${tmpdir} zeLAST
30cd zeLAST
31#######################################################################
32cp      $LOADL_STEP_INITDIR/*.def       .
33cp      $LOADL_STEP_INITDIR/*.exe       .
34cp      $LOADL_STEP_INITDIR/namelist*   .
35cp      $LOADL_STEP_INITDIR/wrfi*       .       ### executer sur la frontale
36                                                ### au prealable !!!
37#######################################################################
38if [[ "${real}" == "0" ]]
39then
40  cp    $LOADL_STEP_INITDIR/input_*     .
41  cp    $LOADL_STEP_INITDIR/ze_hill     .       ## topo
42  cp    $LOADL_STEP_INITDIR/levels      .       ## custom vert levels
43  ##mpirun ideal.exe ##marche pas
44  ##mkdir ideal
45  ##mv rsl.* ideal/
46else
47  ln -sf $LOADL_STEP_INITDIR/wrfb* .
48fi
49#######################################################################
50#### avant wrf.exe, necessaire ???
51#declare -x MP_STACK_SIZE=640000000
52#declare -x MP_STACK_SIZE=64000000
53#######################################################################
54if [[ "${para}" == "MPICH" ]]
55then
56   mpirun wrf.exe
57else
58   ./wrf.exe
59fi
60#######################################################################
Note: See TracBrowser for help on using the repository browser.