Changeset 2016 for LMDZ5/trunk/makelmdz


Ignore:
Timestamp:
Apr 16, 2014, 1:39:42 AM (11 years ago)
Author:
fhourdin
Message:

Modification de create_make_gcm et makelmdz pour la compilation 1D.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ5/trunk/makelmdz

    r1990 r2016  
    8484
    8585CPP_KEY=""
    86 INCLUDE='-I$(LIBF)/grid -I$(LIBF)/bibio -I$(LIBF)/dyn3d_common -I$(LIBF)/filtrez -I. '
     86INCLUDE='-I$(LIBF)/grid -I$(LIBF)/bibio -I$(LIBF)/filtrez -I. '
    8787LIB=""
    8888adjnt=""
     
    167167          CPP_KEY="$CPP_KEY $2" ; shift ; shift ;;
    168168
    169       "-adjnt")
    170           echo "not operational ... work to be done here ";exit
    171           opt_dep="$opt_dep adjnt" ; adjnt="-ladjnt -ldyn3d "
    172           optim="$optim -Dadj" ; shift ;;
    173 
    174169      "-cosp")
    175170          cosp="$2" ; shift ; shift ;;
     
    487482   cp -p fxy_${grille}.h fxyprim.h
    488483   filtre="FILTRE=$filtre"
    489    INCLUDE="$INCLUDE "'-I$(LIBF)/dyn3d${FLAG_PARA} '
     484   INCLUDE="$INCLUDE "'-I$(LIBF)/dyn3d${FLAG_PARA} -I$(LIBF)/dyn3d_common '
    490485elif (( $dimc == 2 )) ; then
    491486   filtre="FILTRE= L_FILTRE= "
     
    493488elif (( $dimc == 1 )) ; then
    494489   filtre="L_DYN= DYN= FILTRE= L_FILTRE= DIRMAIN=phy$physique "
    495    INCLUDE="$INCLUDE "'-I$(LIBF)/dyn3d' # Pas tres propre
     490   INCLUDE="$INCLUDE "'-I$(LIBF)/dyn3d -I$(LIBF)/dyn3d_common ' # Pas tres propre
    496491else
    497492   echo Dimension dimc=$dimc pas prevu ; exit
     
    508503then
    509504  SUFF_NAME=${SUFF_NAME}_para
    510   DYN=dyn${dimc}d${paramem}
     505  DYN="dyn${dimc}d${paramem} dyn3d_common"
    511506  if [[ "$paramem" == "mem" ]]
    512507  then
     
    515510else
    516511  SUFF_NAME=${SUFF_NAME}_seq
    517   DYN=dyn${dimc}d
     512  DYN="dyn${dimc}d dyn3d_common"
    518513fi
    519514
     
    574569if [[ -r $LMDGCM/libf/dyn${dimc}d${FLAG_PARA}/${code}.F90 ]]
    575570then
     571  source_code=${code}.F90
     572elif [[ -r $LMDGCM/libf/phy$physique/${code}.F90 ]] ; then
    576573  source_code=${code}.F90
    577574fi
Note: See TracChangeset for help on using the changeset viewer.