Changeset 1860 for LMDZ5/trunk/libf/dyn3dpar/parallel_lmdz.F90
- Timestamp:
- Sep 5, 2013, 12:52:02 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/trunk/libf/dyn3dpar/parallel_lmdz.F90
r1852 r1860 4 4 MODULE parallel_lmdz 5 5 USE mod_const_mpi 6 #ifdef CPP_IOIPSL 7 use IOIPSL, only: getin 8 #else 9 ! if not using IOIPSL, we still need to use (a local version of) getin 10 use ioipsl_getincom, only: getin 11 #endif 6 12 7 13 LOGICAL,SAVE :: using_mpi=.TRUE. … … 155 161 omp_size=OMP_GET_NUM_THREADS() 156 162 !$OMP END MASTER 163 !$OMP BARRIER 157 164 omp_rank=OMP_GET_THREAD_NUM() 165 166 !Config Key = omp_chunk 167 !Config Desc = taille des blocs openmp 168 !Config Def = 1 169 !Config Help = defini la taille des packets d'it�ration openmp 170 !Config distribue a chaque tache lors de l'entree dans une 171 !Config boucle parallelisee 172 173 !$OMP MASTER 174 omp_chunk=(llm+1)/omp_size 175 IF (MOD(llm+1,omp_size)/=0) omp_chunk=omp_chunk+1 176 CALL getin('omp_chunk',omp_chunk) 177 !$OMP END MASTER 178 !$OMP BARRIER 158 179 #else 159 180 omp_size=1
Note: See TracChangeset
for help on using the changeset viewer.