|
|
Event Driven LL InterfaceCreating an event driven interface for Loadleveler requires two steps.
Step 1: Create a submit filter.The LL submit filter functions by taking a users job command file as STDIN and sending the command file LL should process to STDOUT. If the submit filter is successful, it should exit with a status of 0. A simple sample script is provided below:----------- #!/bin/perl -w while ( To enable use of this script you must set SUBMITFILTER parameter in the LoadL_config file. Step 2: Create wrapperThe moab command mschedctl is not normally available to general end users. The wrapper allows users to issue a command to request that scheduling resume to process a newly submitted job.A sample wakeup.c wrapper file is included below: ----- #include To enable the wrapper, use the following steps:
Now submit a job. If all works correctly, Moab should detect and, if resources are available, start the job within one second. |
|
| © 2001-2010 Adaptive Computing Enterprises, Inc. | |