1 | # 2 positional parameters are possible: |
---|
2 | # $1=Make target (optional:all,lib,clean,tar) |
---|
3 | # $2=message_passing (optional) |
---|
4 | # |
---|
5 | # message_passing "NONE" will cause the script NOT to update and load the |
---|
6 | # psmile/mpp_io libraries. It should therefore be used for creation of |
---|
7 | # executables w/o submodels which do not communicate through OASIS3. |
---|
8 | # For communication through OASIS3 use "MPI1" or "MPI2". |
---|
9 | # |
---|
10 | # If called with $1=clean, only the model's build directory |
---|
11 | # is cleaned, not the libraries. |
---|
12 | # |
---|
13 | # If called with $1=lib, only the model's library (archive with .o files) |
---|
14 | # is updated. |
---|
15 | # |
---|
16 | # If called with $1=tar, a tar file with the source code of the model |
---|
17 | # and all libraries it links to is created. The tar file is moved to |
---|
18 | # PRISM source-root directory. |
---|
19 | # |
---|
20 | # If called with $1=all, this script checks all libraries needed by |
---|
21 | # the model. If these are not up-to-date they will be made by calling |
---|
22 | # the library-compile script with "all" for the target |
---|
23 | # with the models libraries, |
---|
24 | # with the message passing used by the model, |
---|
25 | # with the model name |
---|
26 | # as positional parameters to that script. |
---|
27 | # If the libraries are ok the model will be made. |
---|
28 | # |
---|
29 | # The list of models being part of the coupled constellation (cpl_to) |
---|
30 | # is used to set the right cpp flags if needed. It is checked against |
---|
31 | # a list of models that may be specified. |
---|
32 | # For a standalone model specify " " (blank). |
---|
33 | # For main models: |
---|
34 | # If the list of models being part of the coupled constellation (cpl_to) |
---|
35 | # contains the name of a valid submodel the library with the source |
---|
36 | # code of that submodel is created first. |
---|
37 | # |
---|
38 | # Cleaning of libraries is not possible with this script. |
---|
39 | # |
---|
40 | # Usage : COMP_comp_Model \ |
---|
41 | # ["make_target" ["message_passing" ] ] |
---|
42 | # |
---|
43 | # If called with no parameters, the defaults given below |
---|
44 | # are used. If parameter n is specified; the parameter 1,...n-1 |
---|
45 | # must be specified as well. |
---|
46 | # |
---|
47 | ######################################################################### |
---|
48 | |
---|