Changeset 271 for trunk/LMDZ.COMMON/libf/dyn3dpar
- Timestamp:
- Aug 19, 2011, 9:17:40 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.COMMON/libf/dyn3dpar/conf_gcm.F
r270 r271 1 1 ! 2 ! $Id: conf_gcm.F 14 18 2010-07-19 15:11:24Z jghattas $2 ! $Id: conf_gcm.F 1438 2010-10-08 10:19:34Z jghattas $ 3 3 ! 4 4 c … … 6 6 SUBROUTINE conf_gcm( tapedef, etatinit ) 7 7 c 8 USE control_mod9 8 #ifdef CPP_IOIPSL 10 9 use IOIPSL … … 13 12 use ioipsl_getincom 14 13 #endif 14 use misc_mod 15 use mod_filtre_fft, ONLY : use_filtre_fft 16 use mod_hallo, ONLY : use_mpi_alloc 17 use parallel, ONLY : omp_chunk 18 USE control_mod 15 19 IMPLICIT NONE 16 20 c----------------------------------------------------------------------- … … 33 37 #include "serre.h" 34 38 #include "comdissnew.h" 39 !#include "clesphys.h" 40 #include "iniprint.h" 35 41 #include "temps.h" 36 42 #include "comconst.h" 37 43 38 44 ! FH 2008/05/09 On elimine toutes les clefs physiques dans la dynamique 39 ! #include "clesphys.h"40 #include "iniprint.h"41 45 c 42 46 c … … 49 53 LOGICAL fxyhypbb, ysinuss 50 54 INTEGER i 51 LOGICAL use_filtre_fft55 52 56 c 53 57 c ------------------------------------------------------------------- … … 78 82 c initialisations: 79 83 c ---------------- 80 84 adjust=.false. 85 call getin('adjust',adjust) 86 87 itaumax=0 88 call getin('itaumax',itaumax); 89 if (itaumax<=0) itaumax=HUGE(itaumax) 90 81 91 !Config Key = lunout 82 92 !Config Desc = unite de fichier pour les impressions … … 180 190 181 191 !Config Key = nsplit_phys 182 !Config Desc = nombre de subdivisions par pas physique 183 !Config Def = 1 184 !Config Help = nombre de subdivisions par pas physique 192 !Config Desc = nombre d'iteration de la physique 193 !Config Def = 240 194 !Config Help = nombre d'itration de la physique 195 ! 185 196 nsplit_phys = 1 186 197 CALL getin('nsplit_phys',nsplit_phys) … … 330 341 CALL getin('tau_top_bound',tau_top_bound) 331 342 343 ! 332 344 !Config Key = coefdis 333 345 !Config Desc = coefficient pour gamdissip … … 396 408 ip_ebil_dyn = 0 397 409 CALL getin('ip_ebil_dyn',ip_ebil_dyn) 410 ! 411 398 412 399 413 ccc .... P. Le Van , ajout le 7/03/95 .pour le zoom ... … … 600 614 offline = .FALSE. 601 615 CALL getin('offline',offline) 602 616 IF (offline .AND. adjust) THEN 617 WRITE(lunout,*) 618 & 'WARNING : option offline does not work with adjust=y :' 619 WRITE(lunout,*) 'the files defstoke.nc, fluxstoke.nc ', 620 & 'and fluxstokev.nc will not be created' 621 WRITE(lunout,*) 622 & 'only the file phystoke.nc will still be created ' 623 END IF 624 603 625 !Config Key = config_inca 604 626 !Config Desc = Choix de configuration de INCA … … 634 656 ok_dyn_ave = .FALSE. 635 657 CALL getin('ok_dyn_ave',ok_dyn_ave) 636 637 658 638 659 write(lunout,*)' #########################################' … … 649 670 write(lunout,*)' day_step = ', day_step 650 671 write(lunout,*)' iperiod = ', iperiod 672 write(lunout,*)' nsplit_phys = ', nsplit_phys 651 673 write(lunout,*)' iconser = ', iconser 652 674 write(lunout,*)' iecri = ', iecri … … 795 817 offline = .FALSE. 796 818 CALL getin('offline',offline) 819 IF (offline .AND. adjust) THEN 820 WRITE(lunout,*) 821 & 'WARNING : option offline does not work with adjust=y :' 822 WRITE(lunout,*) 'the files defstoke.nc, fluxstoke.nc ', 823 & 'and fluxstokev.nc will not be created' 824 WRITE(lunout,*) 825 & 'only the file phystoke.nc will still be created ' 826 END IF 797 827 798 828 !Config Key = config_inca … … 807 837 808 838 !Config Key = ok_dynzon 809 !Config Desc = sortie des transports zonaux dans la dynamique839 !Config Desc = calcul et sortie des transports 810 840 !Config Def = n 811 !Config Help = 841 !Config Help = Permet de mettre en route le calcul des transports 812 842 !Config 813 ok_dynzon = .FALSE.814 843 ok_dynzon = .FALSE. 844 CALL getin('ok_dynzon',ok_dynzon) 815 845 816 846 !Config Key = ok_dyn_ins … … 834 864 !Config Def = false 835 865 !Config Help = permet d'activer l'utilisation des FFT pour effectuer 836 !Config le filtrage aux poles. 837 ! Le filtre fft n'est pas implemente dans dyn3d 866 !Config le filtrage aux poles. 838 867 use_filtre_fft=.FALSE. 839 868 CALL getin('use_filtre_fft',use_filtre_fft) 840 869 841 IF (use_filtre_fft) THEN 842 write(lunout,*)'STOP !!!' 843 write(lunout,*)'use_filtre_fft n est pas implemente dans dyn3d' 844 STOP 870 IF (use_filtre_fft .AND. grossismx /= 1.0) THEN 871 write(lunout,*)'WARNING !!! ' 872 write(lunout,*)"Le zoom en longitude est incompatible", 873 & " avec l'utilisation du filtre FFT ", 874 & "---> filtre FFT désactivé " 875 use_filtre_fft=.FALSE. 845 876 ENDIF 846 877 878 879 880 !Config Key = use_mpi_alloc 881 !Config Desc = Utilise un buffer MPI en m�moire globale 882 !Config Def = false 883 !Config Help = permet d'activer l'utilisation d'un buffer MPI 884 !Config en m�moire globale a l'aide de la fonction MPI_ALLOC. 885 !Config Cela peut am�liorer la bande passante des transferts MPI 886 !Config d'un facteur 2 887 use_mpi_alloc=.FALSE. 888 CALL getin('use_mpi_alloc',use_mpi_alloc) 889 890 !Config Key = omp_chunk 891 !Config Desc = taille des blocs openmp 892 !Config Def = 1 893 !Config Help = defini la taille des packets d'it�ration openmp 894 !Config distribu�e � chaque t�che lors de l'entr�e dans une 895 !Config boucle parall�lis�e 896 897 omp_chunk=1 898 CALL getin('omp_chunk',omp_chunk) 899 847 900 !Config key = ok_strato 848 901 !Config Desc = activation de la version strato … … 922 975 write(lunout,*)' offline = ', offline 923 976 write(lunout,*)' config_inca = ', config_inca 924 write(lunout,*)' ok_dynzon = ', ok_dynzon 977 write(lunout,*)' ok_dynzon = ', ok_dynzon 925 978 write(lunout,*)' ok_dyn_ins = ', ok_dyn_ins 926 979 write(lunout,*)' ok_dyn_ave = ', ok_dyn_ave 980 write(lunout,*)' use_filtre_fft = ', use_filtre_fft 981 write(lunout,*)' use_mpi_alloc = ', use_mpi_alloc 982 write(lunout,*)' omp_chunk = ', omp_chunk 927 983 write(lunout,*)' ok_strato = ', ok_strato 928 984 write(lunout,*)' ok_gradsfile = ', ok_gradsfile
Note: See TracChangeset
for help on using the changeset viewer.