Amit Phatak wrote:
I am currently invoking an ABAQUS (A finite element analysis package) analysis through perl using the command -

system("/usr/local/bin/tcsh -c 'source /eng/local/lib/source/use -quiet
abaqus; /eng/tools/abaqus/6.3/Commands/abaqus job=$input_file'");

where $input_file has a name like 'file.inp'

This analysis takes around 1 minute to complete until which i stall the script using sleep(60).

I now wish to invoke 3 such analyses at the same time on different $input_file files.

Kindly give your suggestions.


'system' by its nature blocks. Generally this is avoidable with a fork/exec model. You may want to have a look through


perldoc perlipc

Or read through the archives for the last couple of weeks where there was some discussion of using multiple simultaneous forks...

http://danconia.org

POE (there, I did it again)


-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to