- Timestamp:
- 12/20/19 10:25:34 (4 years ago)
- Location:
- XIOS/trunk/xios_test_suite/COMPILE
- Files:
-
- 1 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/xios_test_suite/COMPILE/compile_irene
r1805 r1816 1 1 #!/bin/bash 2 ccc_msub job_compile_irene.sh 2 3 set -x 4 5 export revision=$(svn info --show-item revision .. 2>&1) 6 7 python config_compile.py 8 9 ccc_msub -E "--wait" job_compile_irene.sh 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} 14 15 cp build_*.txt ${build_dir}/build_${xios_machine_name} 16 CHMOD -R ${build_dir}/build_${xios_machine_name} 17 18 bash -c "python ./generate_compile.py" 19 20 copy_to_thredds compile_${xios_machine_name}_info.js -
XIOS/trunk/xios_test_suite/COMPILE/config_compile.py
r1812 r1816 67 67 68 68 f.write("add_test( NAME "+build_dir_name+'\n') 69 f.write(" COMMAND bash -c \"source ../ARCH/arch-"+configs_arg[0][i]+".env && module load cmake && cd ../.. && ./make_xios --arch_dirxios_test_suite/ARCH --arch "+configs_arg[0][i]+" --"+configs_arg[1][j]+" --job 16 --build_dir xios_test_suite/BUILD/build_"+build_dir_name+" | tail -n 1 >> xios_test_suite/COMPILE/build_"+revision+"_"+machine+"_"+build_dir_name+".txt\")\n\n")69 f.write(" COMMAND bash -c \"source ../ARCH/arch-"+configs_arg[0][i]+".env && cd ../.. && ./make_xios --arch_path `pwd`/xios_test_suite/ARCH --arch "+configs_arg[0][i]+" --"+configs_arg[1][j]+" --job 16 --build_dir xios_test_suite/BUILD/build_"+build_dir_name+" | tail -n 1 >> xios_test_suite/COMPILE/build_"+revision+"_"+machine+"_"+build_dir_name+".txt\")\n\n") 70 70 f.write("set_tests_properties( "+build_dir_name+" PROPERTIES\n") 71 71 f.write(" FAIL_REGULAR_EXPRESSION \"failed\")\n\n") -
XIOS/trunk/xios_test_suite/COMPILE/job_compile_irene.sh
r1805 r1816 21 21 cd $BRIDGE_MSUB_PWD 22 22 23 set -x24 25 export revision=$(svn info --show-item revision .. 2>&1)26 27 python config_compile.py28 29 23 cmake . 30 24 ctest -V 31 25 32 build_dir=${xios_test_suite_repository}/BUILD33 mkdir -p $build_dir34 chmod --quiet ug+rwX $build_dir35 mkdir -p ${build_dir}/build_${xios_machine_name}36 37 cp build_*.txt ${build_dir}/build_${xios_machine_name}38 chmod -R ug+rwX ${build_dir}/build_${xios_machine_name}39 40 bash -c "python ./generate_compile.py"41 42 copy_to_thredds compile_${xios_machine_name}_info.js43 44 26 exit -
XIOS/trunk/xios_test_suite/COMPILE/job_compile_jeanzay.sh
r1805 r1816 7 7 #SBATCH -o output.out # Nom du fichier de sortie 8 8 #SBATCH -e error.err # Nom du fichier d'erreur 9 #SBATCH --account=psl@cpu 9 ##SBATCH --account=psl@cpu 10 #SBATCH -A psl@cpu 10 11 11 12 #----------------- Compile job for Jean-Zay -------------- … … 14 15 cd ${SLURM_SUBMIT_DIR} 15 16 16 module load cmake17 18 ulimit -c 019 20 export machine=jeanzay21 export revision=$(svn info --show-item revision .. 2>&1)22 23 python config_compile.py24 25 17 cmake . 26 18 ctest -V 27 19 28 mkdir -p ../html 29 mkdir -p ../html/build_${machine} 30 31 mv build_*.txt ../html/build_${machine}/ 32 33 bash -c "cd ../html && python generate_compile.py" 34 35 20 exit
Note: See TracChangeset
for help on using the changeset viewer.