/[lmdze]/trunk/libf/make.sh
ViewVC logotype

Contents of /trunk/libf/make.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 44 - (show annotations)
Wed Apr 13 12:29:18 2011 UTC (13 years, 1 month ago) by guez
File MIME type: application/x-sh
File size: 761 byte(s)
Removed argument "pdteta" of "calfis", because it was not used.

Created module "conf_guide_m", containing procedure
"conf_guide". Moved module variables from "guide_m" to "conf_guide_m".

In module "getparam", removed "ini_getparam" and "fin_getparam" from
generic interface "getpar".

Created module variables in "tau2alpha_m" to replace common "comdxdy".

1 # This is a script in Bash.
2
3 # This script allows to build LMDZE into a directory other than
4 # "libf". If you just want to build into "libf" with the current
5 # compiler file, you can invoke "make" directly.
6
7 # Usage:
8 # make.sh [options and arguments for make]
9
10 set -xe
11
12 compiler=gfortran
13
14 ##dest_dir=~/Bureau/Compil_prod_$compiler
15 dest_dir=/save/workdir_Lionel/LMDZ_work/LMDZE/Compil_prod_$compiler
16
17 # (Do not just use the name of the compiler as a directory name, it
18 # confuses some compilers.)
19
20 if [[ ../Compilers/$compiler.mk -nt $dest_dir/compiler.mk ]]
21 then
22 cp --force ../Compilers/$compiler.mk $dest_dir/compiler.mk
23 chmod a-w $dest_dir/compiler.mk
24 fi
25
26 make -C $dest_dir -f $PWD/GNUmakefile -I$PWD $* libf_dir=$PWD
27 # "-I" option for "nag_rules.mk"

Properties

Name Value
svn:eol-style native
svn:executable

  ViewVC Help
Powered by ViewVC 1.1.21