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

./configure_run.sh fails with metis issue #147

Open
avd28 opened this issue Nov 11, 2017 · 4 comments
Open

./configure_run.sh fails with metis issue #147

avd28 opened this issue Nov 11, 2017 · 4 comments

Comments

@avd28
Copy link

avd28 commented Nov 11, 2017

Hi Guys,

I' keep coming up with the error message

./configure: line 2027: CONFIGURE_METIS: command not found
./configure: line 2041: syntax error near unexpected token BUILD_METIS,' ./configure: line 2041: AM_CONDITIONAL(BUILD_METIS, test $enablemetis = "YES")'

while trying to install hifiLES. I'm also unable to install automake v1.11 as that gives another error. Even after I have installed metis seperately and pointed to it in the configure_run file, this error crops up.
Any help would be very appreciated.

@JacobCrabill
Copy link
Member

The Automake build was kinda shaky even when it was first written a few years ago; have you tried compiling with one of the provided Makefiles?

@avd28
Copy link
Author

avd28 commented Nov 11, 2017

I'm trying to install on an ubuntu 64-bit machine. Which makefile should I use, enrico, aphrodite or nikola?

@JacobCrabill
Copy link
Member

Are you using GPUs? If not, you don't need to worry about the "machine" #ifdefs; that was just a hard-coding of how to assign CUDA devices to MPI ranks. If you are using GPUs, I'd recommend just commenting out that section of geometry.cpp and assigning CUDA devices to each rank based on however your system is set up.

If not, then any of the makefile.*.in's are a good starting point; just type in the paths to the folders containing you BLAS, MPI, ParMETIS, etc. libraries.

@avd28
Copy link
Author

avd28 commented Nov 11, 2017

Sorry, this doesnt seem to work either. If I choose to use my own install of metis should i change the path both in the makefile.in and the ./configure_run.sh file?

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