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

Unable to Compile it in HPC | Error related to libmetis.a #26

Open
anikm21 opened this issue May 31, 2022 · 1 comment
Open

Unable to Compile it in HPC | Error related to libmetis.a #26

anikm21 opened this issue May 31, 2022 · 1 comment

Comments

@anikm21
Copy link

anikm21 commented May 31, 2022

We are using 'make -f Makefile clean all' command to compile it using mpiifort compiler [Intel compiler 2017.3.196 and gcc version is 4.8.5]

It is throwing some error related to libmetis.a :

ld: libmetis.a(error.c.o): unrecognized relocation (0x2a) in section `.text'
ld: final link failed: Bad value
make: *** [ucns3d_p] Error 1

I have attached the screenshot of the error below. Please help me to compile it on hpc. Thanks in advance
Error_

Here is the make file which we used to compile it.
Makefile.txt

We have attached the log file for the compilation error.
log.txt

@TakisCFD
Copy link
Collaborator

I suggest that you download parmetis from http://glaros.dtc.umn.edu/gkhome/metis/parmetis/download and install on your computer since the static library of parmetis and Metis (libparmetis and libmetis respectively) have been probably compiled with a newer version that the one that you use to compile the code (intel/2015).

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