Ignore:
Timestamp:
Feb 27, 2026, 3:54:06 PM (3 days ago)
Author:
jbclement
Message:

PEM:
Small corrections in the scripts.
JBC

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.COMMON/libf/evolution/config.F90

    r4074 r4091  
    2424
    2525character(7),  parameter :: rundef_name = 'run.def'
    26 character(11), parameter :: runPCMdef_name = 'run_pcm.def'
     26character(11), parameter :: run_pcmdef_name = 'run_pcm.def'
    2727character(12), parameter :: callphys_name = 'callphys.def'
    2828
     
    350350! CODE
    351351! ----
    352 inquire(file = runPCMdef_name,exist = here)
    353 if (.not. here) call stop_clean(__FILE__,__LINE__,'cannot find required file "'//runPCMdef_name//'"!',1)
    354 call print_msg('> Reading "'//runPCMdef_name//'"')
    355 open(newunit = funit,file = runPCMdef_name,status = 'old',form = 'formatted',action = 'read',iostat = ierr)
    356 if (ierr /= 0) call stop_clean(__FILE__,__LINE__,'error opening file "'//runPCMdef_name//'"!',ierr)
     352inquire(file = run_pcmdef_name,exist = here)
     353if (.not. here) call stop_clean(__FILE__,__LINE__,'cannot find required file "'//run_pcmdef_name//'"!',1)
     354call print_msg('> Reading "'//run_pcmdef_name//'"')
     355open(newunit = funit,file = run_pcmdef_name,status = 'old',form = 'formatted',action = 'read',iostat = ierr)
     356if (ierr /= 0) call stop_clean(__FILE__,__LINE__,'error opening file "'//run_pcmdef_name//'"!',ierr)
    357357
    358358found = .false.
     
    385385close(funit)
    386386
    387 if (.not. found) call print_msg('Warning: key ''hybrid'' not found in the file "'//runPCMdef_name//'"!')
     387if (.not. found) call print_msg('Warning: key ''hybrid'' not found in the file "'//run_pcmdef_name//'"!')
    388388if (hybrid .eqv. hybrid_in) call print_msg('USING DEFAULTS : hybrid = '//bool2str(hybrid_in))
    389389
Note: See TracChangeset for help on using the changeset viewer.