ucns3d-team / UCNS3D

Unstructured Compressible Navier Stokes 3D code (UCNS3D)
https://ucns3d.com
GNU General Public License v3.0
258 stars 92 forks source link

Running the compiled code encounters the parmetis error #23

Open college301654-art opened 2 years ago

college301654-art commented 2 years ago

[chenhao@node8 test]$ mpirun -np 2 -hostfile ./node ./ucns3d_p

                    ParMETIS Initiated                               

PARMETIS ERROR: Poor initial element distribution. Processor 0 has no elements assigned to it! forrtl: severe (174): SIGSEGV, segmentation fault occurred Image PC Routine Line Source
ucns3d_p 000000000323B3E9 Unknown Unknown Unknown ucns3d_p 0000000003239D60 Unknown Unknown Unknown

mmexport1639552426131

TakisCFD commented 2 years ago

For intel compiler 2013 you will probably need to refer to the MKL link advisor since the -qopenmp-link-static will not work.

Now regarding the Parmetis, it is highly likely that the compiled static library provided is from a newer version of c compiler and this is why you might experience this issue. I would suggest that you download the Parmetis (http://glaros.dtc.umn.edu/gkhome/metis/parmetis/download) compile from source following the instructions and then following compilation copying both the libparmetis and libmetis from their respective directories in your code directory.

Let me know if this works.

college301654-art commented 2 years ago

I try the version from parmetis-4.0.1.tar.gz to parmetis-4.0rc1.tar.gz (http://glaros.dtc.umn.edu/gkhome/fsroot/sw/parmetis/OLD), but it doesn't work and it encounters the same problem. I wonder where the problem is. ![Uploading mmexport1639583868048.png…]()