Changeset 1858 for LMDZ5/trunk/libf
- Timestamp:
- Sep 3, 2013, 11:32:25 AM (11 years ago)
- Location:
- LMDZ5/trunk/libf/dyn3dmem
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/trunk/libf/dyn3dmem/conf_gcm.F
r1823 r1858 17 17 use mod_filtre_fft_loc, ONLY : use_filtre_fft_loc=>use_filtre_fft 18 18 use mod_hallo, ONLY : use_mpi_alloc 19 USE parallel_lmdz, ONLY : omp_chunk20 19 USE infotrac, ONLY : type_trac 21 20 use assert_m, only: assert … … 908 907 use_mpi_alloc=.FALSE. 909 908 CALL getin('use_mpi_alloc',use_mpi_alloc) 910 911 !Config Key = omp_chunk912 !Config Desc = taille des blocs openmp913 !Config Def = 1914 !Config Help = defini la taille des packets d'it�ration openmp915 !Config distribu�e � chaque t�che lors de l'entr�e dans une916 !Config boucle parall�lis�e917 918 omp_chunk=1919 CALL getin('omp_chunk',omp_chunk)920 909 921 910 !Config key = ok_strato … … 1006 995 write(lunout,*)' use_filtre_fft = ', use_filtre_fft 1007 996 write(lunout,*)' use_mpi_alloc = ', use_mpi_alloc 1008 write(lunout,*)' omp_chunk = ', omp_chunk1009 997 write(lunout,*)' ok_strato = ', ok_strato 1010 998 write(lunout,*)' ok_gradsfile = ', ok_gradsfile -
LMDZ5/trunk/libf/dyn3dmem/parallel_lmdz.F90
r1856 r1858 4 4 MODULE parallel_lmdz 5 5 USE mod_const_mpi 6 6 #ifdef CPP_IOIPSL 7 use IOIPSL 8 #else 9 ! if not using IOIPSL, we still need to use (a local version of) getin 10 use ioipsl_getincom 11 #endif 7 12 INTEGER,PARAMETER :: halo_max=3 8 13 … … 221 226 omp_size=OMP_GET_NUM_THREADS() 222 227 !$OMP END MASTER 223 omp_rank=OMP_GET_THREAD_NUM() 228 omp_rank=OMP_GET_THREAD_NUM() 229 230 !Config Key = omp_chunk 231 !Config Desc = taille des blocs openmp 232 !Config Def = 1 233 !Config Help = defini la taille des packets d'it�ration openmp 234 !Config distribue a chaque tache lors de l'entree dans une 235 !Config boucle parallelisee 236 237 omp_chunk=(llm+1)/omp_size 238 IF (MOD(llm+1,omp_size)/=0) omp_chunk=omp_chunk+1 239 CALL getin('omp_chunk',omp_chunk) 240 224 241 #else 225 242 omp_size=1
Note: See TracChangeset
for help on using the changeset viewer.