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 7 Next »

In the previous section, we saw how a script was transformed into a job file.

If we try to run this job manually, it will fail.

$HOME/course/test/t1.job0

This is is because the port ECF_PORT was generated by the python script and would not typically correspond to your servers port.

The ECF_PASSWD is used to detect zombies.  This was generated by the python script and not the server, hence job will be treated as a zombie, in the case where the ECF_PORT matched.


Regardless of how the job was generated, i.e via python script or by the ecflow server,  we need a way of checking the job independent of ecFlow.

Th is can be done by setting an environment variable.

export NO_ECF=1
$HOME/course/test/t1.job0


When NO_ECF is set, ecflow_client executable returns immediately with return value of 0. (i.e success). This lets you exercise your scripts/job independent of ecflow.

What to do

  1. export NO_ECF=1
  2. run your job file  $HOME/course/test/t1.job0


  • No labels