MPCO recorder and parallel analysis results

Post Reply
aziz_barzuk
Posts: 22
Joined: Thu Mar 07, 2024 3:37 pm

MPCO recorder and parallel analysis results

Post by aziz_barzuk » Thu May 02, 2024 8:06 am

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
Attachments
Archive.zip
(87.59 KiB) Downloaded 243 times

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

Re: MPCO recorder and parallel analysis results

Post by STKO Team » Thu May 09, 2024 12:19 pm

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)

aziz_barzuk
Posts: 22
Joined: Thu Mar 07, 2024 3:37 pm

Re: MPCO recorder and parallel analysis results

Post by aziz_barzuk » Sat May 11, 2024 2:06 pm

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

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

Re: MPCO recorder and parallel analysis results

Post by STKO Team » Tue May 14, 2024 8:02 am

You're welcome

Post Reply