in reply to Re^2: double fork trick vs sig chld wait
in thread double fork trick vs sig chld wait
This script dispatches jobs into a grid platform.
Does the script wait for the job to complete, or just for the submission to complete?
If the script isn't waiting for the job to complete, you shouldn't need to fork children. I've written a script to submit multiple jobs to Grid Engine by constructing a 'qsub' command and executing that via system, and the qsub command completed quickly enough that there wasn't a need to fork.
If the grid system you're working with supports DRMAA you might want to look into Schedule::DRMAAc.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: double fork trick vs sig chld wait
by Voronich (Hermit) on Nov 19, 2010 at 20:18 UTC |