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

Annotation of /trunk/libf/make.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 40 - (hide annotations)
Tue Feb 22 13:49:36 2011 UTC (13 years, 3 months ago) by guez
File MIME type: application/x-sh
File size: 621 byte(s)
"alpha" useless, always 0, in "exner_hyb".

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

Properties

Name Value
svn:eol-style native
svn:executable

  ViewVC Help
Powered by ViewVC 1.1.21