Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running the compiled code encounters the parmetis error #23

Open
college301654-art opened this issue Dec 15, 2021 · 2 comments
Open

Running the compiled code encounters the parmetis error #23

college301654-art opened this issue Dec 15, 2021 · 2 comments

Comments

@college301654-art
Copy link

[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
Copy link
Collaborator

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
Copy link
Author

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…

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants