User Tools

Site Tools


PROCESS

Guide Section: Coupling To Software Applications | EASAP Tree: PROCESSES


A PROCESS executes the commands that run the underlying software applications. Additionally, a PROCESS is a Parent for data manipulation objects (MAP, EXPAND and COMPUTE) and REPLACEMENT that are required to properly execute the process. The Run Using: parameter can contain commands to run executables, to run scripts or to execute system commands. The Software: parameter is used to associate the process with software previously specified in the compute server configuration. What the Software: parameter essentially does then is to specify on which compute servers the process is able to be executed.

PROCESS
Essential Parameters:
Run:Using Command(s) used to run software application(s). DORs allowed
Software:Name of software to be run as specified in Compute Server configuration.
Optional Parameters:
Run if:Logical expression, if FALSE then do NOT run process else default→TRUE
Delimiter:Must be set to delimiter in DORs used in Run Using: above to activate dynamic object values
Computational Dependencies:Select from list of all available objects to track run time dependencies on these objects values. Object values must be real or integer numbers. Multiple selections allowed, but best if number of selections is less then 10.
Status Text:Text to display in the Status column of Results pages instead of the usual % complete.

Note: If a process can only run on either a Windows computer or a UNIX computer, then the software name specified in the compute server configuration must only be associated with the proper type of compute server. Otherwise, the process may be sent to the wrong type of computer, and it will then fail.


Issuing Multiple Commands

Using the proper command syntax, it is possible to run more than one command in a single PROCESS. The syntax varies between Windows and UNIX computers, but both support issuing multiple commands on a single command line. For Windows, you use a double- ampersand (&&) between consecutive commands to string them together within the Run Using: parameter of a single PROCESS. For UNIX, you use a semi-colon (;) instead. Another way to issue multiple commands is to run a script file in the Run Using: parameter that contains multiple commands.


Tip: EASA copies all EASAP files back to the EASA Server once a process has finished executing on a compute server and then copies them back to another compute server to execute the next process. You can make use of running multiple commands in a single PROCESS to eliminate large file transfers across your network. Additionally, you can also add a final command to delete unneeded files so that they are not copied back to the EASA Server at all.