Ignore:
Timestamp:
10/17/19 17:22:04 (5 years ago)
Author:
yushan
Message:

Generic_testcase: remove _openmpi _intelmpi flags. EP library is no longer sensitive to the underlying MPI library. Tested on Irene with generic_testcase

File:
1 edited

Legend:

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

    r1745 r1746  
    4848#ddt -start -n 8 ../buile_intelmpi/bin/test_omp.exe 
    4949 
     50 
     51 
     52 
     53#============================= Run EP with IntelMPI ============================= 
     54 
     55 
     56 
     57export machine_name=irene 
     58export xios_dir=/ccc/cont003/home/gencmip6/wangyush/XIOS/dev_trunk_omp 
     59export build_dir=build_ep_intelmpi_prod 
     60 
     61rm -f setup.sh 
     62touch setup.sh 
     63>setup.sh 
     64for i in $(ls -d test_*/) 
     65do 
     66  cp setup.py ${i%%/}       
     67  cp run_sub_test.sh ${i%%/}       
     68  echo "bash -c \"cd " ${i%%/} " && python setup.py\" ">> setup.sh 
     69  echo "echo \"setup.py called from " ${i%%/} "\"">> setup.sh 
     70done 
     71 
     72export output=$(python user_config.py 2>&1 >/dev/null) 
     73 
     74if [ "$output" -ne 0 ] 
     75then 
     76        echo "user_config.py failed" 
     77        exit 
     78else 
     79        echo "user_config.py OK" 
     80fi 
     81 
     82 
     83cmake . 
     84ctest -V  
     85#ctest --output-on-failure 
     86make report 
     87 
     88#echo "Generic testcase report" | mailx -s "report" -a report.html yushan.wang@lsce.ipsl.fr 
     89 
     90rm -f test_*/setup.py 
     91rm -f test_*/run_sub_test.sh 
     92rm -f test_*/run_test_*.py 
     93rm -f test_*/CMakeLists.txt 
     94rm -f test_*/context_grid_dynamico.xml 
     95rm -f test_*/dynamico_grid.nc 
     96rm -f test_*/default_param.pyc 
     97rm -f test_*/user_param.pyc 
     98rm -f test_*/user_param.py.* 
     99 
     100rm -f report_ep_intelmpi.* 
     101cp report.txt report_ep_intelmpi.txt 
     102cp report.html report_ep_intelmpi.html 
     103 
     104 
     105 
     106 
     107 
     108#============================= Run MPI with IntelMPI ============================= 
     109 
     110 
     111 
     112 
     113 
     114 
     115 
     116 
     117 
    50118export machine_name=irene 
    51119export xios_dir=/ccc/cont003/home/gencmip6/wangyush/XIOS/dev_trunk_omp 
     
    79147make report 
    80148 
    81 echo "Generic testcase report" | mailx -s "report" -a report.html yushan.wang@lsce.ipsl.fr 
     149#echo "Generic testcase report" | mailx -s "report" -a report.html yushan.wang@lsce.ipsl.fr 
    82150 
    83151rm -f test_*/setup.py 
     
    91159rm -f test_*/user_param.py.* 
    92160 
     161rm -f report_mpi_intelmpi.* 
     162cp report.txt report_mpi_intelmpi.txt 
     163cp report.html report_mpi_intelmpi.html 
Note: See TracChangeset for help on using the changeset viewer.