Ignore:
Timestamp:
Nov 10, 2011, 9:30:20 AM (13 years ago)
Author:
emillour
Message:

Generic model: updated makegcm(s) so that default behaviour is to set LMDGCM env variable to be the directory in which the makegcm script is. Removed files tmp77, tmp90, liste_des_sources_f90, liste_des_sources_f77 and makefile from the svn repository since these are (re-)created by makegcm.
EM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.GENERIC/makegcm

    r301 r371  
    1 #!/bin/csh
     1#!/bin/csh -f
    22# $Header: /users/lmdz/cvsroot/LMDZ.3.3/makegcm,v 1.21 2001/07/04 08:41:44 lmdz Exp $
    33#set verbose echo
     
    1919
    2020#### If you want you can set environment variables here
     21# default LMDGCM is where the makegcm script is:
     22#setenv LMDGCM `pwd`"/"`dirname $0` # only works for relative paths
     23setenv LMDGCM `readlink -f $0`
    2124#setenv LMDGCM "/san/home/rdword/gcm/LMDZ.GENERIC"
    22 #setenv LIBOGCM $LMDGCM/libo
     25setenv LIBOGCM $LMDGCM/libo
     26# NetCDF, what is below is OK on Gnome
    2327setenv NCDFLIB /usr/local/lib
    2428setenv NCDFINC /usr/local/include
     29# NetCDF, on LMD farm:
     30#setenv NCDFLIB /donnees/emlmd/netcdf64-4.0.1_ifort/lib
     31#setenv NCDFINC /donnees/emlmd/netcdf64-4.0.1_ifort/include
    2532####
    2633
     
    171178else if $LINUX then
    172179   #NB: on gnome -O3 ==> NaNs ...
    173    set optim=" -O2 -ip -mkl=sequential -align common "
    174    set optim90=" -O2 -ip -mkl=sequential -align common "
    175    set optimtru90=" -O2 -ip -mkl=sequential -align common "
     180   set optim=" -O2 -ip -mkl=sequential -align all -static "
     181   set optim90=" -O2 -ip -mkl=sequential -align all -static "
     182   set optimtru90=" -O2 -ip -mkl=sequential -align all -static "
    176183   set mod_loc_dir=$LIBOGCM
    177184   set mod_suffix=mod
     
    786793endif
    787794
    788 
    789795echo $make -f $LMDGCM/makefile \
    790796OPTION_DEP="$opt_dep" OPTION_LINK="$opt_link" \
Note: See TracChangeset for help on using the changeset viewer.