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/physiq.F90

    r310 r313  
    587587           if (is_master) write(*,*) "taking dynamics day for physics:  ",day_ini 
    588588           day_ini=pday 
    589 !ym           stop 
     589!ym           CALL abort_physiq 
    590590         endif 
    591591 
     
    670670              if (is_master) write(*,*) "physiq: Error! No num_run file!" 
    671671              if (is_master) write(*,*) " (which is needed for sourceevol option)" 
    672               stop 
     672              CALL abort_physiq 
    673673            endif 
    674674            read(128,*) num_run  
     
    797797        print*,'I need values for flatten, J2, Rmean and MassPlanet to compute glat (else set oblate=.false.)' 
    798798 
    799         call abort 
     799        call abort_physiq 
    800800        else 
    801801 
     
    940940              if(kastprof)then 
    941941                 print*,'kastprof should not = true here' 
    942                  call abort 
     942                 call abort_physiq 
    943943              endif 
    944944              if(water) then 
     
    12871287         if (.not.tracer) then 
    12881288            print*,'We need a CO2 ice tracer to condense CO2' 
    1289             call abort 
     1289            call abort_physiq 
    12901290         endif 
    12911291         call condense_cloud(ngrid,nlayer,nq,ptimestep,   & 
     
    13921392                  call planetwide_sumval(cpp*massarea(:,:)*dtlscale(:,:)/totarea_planet,dEtot) 
    13931393!                 if(isnan(dEtot)) then ! NB: isnan() is not a standard function... 
    1394 !                    print*,'Nan in largescale, abort' 
    1395 !                     STOP 
     1394!                    print*,'Nan in largescale, abort_physiq' 
     1395!                     CALL abort_physiq 
    13961396!                 endif 
    13971397                  if (is_master) print*,'In largescale atmospheric energy change =',dEtot,' W m-2' 
     
    17941794               print*,'temp=   ',pt(ig,:) 
    17951795               print*,'pplay=  ',pplay(ig,:) 
    1796                call abort 
     1796               call abort_physiq 
    17971797            endif 
    17981798         end do 
     
    18441844         print*,'As testradtimes enabled,' 
    18451845         print*,'exiting physics on first call' 
    1846          call abort 
     1846         call abort_physiq 
    18471847      endif 
    18481848 
Note: See TracChangeset for help on using the changeset viewer.