GiDInterface icon indicating copy to clipboard operation
GiDInterface copied to clipboard

Writing error with MPI parallel type

Open rubenzorrilla opened this issue 4 years ago • 11 comments

When selecting MPI parallel type a writing error pops up. This happened to me in the FSI application.

rubenzorrilla avatar Nov 21 '20 17:11 rubenzorrilla

This is what I see when changing to MPI, and calculate image

jginternational avatar Nov 21 '20 17:11 jginternational

:confused:

rubenzorrilla avatar Nov 21 '20 18:11 rubenzorrilla

It is not happening in my desktop machine with the current master version. I'll try again in the laptop to see if it appears again...

rubenzorrilla avatar Nov 23 '20 08:11 rubenzorrilla

I tried in another machine and everything was fine. Closing. Sorry for the noise.

rubenzorrilla avatar Nov 24 '20 13:11 rubenzorrilla

invalid command name ""
invalid command name ""
    while executing
"$solver getInputPn $param_name"
    (procedure "spdAux::ProcGetSolverParameterValues" line 9)
    invoked from within
"spdAux::ProcGetSolverParameterValues $domNode $args"
    ("eval" body line 3)
    invoked from within
"eval [$procNode text]"
    (procedure "gid_groups_conds::eval_proc" line 69)
    invoked from within
"gid_groups_conds::eval_proc $proc $domNode"
    (procedure "_get_attribute_value" line 5)
    invoked from within
"_get_attribute_value $domNode $res"
    (procedure "get_domnode_attribute" line 6)
    invoked from within
"get_domnode_attribute $node values"
    (procedure "spdAux::ForceTreePreload" line 4)
    invoked from within
"spdAux::ForceTreePreload"
    (procedure "::write::writeEvent" line 25)
    invoked from within
"::write::writeEvent $filename"
    (procedure "Kratos::WriteCalculationFilesEvent" line 19)
    invoked from within
"Kratos::WriteCalculationFilesEvent"
    invoked from within
".gid.menu.button7.m.m invoke active"
    ("uplevel" body line 1)
    invoked from within
"uplevel #0 [list $w invoke active]"
    (procedure "tk::MenuInvoke" line 50)
    invoked from within
"tk::MenuInvoke .gid.menu.button7.m.m 1"
    (command bound to event)

I closed it too fast...

rubenzorrilla avatar Nov 24 '20 13:11 rubenzorrilla

This is when setting the 2D Mok example in MPI.

rubenzorrilla avatar Nov 24 '20 13:11 rubenzorrilla

Same case but switching the parallel type to OpenMP has no problems.

rubenzorrilla avatar Nov 24 '20 13:11 rubenzorrilla

Ok, I found the problem https://github.com/KratosMultiphysics/GiDInterface/blob/master/kratos.gid/apps/Structural/xml/Solvers.xml

There is no eigen_solver for MPI. It may seem strange, due to you are not using that eigen thing at all, but it is important to set some tree parameters to hidden/shown

jginternational avatar Nov 24 '20 20:11 jginternational

@jginternational which is the status of this?

rubenzorrilla avatar Jan 14 '21 09:01 rubenzorrilla

Bug is still there. I don't know if it makes sense, but check the PR #793

jginternational avatar Jan 14 '21 09:01 jginternational

Such eigensolver doesn't exist in MPI. Hence the fix wouldn't work...

rubenzorrilla avatar Jan 14 '21 10:01 rubenzorrilla