Changeset 2014 for trunk/MESOSCALE


Ignore:
Timestamp:
Oct 18, 2018, 4:38:26 PM (6 years ago)
Author:
mlefevre
Message:

Modification on makemeso for the generic model

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MESOSCALE/LMD_MM_MARS/makemeso

    r1937 r2014  
    7474# makemeso -p mars_lmd_new   ## choose physics
    7575#             venus_lmd_new
     76#             generic_lmd_new             
    7677#
    7778# makemeso -f                ## fresh start [clean -a]
     
    677678  then
    678679    cd libf/phyvenus
     680  elif [[ "${phys}" == *"ganeric"* ]]
     681  then
     682    cd libf/phystd
    679683  fi
    680684  \rm dimphys.h 2> /dev/null
     
    727731      nohup ./makelmdz -debug -full -p venus -d 51 rcm1d -arch linux-ifort -cpp MESOSCALE  | tee libo/log_compile_phys | grep 'warnings' >> libo/log_compile_phys # on /u/ and /planeto/
    728732      nohup ./makelmdz --debug p venus -d 51 rcm1d -arch linux-ifort -cpp MESOSCALE  | tee libo/log_compile_phys | grep 'warnings' >> libo/log_compile_phys
     733    elif [[ "${phys}" == *"generic"* ]]
     734    then
     735      echo 'DEBUG DEBUG DEBUG DEBUG'
     736      nohup ./makelmdz -debug -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
    729737    fi
    730738  else
     
    743751      #nohup makelmdz -p venus -d 51 rcm1d -arch X64_OCCIGEN -cpp MESOSCALE  | tee libo/log_compile_phys | grep 'warnings' >> libo/log_compile_phys
    744752    fi
     753    elif [[ "${phys}" == *"generic"* ]]
     754    then
     755      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
     756
    745757  fi
    746758  echo ... done
     
    757769  then
    758770    cp -f LINUX*/*.a temp
    759   else #VENUS
     771  else #VENUS and GENERIC
    760772    cp -f linux*/*.a temp/ # on /u/ and /planeto/
    761773    #cp -f /home/mlefevre/modipsl/lib/libioipsl.a temp/ #on CICLAD
     
    769781   ar x libphymars.a
    770782   ar x libaeronomars.a
    771   else
     783  elif [[ "${phys}" == *"venus"* ]]
     784   then
    772785   ar x libphyvenus.a
    773786   ar x libmisc.a
    774787   ar x libphy_common.a
    775788   ar x libioipsl.a
     789  elif [[ "${phys}" == *"generic"* ]]
     790   then
     791   ar x libphystd.a
     792   ar x libmisc.a
     793   ar x libphy_common.a
     794   ar x libioipsl.a
    776795  fi
    777796  \rm *.a
     
    789808      # include modules for interfacing
    790809      mv  *.mod ../inc/
    791     elif [[ "${phys}" == *"venus"* ]] 
    792     then
     810    else
    793811      mv  ./libo/linux*/*.mod ../inc/ # on /u/ and /planeto/
    794812      #mv  ./libo/CICLAD*/*.mod ../inc/ # on CICLAD
Note: See TracChangeset for help on using the changeset viewer.