ecFlow's documentation is now on readthedocs!

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Next »

When debugging scripts you need to consider the process used to submit the job. First a script is accessed and expanded to create the job file. This job file is then submitted to the relevant system where it is run, possibly via a queuing system. Errors can occur at any of these steps.

Location of ecflow script

The first thing to check is whether the job file can be created. In the GUI you should be able to view your script. If not, you should receive a pop up window indicating a file read error. This indicates that ECFLOW cannot find your script as either it does not exist or ecFlow cannot find it. Look at the value of the ECF_SCRIPT variable to see where ecFlow expects to find the file. The location can be modified using the variable ECF_FILES as described later.

Creation of ecflow job file

The next thing ecFlow will do is create the job file by adding all include files and substituting ecFlow variables (see the next chapter on "The ECFLOW Pre-processor" for more details). To test if ecFlow can find all the include files and variable click the edit tab in ecflow_ui, info panel. If you get the error message "send failed for the node" ecFlow may not be able to access the include files or some ecFlow variables have not been set. More details will be given in the ecFlow log files .

Submission of ecflow job file

The next stage is to submit the ecFlow job file. The best way to debug this is to try the submission of the job file on the command line as described by your ECF_JOB_CMD variable. This will usually show up any problems in the job submission process. The script we use to submit our job files also makes visible the job submission output in the ECF_JOBOUT directory.

  • No labels