Mehrkernbetrieb aus der Windows-Konsole / Multicore processing from a windows-console
Verfasst: Mo 8. Mai 2017, 09:30
Hello Z88 Community,
since my issue might be relevant to international users of Z88 as well, I'll describe my problem in english.
I'm currently trying to bring Z88r from Z88AuroraV4 to use multiple CPUs, while calling it from a windows console.
Currently I'm doing the following:
According to the theory handbook, ch. 3.2.7 the ICORE flag in z88control.txt is responsible for governing the number of CPUs the solver uses. In my case however, z88r seems to completely ignore this flag from my z88control.txt file. The corresponding portion of my z88control.txt is:
In this forum post viewtopic.php?f=1&t=628&p=2161&hilit=icore#p2161, milfris suggested to set the ICORE value in z88man.txt. I did that as follows:
since my issue might be relevant to international users of Z88 as well, I'll describe my problem in english.
I'm currently trying to bring Z88r from Z88AuroraV4 to use multiple CPUs, while calling it from a windows console.
Currently I'm doing the following:
- A self-written mesh generator creates all input-files, which are needed for the calculation, in a folder "files/":
- z88i1.txt
- z88i2.txt
- z88i5.txt
- z88int.txt
- z88mat.txt
- z88elp.txt
- 51.txt (material data)
- The following files are then copied into the "files/" folder as well. I am aware, that at least z88o.ogl isn't needed for z88r. I have included it to later open the results in z88o.exe from z88os.
- z88.dyn
- z88control.txt
- z88man.txt
- z88o.ogl
- My mesh generator changes directory into the "files/" folder and calls and
Code: Alles auswählen
pathToZ88\win\bin\z88r.exe -t sorcg
Code: Alles auswählen
pathToZ88\win\bin\z88r.exe -c sorcg
- The mesh-generator waits for z88r to finish and reads in all the results I want to look at.
According to the theory handbook, ch. 3.2.7 the ICORE flag in z88control.txt is responsible for governing the number of CPUs the solver uses. In my case however, z88r seems to completely ignore this flag from my z88control.txt file. The corresponding portion of my z88control.txt is:
GLOBAL START
SIMCASE 11
ICORE 4
GLOBAL END
In this forum post viewtopic.php?f=1&t=628&p=2161&hilit=icore#p2161, milfris suggested to set the ICORE value in z88man.txt. I did that as follows:
Both ways didn't yield the expected results. Z88r is still running in singlecore mode. Does anyone have ideas on what I could do differently?GLOBAL START
IBFLAG 0
IPFLAG 0
IHFLAG 0
ICORE 4
GLOBAL END