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/iniorbit.F

    r227 r298  
    44      USE planete_mod, only: apoastr, periastr, year_day, obliquit, 
    55     &                       peri_day, e_elips, p_elips, timeperi 
     6      USE mod_phys_lmdz_para, only : is_master 
    67      IMPLICIT NONE 
    78 
     
    6768      !!!! We hope that all cases are above 25 Mkm [OK with Gliese 581d] 
    6869      IF ( apoastr .gt. 25.) THEN 
     70        IF (is_master) THEN 
    6971        PRINT*,'!!!!! WARNING !!!!!' 
    7072        PRINT*,'!!!!! YOU ARE ABOUT TO WITNESS A DIRT HACK !!!!!' 
     
    7375        PRINT*,'So I am assuming units are in Mkm here' 
    7476        PRINT*,'and I am performing a conversion towards AU.' 
     77        END IF 
    7578        periastr = periastr / 149.598 ! Mkm to AU 
    7679        apoastr = apoastr / 149.598 ! Mkm to AU 
     
    8083 
    8184  
    82       PRINT*,'Periastron in AU  ',periastr 
    83       PRINT*,'Apoastron in AU  ',apoastr  
    84       PRINT*,'Obliquity in degrees  :',obliquit 
     85      IF (is_master) PRINT*,'Periastron in AU  ',periastr 
     86      IF (is_master) PRINT*,'Apoastron in AU  ',apoastr  
     87      IF (is_master) PRINT*,'Obliquity in degrees  :',obliquit 
    8588 
    8689 
     
    8891      p_elips=0.5*(periastr+apoastr)*(1-e_elips*e_elips) 
    8992 
    90       print*,'e_elips',e_elips 
    91       print*,'p_elips',p_elips 
     93      IF (is_master) print*,'e_elips',e_elips 
     94      IF (is_master) print*,'p_elips',p_elips 
    9295 
    9396c----------------------------------------------------------------------- 
     
    100103      zanom=2.*pi*(zz-nint(zz)) 
    101104      zxref=abs(zanom) 
    102       PRINT*,'zanom  ',zanom 
     105      IF (is_master) PRINT*,'zanom  ',zanom 
    103106 
    104107c  resolution de l'equation horaire  zx0 - e * sin (zx0) = zxref 
     
    114117      zx0=zx0+zdx 
    115118      if(zanom.lt.0.) zx0=-zx0 
    116       PRINT*,'zx0   ',zx0 
     119      IF (is_master) PRINT*,'zx0   ',zx0 
    117120 
    118121c zteta est la longitude solaire 
    119122 
    120123      timeperi=2.*atan(sqrt((1.+e_elips)/(1.-e_elips))*tan(zx0/2.)) 
    121       PRINT*,'Solar longitude of periastron timeperi = ',timeperi 
     124      IF (is_master) PRINT*,'Solar longitude of periastron', 
     125     &          ' timeperi = ',timeperi 
    122126 
    123127      RETURN 
Note: See TracChangeset for help on using the changeset viewer.