Ignore:
Timestamp:
Mar 5, 2014, 11:33:03 AM (11 years ago)
Author:
Laurent Fairhead
Message:

Corrections à la version r1989 pour permettre la compilation avec RRTM
Inclusion de la licence CeCILL_V2 pour RRTM


Changes to revision r1989 to enable RRTM code compilation
RRTM part put under CeCILL_V2 licence

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ5/trunk/create_make_gcm

    r1962 r1990  
    55#set -xv
    66
    7 rm -f create_make_gcm.log
    87
    98machine=`hostname`
    109os=`uname`
    1110gcm=`pwd`
     11logfile=$gcm/create_make_gcm.log
     12rm -f $logfile ; touch -f $logfile
    1213libf=$gcm/libf
    1314libo=$gcm/libo
     
    144145      done
    145146      echo
    146       echo $listlib >> create_makeg_gcm.log
     147      echo $listlib >> $logfile
    147148      echo
    148149      echo "#=================================================================="
     
    178179
    179180         for stri in ` ( sed -e '/^[cC\!]/d' $trufile | sed -e "/\#include /s/\#include /XXnclude /" -e "/include /s/include /XXnclude /" -e "/INCLUDE /s/INCLUDE /XXnclude /" | sed -n "/XXnclude /s/XXnclude//p" | sed 's/\"//g' | sort | uniq ; sed -e '/^[cC\!]/d' $trufile | egrep -i '^ *use ' | sed -e 's/,/ /' | awk ' { print $2 } ' | sort | uniq ) ` ; do
    180             echo $trufile $fili $stri >> create_make_gcm.log
     181            echo $trufile $fili $stri >> $logfile
    181182            strj=`echo $stri | tr [A-Z] [a-z]`
    182183            str2=""
     
    191192                   libstr=$dirinc
    192193               fi
     194               echo dirinc $dirinc >> $logfile
    193195               if [ -f $dirinc/$stri ] ; then
    194196                  str2='$(LIBF)/'$dirstr/$stri
     
    202204                  str2='$(LIBO)/lib'$strlib'.a('$stri'.o)'
    203205               fi
     206               echo stri $stri  >> $logfile
     207               echo str2 $str2  >> $logfile
    204208            done
     209               echo dernier str2 $str2  >> $logfile
    205210            if [ "$str2" = "" ] ; then
    206                echo Warn: Include $diri $trufile $fili $stri pas trouve >> $gcm/create_make_gcm.log
     211               echo Warn: Include $diri $trufile $fili $stri pas trouve >> $logfile
    207212            elif [ "$str2" = "$str1" ] ; then
    208                echo Warn: Include $diri $trufile $fili $stri $str1 trouve 2x >> $gcm/create_make_gcm.log
     213               echo Warn: Include $diri $trufile $fili $stri $str1 trouve 2x >> $logfile
    209214            else
    210215               echo $str1 \\
Note: See TracChangeset for help on using the changeset viewer.