Last change
on this file since 6607 was
6607,
checked in by acosce, 10 months ago
|
XIOS used for ICOLMDZORINCA_CO2_Transport_GMD_2023
|
File size:
687 bytes
|
Rev | Line | |
---|
[6607] | 1 | #!/bin/bash |
---|
| 2 | #set -x |
---|
| 3 | export revision=$(svn info --show-item revision .. 2>&1) |
---|
| 4 | python config_compile.py |
---|
| 5 | |
---|
| 6 | sbatch --wait job_compile_jeanzay.sh |
---|
| 7 | |
---|
| 8 | if [ "$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} |
---|
| 14 | |
---|
| 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 |
---|
| 24 | |
---|
| 25 | CHMOD -R ${build_dir}/build_${xios_machine_name} |
---|
| 26 | else |
---|
| 27 | echo "without files copy" |
---|
| 28 | fi |
---|
| 29 | |
---|
Note: See
TracBrowser
for help on using the repository browser.