Sent to CCL by: John McKelvey [jmmckel{=}gmail.com]
Hello...
I'm trying to get 4 processes to run simultaneously on a 4 processor
box and wait until they are all finished before proceeding. Don't
have "fork" , "wait" or "sleep" available in free ftn compiler...
I think I can do a "call system(cmd1&cmd2&cmd3&cmd4)" to get the 4
processes running at the same time, but I then need to wait till all 4
are finished before proceeding to the next step. I could do a "grep
*.out > wclist" and check the value of wclist in an "infinite loop"
until satisfied, i.e. wclist=4, but would this eat a lot of cycles?
Would be happy to check out forums for this...
Many thanks..
John
--
John McKelvey
10819 Middleford Pl
Ft Wayne, IN 46818
260-489-2160
jmmckel ~ gmail.com
-= This is automatically added to each message by the mailing script =-
E-mail to subscribers: CHEMISTRY+/-ccl.net or use:
http://www.ccl.net/cgi-bin/ccl/send_ccl_message
E-mail to administrators: CHEMISTRY-REQUEST+/-ccl.net or use
http://www.ccl.net/cgi-bin/ccl/send_ccl_message
Subscribe/Unsubscribe:
http://www.ccl.net/chemistry/sub_unsub.shtml
Before posting, check wait time at: http://www.ccl.net
Job: http://www.ccl.net/jobs
Conferences: http://server.ccl.net/chemistry/announcements/conferences/
Search Messages: http://www.ccl.net/chemistry/searchccl/index.shtml
http://www.ccl.net/spammers.txt
RTFI: http://www.ccl.net/chemistry/aboutccl/instructions/