...
- First it uses the variable ECF_SCRIPT and tries to open that file. ECF_SCRIPT is generated from ECF_HOME/SUITE/FAMILY/TASK.
DEFAULT:
Otherwise if variable ECF_FILES exists, it must point to a directory which is searched in reverse order, e.g. let's assume that the node name is /o/12/fc/model and that ECF_FILES is defined as /home/ecmwf/emos_ECF/def/o/ECFfiles.
The order of files tried is as follows:Code Block /home/ecmwf/emos_ECF/def/o/ECFfiles/o/12/fc/model.ecf /home/ecmwf/emos_ECF/def/o/ECFfiles/12/fc/model.ecf /home/ecmwf/emos_ECF/def/o/ECFfiles/fc/model.ecf /home/ecmwf/emos_ECF/def/o/ECFfiles/model.ecf
ALTERNATIVE:The search can be reversed, by adding a variable ECF_FILES_LOOKUP, with a value of "prune_leaf". ( from ecflow 4.12.0) . Then ecFlow will use the following search pattern
Code Block /home/ecmwf/emos_ECF/def/o/ECFfiles/o/12/fc/model.ecf /home/ecmwf/emos_ECF/def/o/ECFfiles/o/12/model.ecf /home/ecmwf/emos_ECF/def/o/ECFfiles/o/model.ecf /home/ecmwf/emos_ECF/def/o/ECFfiles/model.ecf
However please be aware this will also affect the search in ECF_HOME
If the ECF_FILES directory does not exist, the server will try variable substitution. This allows additional configuration.
edit ECF_FILES /home/ecmwf/emos/def/o/%FILE_DIR:ECFfiles%
- Finally it searches ECF_HOME directory. ( in reverse orderusing the DEFAULT or ALTERNATIVE lookup methods)
This may at first may be seen as over kill, but you can put all the files for a number of suites in one distinct file system/directory.
...