Changeset 2014


Ignore:
Timestamp:
Apr 11, 2014, 2:40:34 PM (11 years ago)
Author:
Laurent Fairhead
Message:

makegcm n'est plus utilisé/utilisable


makegcm should not be used anymore

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ5/trunk/makegcm

    r1944 r2014  
    77# options par defaut pour la commande make
    88########################################################################
     9
     10echo ' '
     11echo 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'
     12echo 'Attention makegcm n est plus supporte par l equipe de developpement'
     13echo 'Il faut maintenant utiliser ./makelmdz ou ./makelmdz_fcm              '
     14echo 'Si vous tenez absolument a utiliser makegcm, editez le script et'
     15echo 'retirer ces lignes (a vos risques et perils)'
     16echo 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'
     17echo ' '
     18
     19exit
     20
     21
    922set dim="96x71x19"
    1023set physique=lmd
     
    3043set FC_LINUX=gfortran
    3144
    32 if ( $FC_LINUX == g95 ) then
    33   set OPT_LINUX="-i4 -O3 -r8 -DNC_DOUBLE"
     45if ( $FC_LINUX == gfortran ) then
     46  set OPT_LINUX="-O3 -fdefault-real-8 -DNC_DOUBLE"
    3447else if ( $FC_LINUX == gfortran ) then
    3548  set OPT_LINUX="-O3 -fdefault-real-8 -DNC_DOUBLE"
    3649else
    3750# pgf90 options
    38   set OPT_LINUX="-O3 -i4 -r8 -DNC_DOUBLE"
     51  set OPT_LINUX="-O3 -fdefault-real-8 -DNC_DOUBLE"
    3952endif
    4053
     
    5164setenv IOIPSLDIR /tmpdir/fairhead/Aqua/LMDZ20120327.trunk/modipsl/lib
    5265setenv MODIPSLDIR /tmpdir/fairhead/Aqua/LMDZ20120327.trunk/modipsl/lib
    53 setenv NCDFINC /d1/mpllmd/LMDZtesting/netcdf-4.0.1/include
    54 setenv NCDFLIB /d1/mpllmd/LMDZtesting/netcdf-4.0.1/lib
     66setenv NCDFINC /tmpdir/fairhead/Test_install/LMDZtrunk/netcdf-4.0.1/include
     67setenv NCDFLIB /tmpdir/fairhead/Test_install/LMDZtrunk/netcdf-4.0.1/lib
    5568
    5669
     
    104117  if ( ! $?NCDFLIB ) then
    105118    echo You must initialize the variable NCDFLIB in your environnement
    106     echo for instance: "setenv NCDFLIB /d1/mpllmd/LMDZtesting/netcdf-4.0.1/lib
     119    echo for instance: "setenv NCDFLIB /tmpdir/fairhead/Test_install/LMDZtrunk/netcdf-4.0.1/lib
    107120    exit
    108121  endif
    109122  if ( ! $?NCDFINC ) then
    110123    echo You must initialize the variable NCDFINC in your environnement
    111     echo for instance: "setenv NCDFINC /d1/mpllmd/LMDZtesting/netcdf-4.0.1/include
     124    echo for instance: "setenv NCDFINC /tmpdir/fairhead/Test_install/LMDZtrunk/netcdf-4.0.1/include
    112125    exit
    113126  endif
     
    259272else if $LINUX then
    260273#################
    261    if ( $FC_LINUX == pgf90 || $FC_LINUX == g95 || $FC_LINUX == gfortran ) then
     274   if ( $FC_LINUX == pgf90 || $FC_LINUX == gfortran || $FC_LINUX == gfortran ) then
    262275     set optim=" $OPT_LINUX "
    263276     set optim90=" $OPT_LINUX "
     
    519532             set optim90="$optim90"" -g -ffpe-trap=invalid,zero,overflow -fbounds-check -Wall "
    520533             set optimtru90="$optimtru90"" -ffpe-trap=invalid,zero,overflow -g -fbounds-check -Wall "
    521            else if ( $FC_LINUX == 'g95' ) then
     534           else if ( $FC_LINUX == 'gfortran' ) then
    522535             set optim="$optim"" -g -fbounds-check -freal=nan -ftrace=full -Wall "
    523536             set optim90="$optim90"" -g -fbounds-check -freal=nan -ftrace=full -Wall "
     
    585598   set cppflags="$cppflags -DCPP_VEGET"
    586599#   set link_veget=" -lsechiba -lparameters -lstomate  "
    587    set link_veget=" -lsechiba -lparameters -lstomate -lparallel -lorglob -lorchidee"
     600   set link_veget=" -lsechiba -lparameters -lstomate   -lorchidee"
    588601   if ( $XNEC || $X8BRODIE || $X6NEC) then
    589602#      set link_veget=" -lsxsechiba -lsxparameters -lsxstomate -lsxorglob -lsxparallel"
     
    845858       set opt_link="$opt_link  -L$MODIPSLDIR $link_veget -L$NCDFLIB -lnetcdf "
    846859     endif
    847    else if ($FC_LINUX == 'g95' || $FC_LINUX == 'gfortran' ) then
     860   else if ($FC_LINUX == 'gfortran' || $FC_LINUX == 'gfortran' ) then
    848861     if ( $io == "ioipsl" ) then
    849862       set opt_link="$opt_link -L$MODIPSLDIR $link_veget -lioipsl -L$NCDFLIB  -lnetcdf -lioipsl  -lnetcdf "
     
    10191032   set optimtru90=" $optimtru90 -module $libo "
    10201033   set optim90=" $optim90 -module $libo "
    1021 else if ( $FC_LINUX == 'g95' ) then
    1022    set optimtru90=" $optimtru90 -fmod=$libo  "
    1023    set optim90=" $optim90 -fmod=$libo  "
     1034else if ( $FC_LINUX == 'gfortran' ) then
     1035   set optimtru90=" $optimtru90 -I$libo  "
     1036   set optim90=" $optim90 -I$libo  "
    10241037else if ( $FC_LINUX == 'gfortran' ) then
    10251038   set optimtru90=" $optimtru90 -M $libo  "
Note: See TracChangeset for help on using the changeset viewer.