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.
Additionally the ECF_PASSWD was also generated by the python script,.
Hence 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 retirn value of 0. (i.e success)
What to do
- export NO_ECF=1
- run your job file $HOME/course/test/t1.job0