Changeset 2295


Ignore:
Timestamp:
02/03/22 10:48:49 (2 years ago)
Author:
jderouillat
Message:

Replace ccc_mpp by squeue in the test suite. ccc_mpp generates in the test suite from a few days the error 'ccc_mpp[717]: printf: warning: invalid argument of type T'

Location:
XIOS/dev/dev_ym/XIOS_COUPLING/xios_test_suite/TEST_SUITE
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/dev_ym/XIOS_COUPLING/xios_test_suite/TEST_SUITE/my_run.sh

    r2292 r2295  
    3939 
    4040  i=0 
    41   output=$(ccc_mpp -n -u ${USER} | grep ${jobid}) 
     41  output=$(squeue -u $USER | grep ${jobid}) 
    4242  while [ ! -z "$output" ] 
    4343  do 
     
    4545    sleep 30 
    4646    ((i+=30)) 
    47     output=$(ccc_mpp -n -u ${USER} | grep ${jobid}) 
     47    output=$(squeue -u $USER | grep ${jobid}) 
    4848    if [[ $i -eq 300 ]]; then 
    4949      ccc_mdel $jobid 
  • XIOS/dev/dev_ym/XIOS_COUPLING/xios_test_suite/TEST_SUITE/run_test

    r2292 r2295  
    2727  echo "./make_xios --arch_path `pwd`/../ARCH --arch ${arch} --${mode} --use_tv --build_dir ${build_dir} --job 16" >> compile.sh 
    2828  cmd=$(sbatch compile.sh) 
    29   sleep 10 
    3029  jobid="${cmd//[!0-9]/}" 
    3130  i=0 
     
    6160  echo "./make_xios --arch_path `pwd`/../ARCH --arch ${arch} --${mode} --use_tv ${enable_mem_track} --build_dir ${build_dir} --job 16" >> compile.sh 
    6261  cmd=$(ccc_msub compile.sh) 
    63   sleep 10 
    6462  jobid="${cmd//[!0-9]/}" 
    6563  i=0 
    66   output=$(ccc_mpp -n -u ${USER} | grep ${jobid}) 
     64  output=$(squeue -u $USER | grep ${jobid}) 
    6765  while [ ! -z "$output" ] 
    6866  do 
     
    7068    sleep 30 
    7169    ((i+=30)) 
    72     output=$(ccc_mpp -n -u ${USER} | grep ${jobid}) 
     70    output=$(squeue -u $USER | grep ${jobid}) 
    7371  done 
    7472 
    7573fi 
    7674 
    77 #build_info=$(sacct -j $jobid -o State) 
    78 #if [[ $build_info == *"COMPLETED"* ]]; then 
    79 exec=${build_dir}/bin/generic_testcase.exe 
     75exec=build_${arch}_${mode}/bin/generic_testcase.exe 
    8076if [[ -f "$exec" ]]; then 
    8177  build_ok=true 
Note: See TracChangeset for help on using the changeset viewer.