Changeset 3287 for trunk


Ignore:
Timestamp:
Mar 29, 2024, 3:22:49 PM (8 months ago)
Author:
jbclement
Message:

PEM:

  • Small correction to make the 3D PEM be able to compile.
  • Improvement of "launch_pem.sh": a file "kill_launch_pem.sh" is now automatically created which allows the user to kill the process of the launching script in case.

JBC

Location:
trunk/LMDZ.COMMON/libf/evolution
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.COMMON/libf/evolution/changelog.txt

    r3286 r3287  
    258258    - several subroutines to manipulate the 'layering' and 'stratum' (initilize, finalize, display, modify, etc);
    259259    - subroutines of the algorithm to make the layering evolve according to the input tendencies (new layer, change of content in a layer, creation of dust lag layer, etc).
     260
     261== 29/03/2024 == JBC
     262- Small correction to make the 3D PEM be able to compile.
     263- Improvement of "launch_pem.sh": a file "kill_launch_pem.sh" is now automatically created which allows the user to kill the process of the launching script in case.
  • trunk/LMDZ.COMMON/libf/evolution/deftank/launch_pem.sh

    r3215 r3287  
    66echo "The launching script is starting!"
    77echo "The output file is \"loglaunch.txt\"."
    8 if [ "$1" = "bg" ]; then
     8
     9# Re-spawn the script as a background process and create a bash file to kill it in case
     10if [ "$1" = "bg" ]; then
    911    date
     12    echo '#!/bin/bash' > kill_launch_pem.sh
     13    echo 'kill' $$ >> kill_launch_pem.sh
     14    chmod +x kill_launch_pem.sh
    1015else
    1116    nohup "$0" bg > loglaunch.txt 2>&1 &
  • trunk/LMDZ.COMMON/libf/evolution/pem.F90

    r3264 r3287  
    8282    use mod_phys_lmdz_para, only: is_parallel, is_sequential, is_mpi_root, is_omp_root, is_master
    8383    use planete_h,          only: aphelie, periheli, year_day, peri_day, obliquit, iniorbit
    84     use comcstfi_h,         only: pi, rad, g, mugaz, r
     84    use comcstfi_h,         only: pi, rad, g, cpp, mugaz, r
    8585    use surfini_mod,        only: surfini
    8686#else
     
    9191    use aerosol_mod,        only: iniaerosol
    9292    use planete_mod,        only: apoastr, periastr, year_day, peri_day, obliquit
    93     use comcstfi_mod,       only: pi, rad, g, mugaz, r
     93    use comcstfi_mod,       only: pi, rad, g, cpp, mugaz, r
    9494#endif
    9595
Note: See TracChangeset for help on using the changeset viewer.