Last change
on this file was
1677,
checked in by aclsce, 12 years ago
|
Imported oasis3 (tag ipslcm5a) from cvs server to svn server (igcmg project).
|
File size:
757 bytes
|
Line | |
---|
1 | ######################## Command line parameter ############################### |
---|
2 | # |
---|
3 | # Help function |
---|
4 | # |
---|
5 | if [ "$1" = "--" ] || [ "$1" = "help" ] || [ "$1" = "--help" ] ; then |
---|
6 | echo |
---|
7 | echo '----------- Usage -----------------------------------------------' |
---|
8 | echo ' $1=make_target (all/lib/tar/clean; optional)' |
---|
9 | echo ' $2=message_passing (MPI1/MPI2; optional)' |
---|
10 | echo ' ' |
---|
11 | echo ' Default active values are:' |
---|
12 | echo ' make_target : '${make_target} |
---|
13 | echo ' message_passing : '${message_passing} |
---|
14 | echo ' ' |
---|
15 | echo '-----------------------------------------------------------------' |
---|
16 | exit 1 |
---|
17 | fi |
---|
18 | |
---|
19 | # Overwrite with command line parameter if specified |
---|
20 | |
---|
21 | [ "$1" = "" ] || make_target=$1 |
---|
22 | [ "$2" = "" ] || message_passing=$2 |
---|
23 | |
---|
24 | set -u |
---|
25 | |
---|
Note: See
TracBrowser
for help on using the repository browser.