Problem

My task stays in a submitted state when I submit a job.

Solution

This could be caused by a number of reasons, please check that.

  • The job being unable to submit because the queuing system used cannot schedule the task at the time or because the task is failing before the child command

              > ecflow_client --init   # command is sent

  • Check that the ecflow_server is not halted
  • Test, running the job from the command line or check the status in the queuing system used, e.g. llq for loadleveller, qstat for PBS etc.
    Run the submission command from the command line.  This is based on how the ECF_JOB_CMD variable is set. The script could be failing before the ecflow_client --init  command is sent.
  • If you are using ECF_OUT to define the output directory. Then make sure that the directory exists, including the directories corresponding to suite/family nodes.