Changeset 1803


Ignore:
Timestamp:
Oct 19, 2017, 11:30:56 PM (7 years ago)
Author:
bclmd
Message:

Adding photochemistry to LMDZ Generic

Location:
trunk/LMDZ.COMMON
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.COMMON/create_make_gcm

    r1521 r1803  
    7070echo 'L_COSP     = -lcosp'
    7171echo 'L_AERONOMARS = -laeronomars'
     72echo 'L_AERONOSTD = -laeronostd'
    7273
    7374echo
     
    105106echo '  cd $(LOCAL_DIR); \'
    106107echo '  $(COMPILE90) $(LIBF)/$(DIRMAIN)/$(SOURCE) -o $(PROG).o ; \'
    107 echo '  $(LINK) $(PROG).o -L$(LIBO) $(L_DYN) $(L_DYN_PHY) $(L_ADJNT) $(L_COSP) $(L_AERONOMARS) $(L_PHY) $(L_DYN) $(L_DYN3D_COMMON) $(L_MISC) $(L_DYN3D_COMMON) $(L_PHY) $(L_DYN_PHY) $(L_DYN) $(L_FILTRE) $(OPLINK) $(OPTION_LINK) -o $(LOCAL_DIR)/$(PROG).e ; $(RM) $(PROG).o '
     108echo '  $(LINK) $(PROG).o -L$(LIBO) $(L_DYN) $(L_DYN_PHY) $(L_ADJNT) $(L_COSP) $(L_AERONOMARS) $(L_AERONOSTD) $(L_PHY) $(L_DYN) $(L_DYN3D_COMMON) $(L_MISC) $(L_DYN3D_COMMON) $(L_PHY) $(L_DYN_PHY) $(L_DYN) $(L_FILTRE) $(OPLINK) $(OPTION_LINK) -o $(LOCAL_DIR)/$(PROG).e ; $(RM) $(PROG).o '
    108109echo
    109110echo 'phys : $(LIBPHY)'
     
    126127echo
    127128echo 'aeronomars : $(LIBO)/libaeronomars.a'
     129echo
     130echo 'aeronostd : $(LIBO)/libaeronostd.a'
    128131echo
    129132echo '$(FILTRE)3d : $(LIBO)/lib$(FILTRE).a'
  • trunk/LMDZ.COMMON/makelmdz

    r1702 r1803  
    393393   LIB="$LIB -l${LIBPREFIX}aerono$physique"
    394394   opt_dep="$opt_dep aerono$physique"
     395if [[ "$physique" == "mars" ]]
     396then
    395397   laeronomars="-l${LIBPREFIX}aeronomars"
    396398fi
    397 
     399if [[ "$physique" == "std" ]]
     400then
     401   laeronostd="-l${LIBPREFIX}aeronostd"
     402fi
     403fi
    398404
    399405if [[ "$chimie" == "INCA" ]]
     
    891897L_COSP="$lcosp" \
    892898L_AERONOMARS="$laeronomars" \
     899L_AERONOSTD="$laeronostd" \
    893900L_CHIMIE="$libchimie" \
    894901LOCAL_DIR="$localdir"  \
     
    927934L_COSP="$lcosp" \
    928935L_AERONOMARS="$laeronomars" \
     936L_AERONOSTD="$laeronostd" \
    929937L_CHIMIE="$libchimie" \
    930938LOCAL_DIR="$localdir"  \
Note: See TracChangeset for help on using the changeset viewer.