Page 1 of 1

MPCO recorder and parallel analysis results

Posted: Thu May 02, 2024 8:06 am
by aziz_barzuk
Goodmorning to all,
I did a parallel calculation of a simple structure by imposing on my own how my mesh had to be partitioned.
The fact is that I obtained a part of the result, so my mesh is divided in every mpco part file (as result-pid_1, result-pid_2 etc..), and I can't view a global structure but a part of it for every file. I can't turn on every file also.
In every file is showed the part of structure addicted to that processor but the mpco files are not connected each other, so it is not enough to load one file to automatically load every mpco file. I have to load one file by one.
How can I obtain a global mpco file to show the entire result by collecting the single parts ?
This is done automatically by OpenSeesSP that does the same also with the proper recorder function.

I had seen what was written in:
viewtopic.php?f=27&t=2467&p=6711&hilit= ... mpco#p6711
but I have a HDF5 "cannot create or open file: " namefile.mpco "
I just had open the writing and reading permissions but the error standing.
The problem is the "output" setting in the url tcl code.

I annex the file tcl I executed with 4 parallel processors and OpenSeesMP.


Thank you
Gianluca Cavallo

Re: MPCO recorder and parallel analysis results

Posted: Thu May 09, 2024 12:19 pm
by STKO Team
this is the correct naming convention to let STKO understand that all those mpco files are part of the same partitioned model:

set nameOfMPCOFile $nameOfCurrentFile.part-$pid.$extensionOfMPCOFile
(in bold the missing part in your line 22)

Re: MPCO recorder and parallel analysis results

Posted: Sat May 11, 2024 2:06 pm
by aziz_barzuk
Dear STKO team,
Thanks for your answer, I saw that 1 or 2 days after my post by reading the source file in the OpenSees repository and I used it in this example that worked well.

The example I referred to is this linked and I hope could help, it is about 4 cpu cube example solved.
https://github.com/gcavpoliba/OpenSTool ... to4CPU.tcl

with Regards
Gianluca Cavallo

Re: MPCO recorder and parallel analysis results

Posted: Tue May 14, 2024 8:02 am
by STKO Team
You're welcome