Ignore:
Timestamp:
10/09/19 17:34:40 (5 years ago)
Author:
yushan
Message:

GENERIC_TESTCASE : generate job scripts for each config (Jean-Zay and Irene)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/dev_trunk_omp/GENERIC_TESTCASE/job_irene.sh

    r1734 r1738  
    2222module load mpi/intelmpi/2017.0.6.256 
    2323module load flavor/buildcompiler/intel/17 
    24 #module load flavor/buildmpi/intelmpi/2017 
    2524module load flavor/hdf5/parallel 
    2625module load netcdf-fortran/4.4.4 
     
    5150export machine_name=irene 
    5251 
    53 python user_config.py 
     52rm -f setup.sh 
     53touch setup.sh 
     54>setup.sh 
     55for i in $(ls -d test_*/) 
     56do 
     57  cp setup.py ${i%%/}       
     58  cp run_sub_test.sh ${i%%/}       
     59  echo "bash -c \"cd " ${i%%/} " && python setup.py\" ">> setup.sh 
     60  echo "echo \"setup.py called from " ${i%%/} "\"">> setup.sh 
     61done 
     62 
     63export output=$(python user_config.py 2>&1 >/dev/null) 
     64 
     65if [ "$output" -ne 0 ] 
     66then 
     67        echo "user_config.py failed" 
     68        exit 
     69else 
     70        echo "user_config.py OK" 
     71fi 
     72 
     73 
    5474cmake . 
    55 ctest -V 
     75ctest -V  
     76#ctest --output-on-failure 
     77make report 
    5678 
    57 make report 
     79 
     80rm -f test_*/setup.py 
     81rm -f test_*/run_sub_test.sh 
     82rm -f test_*/run_test_*.py 
     83rm -f test_*/CMakeLists.txt 
     84 
Note: See TracChangeset for help on using the changeset viewer.