Changeset 2058


Ignore:
Timestamp:
Jan 9, 2019, 1:01:19 PM (6 years ago)
Author:
jleconte
Message:

on our way to compile mesoscale+generic with gfortran

Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.GENERIC/libf/phystd/dyn1d/rcm1d.F

    r1984 r2058  
    848848! Initialize chemical species
    849849! -----------------
     850#ifndef MESOSCALE
    850851      if(tracer.and.photochem) then
    851852           call initracer(1,nq,tname)
     
    856857           noms(1:nq)=nametmp(1:nq)
    857858      endif ! tracer and photochem
     859#endif
    858860
    859861
  • trunk/LMDZ.GENERIC/libf/phystd/physiq_mod.F90

    r2032 r2058  
    5757      use comm_wrf, only : comm_HR_SW, comm_HR_LW, &
    5858                           comm_CLOUDFRAC,comm_TOTCLOUDFRAC,&
     59                           comm_SURFRAIN,comm_REEVAP,comm_HR_DYN,&
    5960                           comm_RAIN,comm_SNOW,comm_ALBEQ,&
    6061                           comm_FLUXTOP_DN,comm_FLUXABS_SW,&
     
    777778      ! Compute mean mass, cp, and R
    778779      ! --------------------------------
    779 
     780#ifndef MESOSCALE
    780781      if(photochem) then
    781782         call concentrations(ngrid,nlayer,nq,pplay,pt,pdt,pq,pdq,ptimestep)
    782783      endif
     784#endif
    783785
    784786!---------------------------------
     
    13501352  ! -------------------------
    13511353
     1354#ifndef MESOSCALE
    13521355         IF (photochem) then
    13531356
     
    13851388
    13861389         END IF  ! of IF (photochem)
    1387 
     1390#endif
    13881391
    13891392
  • trunk/MESOSCALE/LMD_MM_MARS/SRC/WRFV2/phys/dynphy_wrf_generic_lmd_new/update_inputs_physiq_mod.F

    r2011 r2058  
    316316            M_ALBEDO,CST_AL,&
    317317            M_TSURF,M_EMISS,M_CO2ICE,&
    318             M_GW,M_Z0,CST_Z0&
     318            M_GW,M_Z0,CST_Z0,&
    319319            M_H2OICE,&
    320320            phisfi_val)
  • trunk/MESOSCALE/LMD_MM_MARS/makemeso

    r2037 r2058  
    1919###############################
    2020
    21 
     21###path to compiled version of ioipsl on your system for generic physics
     22pathioipsl='/home/leconte/script/ioipsl/modipsl/lib'
    2223
    2324##############################################################################################
     
    417418                       echo 15 | configure > log_compile 2> log_error
    418419                       sed -f physics.sed configure.wrf > yeah ; mv -f yeah configure.wrf 
    419                        sed s+"-L../$phys/libo -llmd"+"-L../$phys/libo -llmd $NETCDF/lib/libnetcdf.a"+g configure.wrf > yeah ; mv -f yeah configure.wrf ;;
     420                       sed s+"-L../$phys/libo -llmd"+"-lnetcdf -lnetcdff -L../$phys/libo -llmd $NETCDF/lib/libnetcdf.a -lnetcdf"+g configure.wrf > yeah ; mv -f yeah configure.wrf ;;
    420421                     # PGF90, 32 bits, no nesting
    421422     pgf_32_single)    echo 1 | configure > log_compile 2> log_error
     
    752753    elif [[ "${phys}" == *"generic"* ]]
    753754    then
    754       nohup ./makelmdz -t ${tra} -p std -b 36x32 -s 1 -d 25 rcm1d -arch X64_MESU -cpp MESOSCALE | tee libo/log_compile_phys | grep 'warnings' >> libo/log_compile_phys #Proxb
     755      nohup ./makelmdz -t 1 -p std -b 38x36 -full -s 1 -d 25 rcm1d -arch mascaret_gfortran_para -cpp MESOSCALE | tee libo/log_compile_phys | grep 'warnings' >> libo/log_compile_phys #Proxb
     756      nohup ./makelmdz -t 1 -p std -b 38x36 -s 1 -d 25 rcm1d -arch mascaret_gfortran_para -cpp MESOSCALE | tee libo/log_compile_phys | grep 'warnings' >> libo/log_compile_phys #Proxb
    755757    fi
    756758  fi
     
    769771    cp -f LINUX*/*.a temp
    770772  else #VENUS and GENERIC
    771     cp -f linux*/*.a temp/ # on /u/ and /planeto/
     773#    cp -f linux*/*.a temp/ # on /u/ and /planeto/
     774    cp -f */*.a temp/ # on /u/ and /planeto/
    772775    #cp -f /home/mlefevre/modipsl/lib/libioipsl.a temp/ #on CICLAD
    773776    #cp -f X64*/*.a temp #on MESU and OCCIGEN
    774     cp -f ../ioipsl/libioipsl.a temp/
     777    cp -f $pathioipsl/libioipsl.a temp/
    775778  fi
    776779  cd temp
     
    808811      mv  *.mod ../inc/
    809812    else
    810       mv  ./libo/linux*/*.mod ../inc/ # on /u/ and /planeto/
     813#      mv  ./libo/linux*/*.mod ../inc/ # on /u/ and /planeto/
     814      mv  ./libo/*/*.mod ../inc/ # on /u/ and /planeto/
    811815      #mv  ./libo/CICLAD*/*.mod ../inc/ # on CICLAD
    812816      #mv  ./libo/X64*/*.mod ../inc/ # on MESU and OCCIGEN
    813       cp -f ./ioipsl/*.mod ../inc/
     817      cp -f $pathioipsl/*.mod ../inc/
    814818    fi
    815819  fi
Note: See TracChangeset for help on using the changeset viewer.