Differences between revisions 7 and 9 (spanning 2 versions)
Revision 7 as of 2017-05-24 10:35:36
Size: 2025
Editor: NicoleThomas
Comment:
Revision 9 as of 2018-04-25 08:14:54
Size: 2831
Editor: NicoleThomas
Comment:
Deletions are marked like this. Additions are marked like this.
Line 15: Line 15:
== Required files ==

  * Dummy makefile '''''${BASEDIR}/messy/mbm/clams/Makefile_jube'''''
  * Dummy MESSy script '''''${BASEDIR}/messy/util/xmessy_mmd.jube'''''
  * Dummy namelist directory '''''${BASEDIR}/messy/nml/MBM/clams_jube'''''
      (''dir_dummy_nml'' specified in ''namelistParam'' in JUBE script)
  * JUBE script, e.g. '''''${BASEDIR}/messy/util/xmessy_jube_clim.xml'''''
Line 18: Line 25:
 Used files:
  * Dummy makefile '''''${BASEDIR}/messy/mbm/clams/Makefile_jube'''''
  * Dummy MESSy script '''''${BASEDIR}/messy/util/xmessy_mmd.jube'''''
  * Dummy namelist directory '''''${BASEDIR}/messy/nml/MBM/clams_jube'''''
      (''dir_dummy_nml'' in ''namelistParam'' in JUBE script)
 * Example for JUBE script: <<BR>>
   '''''messy-clams/messy/util/xmessy_jube_clim.xml'''''
Line 24: Line 28:
 * If the script is called with tag ''comp'', the basemodel ''clams'' is recompiled. The ''Makefile'' in subdirectory ''clams'' is replaced by the dummy makefile ''Makefile_jube'' with the current replacements (parameterset ''makeParam'')  * Inside the script there is one parameterset for each clams namelist.
 
 * The namelist input is specified in these parametersets.
Line 26: Line 32:
 * There is one parameterset for each clams namelist.  * The dummy entries in the namelists ''${BASEDIR}/messy/nml/MBM/clams_jube/*.nml'' will be substituted with this input and copied to the namelist directory (NML_SETUP). <<BR>>
 '''Attention:''' Namelists in directory NML_SETUP will be overwritten if they already exist !
 
 * The specifications in the parametersets ''jobscriptParameter'' and ''xmessy_mmd'' are used to substitute the dummy entries in the messy script ''${BASEDIR}/messy/util/xmessy_mmd.jube''.

 * The messy-script ''xmessy_mmd.jube'' with substitutions is copied to the working directory (name: ''xmessy_mmd.$EXP_NAME'').
Line 30: Line 41:

 * Example for JUBE script: <<BR>>
   '''''messy-clams/messy/util/xmessy_jube_clim.xml'''''
Line 40: Line 48:

 * If the script is called with tag ''comp'', the basemodel ''clams'' is recompiled. <<BR>>
 '''Attention:''' The ''Makefile'' in subdirectory ''clams'' is replaced by the dummy makefile ''Makefile_jube'' with the current substitutions (parameterset ''makeParam'')
Line 68: Line 80:
module load Scalasca
Line 70: Line 84:
module load Scalasca

Use JUBE for messy-clams runs

Installation

Required files

  • Dummy makefile ${BASEDIR}/messy/mbm/clams/Makefile_jube

  • Dummy MESSy script ${BASEDIR}/messy/util/xmessy_mmd.jube

  • Dummy namelist directory ${BASEDIR}/messy/nml/MBM/clams_jube

    • (dir_dummy_nml specified in namelistParam in JUBE script)

  • JUBE script, e.g. ${BASEDIR}/messy/util/xmessy_jube_clim.xml

JUBE script

  • Example for JUBE script:

    • messy-clams/messy/util/xmessy_jube_clim.xml

  • Inside the script there is one parameterset for each clams namelist.
  • The namelist input is specified in these parametersets.
  • The dummy entries in the namelists ${BASEDIR}/messy/nml/MBM/clams_jube/*.nml will be substituted with this input and copied to the namelist directory (NML_SETUP).
    Attention: Namelists in directory NML_SETUP will be overwritten if they already exist !

  • The specifications in the parametersets jobscriptParameter and xmessy_mmd are used to substitute the dummy entries in the messy script ${BASEDIR}/messy/util/xmessy_mmd.jube.

  • The messy-script xmessy_mmd.jube with substitutions is copied to the working directory (name: xmessy_mmd.$EXP_NAME).

Run JUBE script

  • copy JUBE script to working directory and change namelist data in the script
  • run JUBE script:
    jube run xmessy_jube_clim.xml [-t tag]
  • If the script is called with tag comp, the basemodel clams is recompiled.
    Attention: The Makefile in subdirectory clams is replaced by the dummy makefile Makefile_jube with the current substitutions (parameterset makeParam)

JUBE commands

  • jube run xmessy_jube_clim.xml [-t tags]
    
    jube continue messy_bench
     
    jube analyse messy_bench  [--id ID]
    jube result messy_bench
    
    jube info messy_bench [--id ID] [--step xxx]
    jube log messy_bench [--id ID] [--command cmd]
    
    jube help keyword
    
    jube comment [-a] "..." messy_bench [-i ID]
    jube comment -i ID -- "..." messy_bench

Online documentation

https://apps.fz-juelich.de/jsc/jube/jube2/docu/index.html

Run with Scalasca (on JURECA)

  • module load Scalasca
    
    jube run messy_clim.xml -t time scorep_comp scorep
    
    scalasca -examine messy_bench/00000x/000003_exe/work/scorep_clams24_run
    scalasca -examine -s messy_bench/00000x/000003_exe/work/scorep_clams24_run

-> scorep.score is created

messy/UseJube (last edited 2018-04-25 08:14:54 by NicoleThomas)