running Openseesmp under "DOS Command System"

Post Reply
MusZip
Posts: 41
Joined: Tue Aug 06, 2024 5:36 am

running Openseesmp under "DOS Command System"

Post by MusZip » Tue Feb 04, 2025 2:45 pm

Hello,

I strive to use the generated STKO files directly for Openseesmp under under "DOS Coomand System", not STKO enviroment.

For this purpose
I copied the all the generated STKO files into the directory "C:\OpenSees-Solvers"
Then, I activated the "DOS Coomand System" . The following outcomes from trials are obtaned.

i)"RUNNING AS SEQUENTIAL":
I can sucesfully run Openseesmp under "DOS Coomand System" with a solely command as "Openseesmp". Then, of Course, it can be defined the further "Opensees commands". This is not problem.

ii)"RUNNING AS PARALLEL":
I can not sucesfully run Openseesmp under "DOS Coomand System" with a command set
as "openseesmp.bat main.tcl 2"

I have an error as:
"RUNNING AS PARALLEL"
0 [main] mpiexec.hydra 8144 cygwin_exception::open_stackdumpfile: Dumping stack trace to mpiexec.hydra.exe.stackdump


iii)"RUNNING AS PARALLEL":
I can not sucesfully run Openseesmp under "DOS Coomand System" without using the ""openseesmp.bat"
as "mpiexec.hydra.exe -n 2 OpenSeesMP.exe main.tcl"

I have an error as:
0 [main] mpiexec.hydra 5672 cygwin_exception::open_stackdumpfile: Dumping stack trace to mpiexec.hydra.exe.stackdump

What must I do to deal with this problem arisen from the use of Openseesmp?
Best wishings,

STKO Team
Posts: 3066
Joined: Tue Oct 29, 2019 8:45 am

Re: running Openseesmp under "DOS Command System"

Post by STKO Team » Thu Feb 06, 2025 8:59 am

I copied the all the generated STKO files into the directory "C:\OpenSees-Solvers"
First you don't need to copy those files in there (it's bad practice).
  • Keep your file in a directory (say C:\Analyses\Analysis1)
  • open a command line (cmd)
  • go into the analysis directory

    Code: Select all

    cd C:\Analyses\Analysis1
  • Run openseesmp with the same number of processors as the number of partitions in STKO mesh (let's say you partitioned it in 3 partitions)

    Code: Select all

    openseesmp.bat main.tcl 3

Post Reply