Ignore:
Timestamp:
12/08/16 11:06:35 (7 years ago)
Author:
dubos
Message:

configs/testing : towards first working version

File:
1 edited

Legend:

Unmodified
Added
Removed
  • configs/testing/bash/X64_CURIE.sh

    r501 r502  
    11#!/bin/bash 
     2 
     3# This script provides site-specific functions 
     4# called by the site-independent scripts 
     5# create_runs.sh and submit.sh 
     6 
     7# NB : we must the queue 'normal' because there seems to be a limit 
     8# on the number of jobs that can be submitted to queue 'test' 
    29 
    310#----------------------------- split_XXX ---------------------------- 
     
    1118function split_mpi_80() { 
    1219    setvar nbp 81 nsplit_i 4 nsplit_j 2 
     20} 
     21 
     22#----------------- job submission ------------------ 
     23 
     24function submit_job_X64_CURIE() # $1=script $* = SLURM OPTIONS 
     25{ 
     26    TMP=$(mktemp) 
     27    ccc_msub $1 > $TMP 
     28    cat $TMP 1>&2 
     29    cat $TMP | awk '{print $NF }' 
     30    rm -f $TMP 
    1331} 
    1432 
     
    4563#MSUB -T 600 
    4664## Quality of Service required (long [3 days], normal [1 day], test [30 min]) 
    47 #MSUB -Q test 
     65#MSUB -Q normal 
    4866 
    4967export OMP_NUM_THREADS=1 
     
    7795EOF 
    7896} 
     97 
     98#------------------------------ post-processing job ----------------------------- 
     99 
     100function job_post_X64_CURIE() # LIST 
     101{ 
     102    DEPLIST=afterany 
     103    for ID in $* ; do 
     104        DEPLIST="$DEPLIST:$ID" 
     105    done 
     106    cat <<EOF 
     107#!/bin/bash 
     108## Request name 
     109#MSUB -r testing 
     110#MSUB -q standard  
     111#MSUB -A gen7548 
     112#MSUB -E "--dependency=$DEPLIST" 
     113## Number of tasks (=MPI processes) to use 
     114#MSUB -n 1 
     115## Elapsed time limit in seconds 
     116#MSUB -T 600 
     117## Quality of Service required (long [3 days], normal [1 day], test [30 min]) 
     118#MSUB -Q normal 
     119 
     120export OMP_NUM_THREADS=1 
     121# this script is submitted from $ROOT/logs 
     122cd \${BRIDGE_MSUB_PWD}/.. 
     123 
     124module purge 
     125module load licsrv/intel 
     126module load c/intel/14.0.3.174 
     127module load c++/intel/14.0.3.174 
     128module load fortran/intel/14.0.3.174 
     129module load mkl/14.0.3.174 
     130module load idb/14.0.3.174 
     131module load intel/14.0.3.174 
     132module load mpi/bullxmpi/1.2.8.4 
     133module load netcdf/4.3.3.1_hdf5_parallel 
     134module load python 
     135 
     136bash/post.sh 
     137EOF 
     138} 
Note: See TracChangeset for help on using the changeset viewer.