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

Version 1 Next »

SMS child command are not binary compatible with ecFlow. The following table relates a sms command, provided with SMS package, and the matching ecflow client call.

Some sms child commands (meter, event) have a query option. ecFlow relies on the job using 'ecflow_client --get <path>' to obtain the same information.

SMS child commandecflow equivalentcomment

sms

ecflow_server

sms -b: dettach the server from the session to run it when user is logged out.

nohup ecflow_server > out 2>&1 &:

sms

ecflow_server

sms -b: dettach the server from the session to run it when user is logged out.

nohup ecflow_server > out 2>&1 &:

smsabortecflow_client --abort <reason>

user can benefit from knowing if the job stopped with "normal" abort

or following the reception of a user signal (attempt to kill the task)

or because of "early exit", when ecflow_client --complete is missing

smsalive<none>task heart-bit, not used at the centre
smscompleteecflow_client --complete 
smsdate<none>not a child command - date manipulation utility, not part of ecflow
smsdie<none>clean RPC port - not needed with ecflow
smsevent <name>ecflow_client --event <name> 
smsinitecflow_client --init <remote_job_id>restricted to integer for SMS (use smsrid for string)
smslabelecflow_client --label <name> <string> 
smsmeter <name> <step>ecflow_client --meter <name> <step> 
smsmsg <string tokens>ecflow_client --msg 
smspingecflow_client --ping 
smsrand<none>not a child command
smsrid <string><none>ecflow_client --init is used with string job id
smsstatus <node path><none>ecflow_client --get <path> can be used to get node state
smsvariable <string> <value><none>

variable is only updated by SMS, not created, and it must belong to the node

ecflow_client --get <path> can be used to get variable value, create or update any variable

smswait <trigger expression>ecflow_client --wait <string>

sms expects string tokens, builds up the related tree, checks its value on the server,

ecflow expect one string containing the trigger expression to check

  • No labels