Changeset 330
- Timestamp:
- Oct 25, 2011, 10:10:00 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 3 added
- 8 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/libf/phymars/dimradmars.h
r148 r330 49 49 50 50 ! Warning : the "nir" thermal IR bands are not ordered by wavelength: 51 ! iir=1 : central 15um CO2 bands \51 ! iir=1 : central 15um CO2 bands 52 52 ! iir=2 : CO2 band wings [long1co2-long2co2] MINUS central band 53 53 ! iir=3 : 9 um band [long1ir - long1co2] -
trunk/LMDZ.MARS/libf/phymars/meso_inc/meso_inc_les.F
r290 r330 1 if ( callrichsl .eq. .false.) then1 if (.not.callrichsl) then 2 2 3 3 DO ig=1,ngrid -
trunk/LMDZ.MARS/libf/phymars/physiq.F
r319 r330 89 89 c pt(ngrid,nlayer) Temperature (K) 90 90 c pq(ngrid,nlayer,nq) Advected fields 91 c pudyn(ngrid,nlayer) \92 c pvdyn(ngrid,nlayer) \Dynamical temporal derivative for the93 c ptdyn(ngrid,nlayer) /corresponding variables94 c pqdyn(ngrid,nlayer,nq) /91 c pudyn(ngrid,nlayer) | 92 c pvdyn(ngrid,nlayer) | Dynamical temporal derivative for the 93 c ptdyn(ngrid,nlayer) | corresponding variables 94 c pqdyn(ngrid,nlayer,nq) | 95 95 c pw(ngrid,?) vertical velocity 96 96 c … … 98 98 c ------- 99 99 c 100 c pdu(ngrid,nlayermx) \101 c pdv(ngrid,nlayermx) \Temporal derivative of the corresponding102 c pdt(ngrid,nlayermx) /variables due to physical processes.103 c pdq(ngrid,nlayermx,nqmx) /104 c pdpsrf(ngrid) /100 c pdu(ngrid,nlayermx) | 101 c pdv(ngrid,nlayermx) | Temporal derivative of the corresponding 102 c pdt(ngrid,nlayermx) | variables due to physical processes. 103 c pdq(ngrid,nlayermx,nqmx) | 104 c pdpsrf(ngrid) | 105 105 c tracerdyn call tracer in dynamical part of GCM ? 106 106 … … 1773 1773 if (calltherm .and. (z_out .gt. 0.)) then 1774 1774 call surflayer_interpol(ngrid,nlayer,z0,g,zzlay,zu,zv,wmax_th 1775 & ,tsurf,zh,z_out,Teta_out,u_out,ustar,tstar )1775 & ,tsurf,zh,z_out,Teta_out,u_out,ustar,tstar,L_mo) 1776 1776 1777 1777 zu2(:)=sqrt(zu(:,1)*zu(:,1)+zv(:,1)*zv(:,1)) -
trunk/LMDZ.MARS/libf/phymars/thermcell_dqupdown.F90
r313 r330 212 212 if ((q(ig,k) .gt. 0.) .and. ( q(ig,k) .gt. 1.e-15 )) then 213 213 !! only print if it is the thermal scheme which makes qa<0 214 print*,'qa<0 created by thermals!!!',charvar,ig,k,fm0(ig,k),qa(ig,k-1),entr0(ig,k),q(ig,k),fm0(ig,k+1),detr0(ig,k) 214 print*,'qa<0 created by thermals!!!',charvar,ig,k, & 215 & fm0(ig,k),qa(ig,k-1), & 216 & entr0(ig,k),q(ig,k),fm0(ig,k+1),detr0(ig,k) 215 217 print*,'---------> Cancelling qa' 216 218 endif -
trunk/MESOSCALE/LMD_MM_MARS/SRC/WRFV2/mars_lmd_new/makegcm_g95
r86 r330 152 152 #setenv localdir "LOCAL_DIR=`pwd`" 153 153 #setenv localdir "`pwd`" 154 cd $model154 d $model 155 155 if $CRAY then 156 156 set optim90="-Wp'-P' -DCRAY "'-p$(LIBO) -eiv ' … … 180 180 else if $LINUX then 181 181 # Ehouarn 'g95' compiler 182 # Aymeric : added option for NETCDF libraries 183 set optim90=" -DMESOSCALE -O2 -fno-second-underscore -fstatic -fzero -Wall " 184 set optimtru90=" -DMESOSCALE -O2 -fno-second-underscore -fstatic -fzero -Wall " 182 set optim="-O3 -fstatic -funroll-loops -fno-second-underscore -DMESOSCALE" 183 set optim90=" -O3 -fstatic -funroll-loops -fno-second-underscore -DMESOSCALE" 184 set optimtru90=" -O3 -fstatic -funroll-loops -fno-second-underscore -DMESOSCALE" 185 ## Aymeric : added option for NETCDF libraries 186 # set optim90=" -DMESOSCALE -O2 -fno-second-underscore -fstatic -fzero -Wall 187 # set optimtru90=" -DMESOSCALE -O2 -fno-second-underscore -fstatic -fzero -Wall 185 188 # set opt_link=" -Mfree -L/usr/local/pgi/linux86/lib -lpgf90 -lpgftnrtl -lpghpf -lpghpf2 -L$NCDFLIB -lnetcdf -Wl,-Bstatic " 186 189 # Ehouarn: there is no /usr/local/pgi/linux86/lib, but it doesn't matter … … 339 342 340 343 case -O: 341 set optim90="$2" ; shift ; shift ; goto top 344 # set optim90="$2" ; shift ; shift ; goto top 345 set optim="$2" ; set optim90="$2" ; set optimtru90="$2" ; shift ; shift ; goto top 342 346 343 347 case -p … … 375 379 set optim90="$optim90"" -G1 " 376 380 else if $LINUX then 377 # set optim90="-g -Mbounds " 378 # set optim90="-mcmodel=medium" 379 # Aymeric : thought I'd complete the g95 debugging 380 set optim="$optim"" -g -fbounds-check -DMESOSCALE " 381 set optim90="$optim90"" -g -fbounds-check -DMESOSCALE " 382 set optimtru90="$optimtru90"" -g -fbounds-check -DMESOSCALE " 381 ## set optim90="-g -Mbounds " 382 ## set optim90="-mcmodel=medium" 383 ## Aymeric : thought I'd complete the g95 debugging 384 # set optim="$optim"" -g -fbounds-check -DMESOSCALE " 385 # set optim90="$optim90"" -g -fbounds-check -DMESOSCALE " 386 # set optimtru90="$optimtru90"" -g -fbounds-check -DMESOSCALE " 387 ## for g95 388 set optim="-g -Wall -ftrace=full -fbounds-check -DMESOSCALE" 389 set optim90="-g -Wall -ftrace=full -fbounds-check -DMESOSCALE" 390 set optimtru90="-g -Wall -ftrace=full -fbounds-check -DMESOSCALE" 383 391 else 384 392 echo "pas d option debug predefinie pour cette machine" … … 523 531 # Build the appropriate 'dimensions.h' file 524 532 cd dimension 525 makdim $ntrac $dim533 ./makdim $ntrac $dim 526 534 # echo contents of dimensions.h to standard output 527 535 cat $libf/grid/dimensions.h … … 751 759 else if $LINUX then 752 760 # Ehouarn : adapt to g95 761 set optim="$optim -fmod=$libo" 753 762 set optim90="$optim90 -fmod=$libo" 754 763 set optimtru90="$optimtru90 -fmod=$libo" … … 772 781 echo $make -f $LMDGCM/makefile \ 773 782 OPTION_DEP="$opt_dep" OPTION_LINK="$opt_link" \ 783 OPTIM="$optim" \ 774 784 OPTIM90="$optim90" \ 775 785 OPTIMTRU90="$optimtru90" \ … … 796 806 $make -f $LMDGCM/makefile \ 797 807 OPTION_DEP="$opt_dep" OPTION_LINK="$opt_link" \ 808 OPTIM="$optim" \ 798 809 OPTIM90="$optim90" \ 799 810 OPTIMTRU90="$optimtru90" \ … … 817 828 PROG=$code 818 829 830 # cleanup, remove dimensions.h 819 831 \rm $libf/grid/dimensions.h -
trunk/MESOSCALE/LMD_MM_MARS/makemeso
r318 r330 389 389 # PGF90, 64 bits, no nesting 390 390 pgf_64_single) echo 1 | configure > log_compile 2> log_error 391 #### the following line is necessary because readtesassim has a line "use netcdf" in it! 392 #sed s+"-L../mars_lmd/libo -llmd"+"-L../mars_lmd/libo -llmd $NETCDF/lib/libnetcdf.a"+g configure.wrf > yeah ; mv -f yeah configure.wrf 391 393 sed -f mars.sed configure.wrf > yeah ; mv -f yeah configure.wrf ;; 392 394 # PGF90, 64 bits, nesting … … 400 402 g95_64_single) cd arch ; sed s/"PC Linux i486 i586 i686, g95 compiler"/"PC Linux i486 i586 i686 x86_64, g95 compiler"/g configure.defaults > yeahyeahyeah ; rm configure.defaults ; mv yeahyeahyeah configure.defaults ; cd .. 401 403 echo 14 | configure > log_compile 2> log_error 404 ##### marche pas .... 405 #sed s+"-fno-second-underscore"+""+g configure.wrf > yeah ; mv -f yeah configure.wrf 406 #sed -f mars.sed configure.wrf > yeah ; mv -f yeah configure.wrf 407 #sed s+"-L../mars_lmd/libo -llmd"+"-L../mars_lmd/libo -llmd $NETCDF/lib/libnetcdf.a"+g configure.wrf > yeah ; mv -f yeah configure.wrf ;; 402 408 sed -f mars.sed configure.wrf > yeah ; mv -f yeah configure.wrf ;; 403 409 #sed s+"= g95"+"= /home/physastro/aspiga/mysoft/g95/g95-install/bin/x86_64-unknown-linux-gnu-g95"+g configure.wrf > yeah ; mv -f yeah configure.wrf;; -
trunk/MESOSCALE_DEV/NETCDF/g95_netcdf
r27 r330 5 5 ### 6 6 7 wget http://www.lmd.jussieu.fr/~hourdin/PATCH_LMDZ4OR_G95/netcdf-3.6.1.tar.gz8 gunzip netcdf-3.6.1.tar.gz7 #wget http://www.lmd.jussieu.fr/~hourdin/PATCH_LMDZ4OR_G95/netcdf-3.6.1.tar.gz 8 #gunzip netcdf-3.6.1.tar.gz 9 9 tar xvf netcdf-3.6.1.tar 10 10 -
trunk/MESOSCALE_DEV/NOTES.txt
r295 r330 1 faire la carte des z0 1 --- sur nouvelles machines problemes run parallele avec nouvelle physique 2 3 --- makegcm_g95 ne marche pas avec -no-second-underscore 4 marche sans et semble compiler correctement 5 6 --- conflits quelque soit la combinaison (f-no-second-underscore ou pas) lors 7 de la compilation du dynamical core WRF avec g95 64 bits 8 http://forum.wrfforum.com/viewtopic.php?f=5&t=3467 9 10 11 gfortran https://bi.offis.de/wisent/tiki-index.php?page=WRF-gFortran 12 2 13 3 14 cc-----------------------------------
Note: See TracChangeset
for help on using the changeset viewer.