Quantcast
Channel: Jason Andrews Blog
Viewing all articles
Browse latest Browse all 33813

Running parallel processes in SKILL code

$
0
0
Hi, I am writing an oceanXL script to launch multiple runs in parallel. While I set each run with ocnxlRun( ?waitUntilDone nil) in the loop to set up the circuit, after all runs are defined and launched I then wait for the runs to end with ocnxlWaitUntilDone('All). In the mean time, there could be a lot of runs and potentially taking a few days to finish. I want to be able to monitor a few finished simulation results to determine whether I want to continue with all simulations. So here in the attached eample I inserted a block of code to look for the results directory. The problem is, the while loop seems to block the execution of the ocnxlRun's and will not produce any results until I exit the while loop. Obviously I can't put the monitor block after the ocnxlWaitUntilDone('All) command since it will wait for all to finish and defeat the purpose. My question is, can I launch a parallel process to monitor the progress of the simulations? Thanks in advance for any help. Ed

Viewing all articles
Browse latest Browse all 33813