Changeset 5532


Ignore:
Timestamp:
Feb 11, 2025, 7:19:26 PM (3 days ago)
Author:
fhourdin
Message:

Gestion de la compilation depuis install_lmdz

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOL/script_install/install_lmdz.sh

    r5530 r5532  
    7373  log="$(pwd)/$component.log"
    7474  printf "#!/bin/bash\n%s\n" "$command" > compile.sh
    75   echo "Compiling $component using $command (log: $log) $(date)"
    76     chmod +x ./compile.sh
    77     if ! ./compile.sh &> "$log"; then
    78         echo "STOP: $component compilation failed, exiting"; exit 1
    79     fi
    80     echo "Finished $component compilation $(date)"
     75  if [ $bench = 1 -o $bench = compile_only ] ; then
     76     echo "Compiling $component using $command (log: $log) $(date)"
     77       chmod +x ./compile.sh
     78       if ! ./compile.sh &> "$log"; then
     79           echo "STOP: $component compilation failed, exiting"; exit 1
     80       fi
     81       echo "Finished $component compilation $(date)"
     82   fi
    8183}
    8284
     
    216218        -d        "grid resolution": should be among the available benchs if -bench 1 (valid values: 48x36x19, 48x36x39) (default : <$grid_resolution>)
    217219
    218         -bench     activating the bench or not (0/1) (default: <$bench>)
     220        -bench     activating the bench or not (0/1/tuto/compile_only) (default: <$bench>)
    219221
    220222        -unstable  use unstable tar instead of testing
     
    11971199    install_XIOS
    11981200    compile_orchidee
     1201    compile_lmdz
    11991202
    12001203    # ==========================================================
     
    12021205    # Inutile de compiler LMDZ quand pas de bench
    12031206set -vx
    1204     if [ $bench = 1 ] ; then compile_lmdz ; fi
    12051207    # A nettoyer apres discussion et choix sur les arch
    12061208    # Conservation des arch ayant servi à la compilation de LMDZ
Note: See TracChangeset for help on using the changeset viewer.