Ignore:
Timestamp:
10/02/20 11:28:27 (4 years ago)
Author:
yushan
Message:

trunk : modif related to compilation before unit tests. No longer compile on login node.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/xios_test_suite/COMPILE/compile_jeanzay

    r1887 r1945  
    66sbatch --wait job_compile_jeanzay.sh 
    77 
    8 build_dir=${xios_test_suite_repository}/BUILD 
    9 mkdir -p $build_dir ; CHMOD $build_dir 
    10 mkdir -p ${build_dir}/build_${xios_machine_name} 
     8if [ "$COPY_TO_SERVER" = true ] 
     9  then 
     10   
     11  build_dir=${xios_test_suite_repository}/BUILD 
     12  mkdir -p $build_dir ; CHMOD $build_dir 
     13  mkdir -p ${build_dir}/build_${xios_machine_name} 
    1114 
    12 allreports=`ls ./build_${revision}_*.txt` 
    13 for report in $allreports 
    14 do 
    15    ll=$(wc -l $report | awk '{print $1}') 
    16    if [[ $(($ll)) > 4 ]] ;  then 
    17       echo "$report need to be copied" 
    18       cp $report ${build_dir}/build_${xios_machine_name} 
    19    fi 
    20 done 
     15  allreports=`ls ./build_${revision}_*.txt` 
     16  for report in $allreports 
     17  do 
     18     ll=$(wc -l $report | awk '{print $1}') 
     19     if [[ $(($ll)) > 4 ]] ;  then 
     20        echo "$report need to be copied" 
     21        cp $report ${build_dir}/build_${xios_machine_name} 
     22     fi 
     23  done 
    2124 
    22 CHMOD -R ${build_dir}/build_${xios_machine_name} 
     25  CHMOD -R ${build_dir}/build_${xios_machine_name} 
     26else 
     27    echo "without files copy" 
     28fi 
    2329 
    24 #bash -c "python ./generate_compile.py" 
    25 #copy_to_forge compile_${xios_machine_name}_info.js 
    26  
Note: See TracChangeset for help on using the changeset viewer.