Changeset 5534 for BOL


Ignore:
Timestamp:
Feb 11, 2025, 11:53:22 PM (42 hours ago)
Author:
fhourdin
Message:

Pour la compilation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOL/LMDZ_Setup/setup.sh

    r5465 r5534  
    44
    55set -eu
     6set -vx
    67
    78#---------------------------------------------------------------------------
     
    277278     jobcmd="bash"
    278279  fi
    279   echo "./install_lmdz.sh -noclean $optim -v $version $svnopt -d $resol -rad $rad -bench 0 $parallel $ins_cosp $ins_xios $ins_aero $ins_inlandsis -name $LMDZname -veget $veget -netcdf $netcdf -arch $ARCH -make_j $make_j -jobcmd $jobcmd" >> install_lmdz_options.$$.sh
     280  echo "./install_lmdz.sh -noclean $optim -v $version $svnopt -d $resol -rad $rad -bench compile_only $parallel $ins_cosp $ins_xios $ins_aero $ins_inlandsis -name $LMDZname -veget $veget -netcdf $netcdf -arch $ARCH -make_j $make_j -jobcmd $jobcmd" >> install_lmdz_options.$$.sh
    280281  chmod +x install_lmdz_options.$$.sh
    281282  echo "Running install_lmdz_options.$$.sh"
    282283  set -o pipefail
    283     gcm=$MODEL/$(./install_lmdz_options.$$.sh | tee /dev/tty | tail -n 1 | sed -n "s:.* executable is \(.*\.e\).*:\1:p")
     284    ./install_lmdz_options.$$.sh
     285    #gcm=$MODEL/$(./install_lmdz_options.$$.sh | tee /dev/tty | tail -n 1 | sed -n "s:.* executable is \(.*\.e\).*:\1:p")
     286    gcm=$MODEL/bin/gcm.e
    284287  set +o pipefail
    285288  mv install_lmdz.sh install_lmdz.$$.sh
     
    417420      # Compile ce0l
    418421      cd "$MODEL"
    419       sed -e 's/gcm$/ce0l/' compile.sh > compile_ce0l.sh; chmod +x compile_ce0l.sh
     422      sed -e 's/gcm/ce0l/g' compile.sh > compile_ce0l.sh; chmod +x compile_ce0l.sh
    420423      echo "Compiling ce0l"
    421424      if ! ./compile_ce0l.sh &> ce0l.log; then echo "STOP: ce0l compilation failed, see $MODEL/ce0l.log"; exit 1; fi
Note: See TracChangeset for help on using the changeset viewer.