Changeset 1044 for configs


Ignore:
Timestamp:
08/12/20 17:08:28 (4 years ago)
Author:
dubos
Message:

testing : complete DCMIP41 test case for JEANZAY_PGI_ACC

Location:
configs/testing
Files:
6 added
3 edited

Legend:

Unmodified
Added
Removed
  • configs/testing/RUNS_arch/README

    r1043 r1044  
    11This tree contains sample configuration files for various machines and test cases. 
     2Each experiment folder is of the form ./ARCH/TESTCASE . 
     3In folders ARCH, the file build.sh specifies commands to compile XIOS and DYNAMICO. 
    24 
    35In each experiment folder one should create a symlink called 'build' to the directory where DYNAMICO has been compiled. 
  • configs/testing/bash/build.sh

    r1041 r1044  
    11#!/bin/bash 
    22 
     3function build_dynamico_() 
     4{ 
     5    NAME=$1 ; shift 
     6    LOGFILE=$1 ; shift 
     7    echo "# command used to build DYNAMICO ($NAME) :" >> logs/build.sh 
     8    echo "./make_icosa $*" >> logs/build.sh 
     9 
     10    cd $ROOT/build_$NAME 
     11    echo "In $PWD : building DYNAMICO with options $*" 
     12    echo "Watch logfile $LOGFILE" 
     13 
     14    ./make_icosa $* > $LOGFILE 2>&1 
     15} 
     16  
    317function build_dynamico() 
    418{ 
    519    NAME=$1 ; shift 
     20    LOGFILE=$ROOT/logs/dynamico_${NAME}.log 
    621    BUILD=$ROOT/build_$NAME 
    7     LOGFILE=$ROOT/logs/dynamico_${NAME}.log 
    8     cd $ROOT/build_$NAME 
    9     echo "In $PWD : building DYNAMICO with options $*" 
    10     echo "Watch logfile $LOGFILE" 
    11 #    ./make_icosa -full -arch $arch -job $job $* > $LOGFILE 2>&1 || ( tail $LOGFILE ; exit 1 ) 
    12     ./make_icosa -arch $arch -job $job $* > $LOGFILE 2>&1 || ( tail $LOGFILE ; exit 1 ) 
     22    build_dynamico_ $NAME $LOGFILE -arch $arch -job $job $* || ( tail $LOGFILE ; exit 1 ) 
    1323    cp -pr $BUILD/bin/icosa_gcm.exe  $ROOT/bin/icosa_$NAME.exe 
    1424} 
    1525 
    16 function main() 
    17  
    18     LOGFILE=$ROOT/logs/build_xios.log 
     26function build_xios() 
     27{ 
     28    LOGFILE=$1 ; shift 
     29    echo '# command used to build XIOS :' >> logs/build.sh 
     30    echo "./make_xios $*" >> logs/build.sh 
     31     
    1932    cd -P $ROOT/XIOS 
    2033    echo "In $PWD : Building XIOS" 
    21     echo "./make_xios --arch $arch $other_XIOS --job $job" 
    2234    echo "Watch logfile $LOGFILE" 
    23     ./make_xios --arch $arch_XIOS $other_XIOS --job $job > $LOGFILE 2>&1 || ( tail $LOGFILE ; exit 1 )     
     35    echo "./make_xios $*" 
     36    ./make_xios $* > $LOGFILE 2>&1 
     37} 
     38 
     39function main() 
     40{ 
     41    rm -f tmp/build.sh 
     42    LOGFILE=$ROOT/logs/build_xios.log 
     43    build_xios $LOGFILE --arch $arch_XIOS $other_XIOS --job $job || ( tail $LOGFILE ; exit 1 ) 
     44 
    2445    cd $ROOT 
    2546    # compile all variants in parallel 
  • configs/testing/bash/create_runs.sh

    r1041 r1044  
    218218    rm -f RUNS 
    219219    ln -sf RUNS_arch/${arch} RUNS 
     220    cp logs/build.sh RUNS/ 
    220221    cd RUNS 
    221222     
Note: See TracChangeset for help on using the changeset viewer.