mdolab / pyhyp

pyHyp generates volume meshes from surface meshes using hyperbolic marching.
Other
45 stars 39 forks source link

hyp.writeCGNS fails #4

Closed jethromoses closed 5 years ago

jethromoses commented 5 years ago

I've managed to install pyhyp and got the message Testing if module hyp can be imported... Module hyp was successfully imported.

Then I ran the example case from the python/examples/2D folder and I received the following error Traceback (most recent call last): File "naca0012_euler.py", line 105, in hyp.writeCGNS('naca0012_euler.cgns') File "/home/jethro/repos/pyhyp/python/pyHyp.py", line 747, in writeCGNS autoconnect was NOT performed") pyhyp.python.pyHyp.Error The MPI_Attr_get() function was called after MPI_FINALIZE was invoked. This is disallowed by the MPI standard. *** Your MPI job will now abort.

I do not know how to solve this problem.

Thanks for your help.

jethromoses commented 5 years ago

Ok, so I got the hyp.writeCGNS('naca0012_euler.cgns') to work as I had not complied the cgnsutilities module.

But I still have the following error

The MPI_Attr_get() function was called after MPI_FINALIZE was invoked. This is disallowed by the MPI standard. *** Your MPI job will now abort.

johnjasa commented 5 years ago

If that is the only error message you get, it is entirely fine and there is no problem. Due to the way MPI is called, that's the termination message. The full volume mesh should've been created successfully.

jethromoses commented 5 years ago

It works, great!

Thanks a ton!