Ignore:
Timestamp:
Jul 24, 2013, 10:06:39 AM (11 years ago)
Author:
Ehouarn Millour
Message:

Updating makelmdz and create_makelmdz for :

1 parallelism
2 compilation with various versions of orchidee
3 compilation in 1D mode
4 some cleaning

Also some updates in dyn3dmem:
1 allocate_field_mod.f90 renamed allocate_field_mod.F90
2 module dimensions renamed dimensions_mod
3 module allocate_field renamed allocate_field

FH

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ5/trunk/create_make_gcm

    r1714 r1810  
    4242echo 'LIBF    = $(GCM)/libf'
    4343if [ "$CRAY" = '0' ] ; then
    44 #   echo 'LIBO    = $(GCM)/libo/$(MACHINE)'
    4544   echo 'LIBO    = $(LIBOGCM)/$(MACHINE)'
    4645else
    4746   echo 'LIBO    = $(GCM)/libo'
    4847fi
    49 #echo 'LOCAL_DIR=$(GCM)'
    50 #echo $localdir
    5148echo "LOCAL_DIR=`echo $localdir`"
    5249echo 'BIBIO    = $(LIBF)/bibio'
     
    180177            strj=`echo $stri | tr [A-Z] [a-z]`
    181178            str2=""
    182             for dirinc in filtrez bibio grid dyn3d $diri $diri/*/ ; do
     179            for dirinc in filtrez bibio grid dyn3d phydev $diri $diri/*/ ; do
    183180# Recherche dans l'ordre hierarchique inverse car seule la derniere
    184181# ligne est conservee
     182               if [ $dirinc = phydev ] ; then
     183                   dirstr='$(PHYS)'
     184                   libstr='phy$(PHYS)'
     185               else
     186                   dirstr=$dirinc
     187                   libstr=$dirinc
     188               fi
    185189               if [ -f $dirinc/$stri ] ; then
    186                   str2='$(LIBF)/'$dirinc/$stri
     190                  str2='$(LIBF)/'$dirstr/$stri
    187191               elif [ -f $dirinc/$strj ] ; then
    188                   str2='$(LIBF)/'$dirinc/$stri
     192                  str2='$(LIBF)/'$dirstr/$stri
    189193               elif [ -f $dirinc/$strj.F90 ]  || [ -f $dirinc/$strj.F ]  ; then
    190                   strlib=`echo $dirinc | awk -F/ ' { print $1 } '`
     194                  strlib=`echo $libstr | awk -F/ ' { print $1 } '`
    191195                  str2='$(LIBO)/lib'$strlib'.a('$strj'.o)'
    192196               fi
Note: See TracChangeset for help on using the changeset viewer.