Changeset 3491 for LMDZ6/trunk
- Timestamp:
- May 2, 2019, 3:03:32 PM (6 years ago)
- Location:
- LMDZ6/trunk
- Files:
-
- 38 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/trunk/libf/phylmd/physiq_mod.F90
r3490 r3491 4582 4582 #endif 4583 4583 4584 #ifdef CPP_COSPV2 4585 IF (itap.eq.1.or.MOD(itap,NINT(freq_cosp/phys_tstep)).EQ.0) THEN 4586 4587 IF (prt_level .GE.10) THEN 4588 print*,'freq_cosp',freq_cosp 4589 ENDIF 4590 mr_ozone=wo(:, :, 1) * dobson_u * 1e3 / zmasse 4591 print*,'Dans physiq.F avant appel ' 4592 ! s ref_liq,ref_ice 4593 CALL lmdz_cosp_interface(itap,phys_tstep,freq_cosp, & 4594 ok_mensuelCOSP,ok_journeCOSP,ok_hfCOSP, & 4595 ecrit_mth,ecrit_day,ecrit_hf, ok_all_xml, missing_val, & 4596 klon,klev,longitude_deg,latitude_deg,presnivs,overlap, & 4597 JrNt,ref_liq,ref_ice, & 4598 pctsrf(:,is_ter)+pctsrf(:,is_lic), & 4599 zu10m,zv10m,pphis, & 4600 zphi,paprs(:,1:klev),pplay,zxtsol,t_seri, & 4601 qx(:,:,ivap),zx_rh,cldfra,rnebcon,flwc,fiwc, & 4602 prfl(:,1:klev),psfl(:,1:klev), & 4603 pmflxr(:,1:klev),pmflxs(:,1:klev), & 4604 mr_ozone,cldtau, cldemi) 4605 ENDIF 4606 #endif 4607 4584 4608 ENDIF !ok_cosp 4585 4609 -
LMDZ6/trunk/makegcm
r3359 r3491 40 40 set cosp=false 41 41 set cosp2=false 42 set cospv2=false 42 43 set sisvat=false 43 44 … … 202 203 set lcosp="" 203 204 set lcosp2="" 205 set lcospv2="" 204 206 set opt_dep="" 205 207 set libchimie="" … … 447 449 Pour compiler avec cosp2 448 450 451 -cospv2 true|false 452 Pour compiler avec cospv2 453 449 454 -filtre filtre 450 455 Pour choisir le filtre en longitude dans les regions polaires. … … 509 514 set cosp2="$2"; shift ; shift ; goto top 510 515 516 case -cospv2 517 set cospv2="$2"; shift ; shift ; goto top 511 518 case -sisvat 512 519 set sisvat="$2" ; shift ; shift ; goto top … … 598 605 endif 599 606 607 if ( "$cospv2" == 'true' ) then 608 set cppflags="$cppflags -DCPP_COSPV2" 609 set include="$include"' -I$(LIBF)/cospv2 ' 610 set opt_dep="$opt_dep cospv2" 611 set lcospv2="-lcospv2 " 612 if ( $XNEC || $X8BRODIE || $X6NEC) then 613 set lcospv2="-lsxcospv2 " 614 endif 615 set opt_link="$lcospv2 $opt_link" 616 endif 617 618 600 619 if ( "$sisvat" == 'true' ) then 601 620 set cppflags="$cppflags -DCPP_SISVAT" … … 1105 1124 L_COSP="$lcosp" \ 1106 1125 L_COSP2="$lcosp2" \ 1126 L_COSPV2="$lcospv2" \ 1107 1127 L_CHIMIE="$libchimie" \ 1108 1128 LOCAL_DIR="$localdir" \ … … 1133 1153 L_COSP="$lcosp" \ 1134 1154 L_COSP2="$lcosp2" \ 1155 L_COSPV2="$lcospv2" \ 1135 1156 L_CHIMIE="$libchimie" \ 1136 1157 LOCAL_DIR="$localdir" \ -
LMDZ6/trunk/makelmdz
r3435 r3491 26 26 cosp=false 27 27 cosp2=false 28 cospv2=false 28 29 sisvat=false 29 30 rrtm=false … … 119 120 [-cosp true/false] : compile with/without cosp package (default: false) 120 121 [-cosp2 true/false] : compile with/without cosp2 package (default: false) 122 [-cospv2 true/false] : compile with/without cospv2 package (default: false) 121 123 [-sisvat true/false] : compile with/without sisvat package (default: false) 122 124 [-rrtm true/false] : compile with/without rrtm package (default: false) … … 184 186 "-cosp2") 185 187 cosp2="$2" ; shift ; shift ;; 188 189 "-cosp2") 190 cospv2="$2" ; shift ; shift ;; 186 191 187 192 "-sisvat") … … 498 503 src_dirs="$src_dirs phy${physique}/cosp2" 499 504 INCLUDE="$INCLUDE"' -I$(LIBF)/'phy${physique}'/cosp2' 505 fi 506 507 if [[ "$cospv2" == "true" ]] 508 then 509 CPP_KEY="$CPP_KEY CPP_COSPV2" 510 src_dirs="$src_dirs phy${physique}/cospv2" 511 INCLUDE="$INCLUDE"' -I$(LIBF)/'phy${physique}'/cospv2' 500 512 fi 501 513 … … 776 788 L_COSP="$lcosp" \ 777 789 L_COSP2="$lcosp2" \ 790 L_COSPV2="$lcospv2" \ 778 791 L_CHIMIE="$libchimie" \ 779 792 LOCAL_DIR="$localdir" \ … … 810 823 L_COSP="$lcosp" \ 811 824 L_COSP2="$lcosp2" \ 825 L_COSPV2="$lcospv2" \ 812 826 L_CHIMIE="$libchimie" \ 813 827 LOCAL_DIR="$localdir" \ -
LMDZ6/trunk/makelmdz_fcm
r3435 r3491 35 35 cosp=false 36 36 cosp2=false 37 cospv2=false 37 38 job=1 38 39 full='' … … 57 58 SISVAT_PATH=$LMDGCM/.void_dir 58 59 COSP_PATH=$LMDGCM/.void_dir 59 COSP2_PATH=$LMDGCM/.void_dir60 60 fcm_path=$LMDGCM/tools/fcm/bin 61 61 … … 97 97 [-cosp true/false] : compile with/without cosp package (default: false) 98 98 [-cosp2 true/false] : compile with/without cosp2 package (default: false) 99 [-cospv2 true/false] : compile with/without cospv2 package (default: false) 99 100 [-sisvat true/false] : compile with/without sisvat package (default: false) 100 101 [-rrtm true/false] : compile with/without rrtm package (default: false) … … 182 183 "-cosp2") 183 184 cosp2="$2" ; shift ; shift ;; 185 186 "-cospv2") 187 cospv2="$2" ; shift ; shift ;; 184 188 185 189 "-mem") … … 462 466 fi 463 467 468 if [[ "$cospv2" == "true" ]] 469 then 470 CPP_KEY="$CPP_KEY CPP_COSPV2" 471 COSP_PATH="$LIBFGCM/phylmd/cospv2" 472 # LIB="${LIB} -l${LIBPREFIX}cosp2" 473 fi 474 475 464 476 465 477 INCLUDE="$INCLUDE ${NETCDF_INCDIR}" … … 670 682 echo "%SISVAT $SISVAT_PATH" >> $config_fcm 671 683 echo "%COSP $COSP_PATH" >> $config_fcm 672 echo "%COSP2 $COSP2_PATH" >> $config_fcm673 684 echo "%CPP_KEY $CPP_KEY" >> $config_fcm 674 685 echo "%EXEC $code" >> $config_fcm
Note: See TracChangeset
for help on using the changeset viewer.