Changeset 5043


Ignore:
Timestamp:
Jul 10, 2024, 6:21:57 PM (2 months ago)
Author:
abarral
Message:

fix $jobcmd for make_xios & xios compile msg
add $debug to test_compils.sh

Location:
BOL/script_install_amaury
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • BOL/script_install_amaury/install_lmdz.sh

    r5031 r5043  
    523523        install_arch "XIOS"
    524524
    525         echo "Starting XIOS compilation"
    526         if ! ./make_xios --arch "$arch" --job 8 &> "$xioslog"; then
     525        echo "$jobcmd ./make_xios --job $make_j --arch $arch" > compile.sh
     526        chmod +x compile.sh
     527        echo "$(date) Compiling XIOS using $(\cat compile.sh) (log in $xioslog)"
     528        if ! ./compile.sh &> "$xioslog"; then
    527529            echo "STOP: XIOS compilation failed, exiting"; exit 1
    528530        fi
  • BOL/script_install_amaury/test_compils.sh

    r5037 r5043  
    1919function do_one_test {
    2020    # Perform one test, if the log file doesn't already exist
     21    cd "$local"
    2122
    2223    # Create test args
    23     local args="$base_args -rad $rad -parallel $parallel -netcdf 0 -veget $veget $xios $lmdzrev $cosp"
     24    local args="$base_args -rad $rad -parallel $parallel -netcdf 0 -veget $veget $xios $lmdzrev $cosp $debug"
    2425    # trim
    2526    args=$(echo "$args" | xargs)
     
    4647
    4748function run_all_tests {
    48     cd "$local"
    4949    for parallel in "none" "mpi_omp"; do
    5050    for rad in "oldrad" "rrtm" "ecrad"; do
     
    5454    for lmdzrev in ""; do
    5555    for cosp in "" "-cosp v1" "-cosp v2"; do
     56    for debug in "" "-debug"; do
    5657        do_one_test
     58    done
    5759    done
    5860    done
Note: See TracChangeset for help on using the changeset viewer.