Ignore:
Timestamp:
12/02/14 19:21:00 (10 years ago)
Author:
milmd
Message:

Less output messages are written. On 20000 cores it is better. In LMDZ, only master of MPI and OpenMP can write.

File:
1 edited

Legend:

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

    r227 r298  
    1818 
    1919      use gases_h 
     20      use mod_phys_lmdz_para, only : is_master 
    2021      implicit none 
    2122 
     
    8687      cpp_c = 1000.0*cpp_c 
    8788 
     89      if (is_master) then 
    8890      print*,'Cp in calc_cpp_mugaz is ',cpp_c,'J kg^-1 K^-1' 
    8991      print*,'Mg in calc_cpp_mugaz is ',mugaz_c,'amu' 
    9092      print*,'Predefined Cp in physics is ',cpp,'J kg^-1 K^-1' 
    9193      print*,'Predefined Mg in physics is ',mugaz,'amu' 
     94      end if 
    9295 
    9396      if (check_cpp_match) then 
    94          print*,'REQUEST TO CHECK cpp_match :' 
     97         if (is_master) print*,'REQUEST TO CHECK cpp_match :' 
    9598         if((abs(1.-cpp/cpp_c).gt.1.e-6) .or.  & 
    9699              (abs(1.-mugaz/mugaz_c).gt.1.e-6)) then 
     
    101104            stop 
    102105         else 
    103             print*,'--> OK. Settings match composition.' 
     106            if (is_master) print*,'--> OK. Settings match composition.' 
    104107         endif 
    105108      endif 
    106109 
    107110      if (.not.force_cpp) then 
    108           print*,'*** Setting cpp & mugaz to computations in calc_cpp_mugaz.' 
     111          if (is_master) print*,'*** Setting cpp & mugaz to computations in calc_cpp_mugaz.' 
    109112          mugaz = mugaz_c 
    110113          cpp = cpp_c 
    111114      else 
    112           print*,'*** Setting cpp & mugaz to predefined values.' 
     115          if (is_master) print*,'*** Setting cpp & mugaz to predefined values.' 
    113116      endif 
    114117 
Note: See TracChangeset for help on using the changeset viewer.