Skip to content
Snippets Groups Projects
job_make_examples_cxa 1.82 KiB
Newer Older
  • Learn to ignore specific revisions
  • #MNH_LIC Copyright 1994-2019 CNRS, Meteo-France and Universite Paul Sabatier
    
    #MNH_LIC This is part of the Meso-NH software governed by the CeCILL-C licence
    #MNH_LIC version 1. See LICENSE, CeCILL-C_V1-en.txt and CeCILL-C_V1-fr.txt  
    #MNH_LIC for details. version 1.
    
    # Classe : ns np
    # @ class       = np
    # @ core_limit  = 0   
    # @ total_tasks = 4
    # @ job_type         = parallel
    # Temps CPU max. en seconde (d'un processus)
    # @ cpu_limit        = 7200
    # @ wall_clock_limit = 7200
    # Memoire max. utilisee (ici 2 Go)
    # # resources        = ConsumableCpus(1) ConsumableMemory(2gb)
    # Temps CPU max. en seconde (d'un processus)
    # @ wall_clock_limit  = 7200
    # Memoire max. utilisee (ici 11 Go)
    # @ data_limit = 2gb
    # Nom du travail LoadLeveler
    # @ job_name   = Examples
    # Fichier de sortie standard du travail
    # @ output     = $(job_name).$(jobid)
    # Fichier de sortie d'erreur du travail
    # @ error      =  $(job_name).$(jobid)
    # @ environment = $DISPLAY;$X11PROTOCOL;$X11COOKIE
    # @ queue
    
    # Pour avoir l'echo des commandes
    set -x
    
    ps
    
    echo SHELL=$SHELL
    
    cd $LOADL_STEP_INITDIR
    
    
    .  ../conf/profile_mesonh-AIX64-R8I4-MNH-V5-4-2-MPIAUTO-O2
    
    
    ulimit -c 0 # pas de core
    
    #001_2Drelief 002_3Drelief 003_KW78 004_Reunion 007_16janvier
    
    #export MONORUN="tv poe -a "
    #export MPIRUN="tv poe -a "
    #export MONORUN="poe hpmcount -a "
    #export MPIRUN="poe hpmcount -a "
    export MONORUN="Poe -world_sizes 1 "
    export MPIRUN="Poe -world_sizes 4 "
    #export MP_WORLD_SIZES=1 
    #export MONORUN="poe -world_sizes 1 "
    #export MPIRUN="poe MP_WORLD_SIZES=4 "
    export POSTRUN=" echo "
    
    
    #module load totalview
    #echo $DISPLAY $X11PROTOCOL $X11COOKIE 
    #xauth add $DISPLAY $X11PROTOCOL $X11COOKIE 
    #xterm -sb 
    #exit
    
    time gmake -k 001_2Drelief
    time gmake -k 002_3Drelief
    time gmake -k 003_KW78
    time gmake -k 004_Reunion << EOF
    
    
    EOF
    #
    cd $SRC_MESONH/MY_RUN/KTEST/007_16janvier
    make -k << EOF 
    
    
    EOF
    #