Hello STKO team,
I'm trying to run the input files I created with STKO on another computer through the terminal using openseesMP. I have no issues running opensees sequential on one processor but I get error codes when I try to run it in parallel.
I open up the command prompt at my input file's location and I use the command:
mpiexec -np 8 openseesmp main.tcl.
This gives me the following errors:
I also tried calling openseesmp directly using:
openseesmp -n 8 main.tcl
but the job terminates on all PIDs immediately after starting up the openseesmp client:
What method can be used to run a previously exported input file bundle from STKO directly from the command line?
Ps. if I run from STKO using the GUI there are no errors/problems.
Thank you for your time! Regards,
Bence
run openseesmp from terminal
Re: run openseesmp from terminal
If you are using the openseesmp.bat file from the OpenSees-Solvers (installer from prof. Tarque's website), you should call it like this:
C:\OpenSees-Solvers\openseesmp.bat .\main.tcl 8
First: batch file. You can omit the full path (use only openseesmp.bat) only if the C:\OpenSees-Solvers is on the PATH environment variable.
Second: Tcl file
Third: number of processor
In fact, if you edit the batch file, you will see that it internally calls the mpiexec
C:\OpenSees-Solvers\openseesmp.bat .\main.tcl 8
First: batch file. You can omit the full path (use only openseesmp.bat) only if the C:\OpenSees-Solvers is on the PATH environment variable.
Second: Tcl file
Third: number of processor
In fact, if you edit the batch file, you will see that it internally calls the mpiexec
-
[email protected]
- Posts: 54
- Joined: Tue Mar 02, 2021 2:34 am
Re: run openseesmp from terminal
Great! I'll try that. Thanks a lot for the prompt response.
Re: run openseesmp from terminal
You're welcome