Ignore:
Timestamp:
Oct 6, 2008, 11:11:53 AM (16 years ago)
Author:
Laurent Fairhead
Message:
  • Modifs sur le parallelisme: masquage dans la physique
  • Inclusion strato
  • mise en coherence etat0
  • le mode offline fonctionne maintenant en parallele,
  • les fichiers de la dynamiques sont correctement sortis et peuvent etre reconstruit avec rebuild
  • la version parallele de la dynamique peut s'executer sans MPI (sur 1 proc)
  • L'OPENMP fonctionne maintenant sans la parallelisation MPI.

YM
LF

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ4/trunk/libf/phylmd/mod_phys_lmdz_omp_data.F90

    r775 r1001  
    77  INTEGER,SAVE :: omp_rank
    88  LOGICAL,SAVE :: is_omp_root
    9   LOGICAL,SAVE :: is_ok_omp
     9  LOGICAL,SAVE :: is_using_omp
    1010 
    1111  INTEGER,SAVE,DIMENSION(:),ALLOCATABLE :: klon_omp_para_nb
     
    2727    INTEGER :: i
    2828
    29 #ifdef _OPENMP   
     29#ifdef CPP_OMP   
    3030    INTEGER :: OMP_GET_NUM_THREADS
    3131    EXTERNAL OMP_GET_NUM_THREADS
     
    3434#endif 
    3535
    36 #ifdef _OPENMP
     36#ifdef CPP_OMP
    3737!$OMP MASTER
    38         is_ok_omp=.TRUE.
     38        is_using_omp=.TRUE.
    3939        omp_size=OMP_GET_NUM_THREADS()
    4040!$OMP END MASTER
    4141        omp_rank=OMP_GET_THREAD_NUM()   
    4242#else   
    43     is_ok_omp=.FALSE.
     43    is_using_omp=.FALSE.
    4444    omp_size=1
    4545    omp_rank=0
Note: See TracChangeset for help on using the changeset viewer.