Last change
on this file since 5422 was
4773,
checked in by idelkadi, 12 months ago
|
- Update of Ecrad in LMDZ
The same organization of the Ecrad offline version is retained in order to facilitate the updating of Ecrad in LMDZ and the comparison between online and offline results.
version 1.6.1 of Ecrad (https://github.com/lguez/ecrad.git)
- Implementation of the double call of Ecrad in LMDZ
|
-
Property svn:executable set to
*
|
File size:
737 bytes
|
Line | |
---|
1 | #!/bin/sh |
---|
2 | # |
---|
3 | # (C) Copyright 2015- ECMWF. |
---|
4 | # |
---|
5 | # This software is licensed under the terms of the Apache Licence Version 2.0 |
---|
6 | # which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. |
---|
7 | # |
---|
8 | # In applying this licence, ECMWF does not waive the privileges and immunities |
---|
9 | # granted to it by virtue of its status as an intergovernmental organisation |
---|
10 | # nor does it submit to any jurisdiction. |
---|
11 | |
---|
12 | |
---|
13 | EXT="parkind1.o|yomhook.o|yomcst.o|yomdyncore.o|yomlun.o|abor1.o|yomtag.o|mpl_module.o|yommp0.o" |
---|
14 | |
---|
15 | while [ "$1" ] |
---|
16 | do |
---|
17 | DEPS=$(egrep -i '^[ \t]*use' $1 | awk '-F[ ,]' '{print $2".o"}' | tr '[:upper:]' '[:lower:]' | egrep -v "$EXT" | tr '\n' ' ') |
---|
18 | if [ "$DEPS" ] |
---|
19 | then |
---|
20 | echo $1 | awk -F. '{print $1"'".o: $DEPS"'"}' |
---|
21 | fi |
---|
22 | shift |
---|
23 | done |
---|
Note: See
TracBrowser
for help on using the repository browser.