HiFiLES / HiFiLES-solver

High Fidelity Large Eddy Simulation Solver
Other
171 stars 131 forks source link

./configure_run.sh fails with metis issue #147

Open avd28 opened 6 years ago

avd28 commented 6 years ago

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 commented 6 years ago

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 commented 6 years ago

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

JacobCrabill commented 6 years ago

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 commented 6 years ago

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?