Hi All!
I'd like to know how can I successfully run subroutines using cpus=2?
My particular problem is to run three different subroutines that need to share global variables between them along the analysis using cpus=2.
For instance: In the beginning of the analysis KW = 0, each time the UEL is called KW = KW + 1 until a new increment is started where KW = 0 again, and so on....
I've tried using SAVE statement but it does not work with multiple cpus. I also tried writing and reading from temporary txt files but this solution is not general. In simple models it works, for larger models it does not work. I don't get an error but the execution just hangs at the beginning of the analysis and nothing happens.
There must be a way of using common variables between different subroutines and running them using more than one cpu core. Any ideas? Thanks
JA
