Ignore:
Timestamp:
12/15/14 17:04:28 (10 years ago)
Author:
ymipsl
Message:
  • implement splitting of XIOS file for lmdz physics
  • Termination is done properly in parallel by calling MPI_ABORT instead of abort or stop

YM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • codes/icosagcm/branches/SATURN_DYNAMICO/LMDZ.COMMON/libf/phystd/kcm1d.F90

    r227 r313  
    117117     write(*,*) '   )' 
    118118     write(*,*) ' ... might as well stop here ...' 
    119      stop 
     119     CALL abort_physiq 
    120120  else 
    121121     close(90) 
     
    133133     write(*,*) 'Please remove the file and restart the run.' 
    134134     write(*,*) 'Runtime parameters are supposed to be in kcm1d.def' 
    135      stop 
     135     CALL abort_physiq 
    136136  else 
    137137     call system('touch run.def') 
     
    144144  if(.not.global1d)then 
    145145     print*,'Error, kcm1d must have global1d=.true. in kcm1d.def!' 
    146      stop 
     146     CALL abort_physiq 
    147147  end if 
    148148 
     
    200200     print*,"In 1D modeling, check_cpp_match is supposed to be F" 
    201201     print*,"Please correct callphys.def" 
    202      stop 
     202     CALL abort_physiq 
    203203  endif 
    204204 
     
    221221           write(*,*) "kcm1d: error reading number of tracers" 
    222222           write(*,*) "   (first line of traceur.def) " 
    223            stop 
     223           CALL abort_physiq 
    224224        endif 
    225225        nqtot=nq 
     
    235235           if (ierr.ne.0) then 
    236236              write(*,*) 'kcm1d: error reading tracer names...' 
    237               stop 
     237              CALL abort_physiq 
    238238           endif 
    239239        enddo !of do iq=1,nq 
Note: See TracChangeset for help on using the changeset viewer.