[FLASH-USERS] FLASH 4.8 not compiling - LAPACK library error

GABRIEL PEREZ CALLEJO gabriel.perez.callejo at uva.es
Tue Oct 29 04:44:01 EDT 2024


Dear Eddie, all,

By adding the line LIB_LAPACK = -llapack, the compilation works. However, a new error appears (this error is also particular of version 4.8, as there is no issue with version 4.6.2).

When doing “make -j” inside the object directory, At some point the error: "Fatal Error: Reading module ’iso_c_binding’ at line 1 column 1: Unexpected EOF” appears. The file iso_c_binding.mod is indeed empty, but that is also the case in version 4.6.2, where the same file is also empty.

I believe this error appears when the make command starts dealing with the file “gr_GCReleaseScratch.F90”, but I am unsure. I am attaching here the STDOUT and STDERR from the process.

Apologies for the reiterated problems, your help is much appreciated.

Best,

Gabriel Pérez Callejo
Profesor Ayudante Doctor (Assistant Professor)
Departamento de Física Teórica, Atómica y Óptica
Universidad de Valladolid
Valladolid, Spain
+34 983 18 6513


El 28 oct 2024, a las 14:04, Hansen, Eddie <ehansen at pas.rochester.edu> escribió:

Hi Gabriel,

On some machines, this will work:
LIB_LAPACK = -llapack

You can also explicitly set the lapack path in your Makefile.h just like the HYPRE and HDF5 library paths. In other words, something like this:
LAPACK_PATH = /path_to_lapack
LIB_LAPACK = -L${LAPACK_PATH}/lib -llapack

--
Eddie Hansen
Applications Group Leader
Flash Center for Computational Science



From: flash-users <flash-users-bounces at flash.rochester.edu> on behalf of GABRIEL PEREZ CALLEJO <gabriel.perez.callejo at uva.es>
Date: Monday, October 28, 2024 at 5:30 AM
To: flash-users at flash.rochester.edu <flash-users at flash.rochester.edu>
Subject: [FLASH-USERS] FLASH 4.8 not compiling - LAPACK library error

Dear all,

I finally got FLASH 4.6.2 to run on my OpenSuse 15.6 machine. It is currently working in parallel and has shown no issues so far. However, when I try to run FLASH 4.8, using the exact same libraries and the same launching script, I run into a new error.

"ERROR: A Config in your simulation requires the lapack library”

Now, my machine has the lapack libraries installed, but I am unsure if for FLASH4.8 one needs to add the path to the LD_LIBRARY_PATH variable or similar. If I follow the compiler’s advice and add an empty LIB_LAPACK variable to my Makefile.h, then the code does not work either, and runs into a FatalError during make.

Any clues on how to fix that?

Best,

Gabriel Pérez Callejo
Profesor Ayudante Doctor (Assistant Professor)
Departamento de Física Teórica, Atómica y Óptica
Universidad de Valladolid
Valladolid, Spain
+34 983 18 6513

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20241029/928a39ee/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: STDERR
Type: application/octet-stream
Size: 25724 bytes
Desc: STDERR
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20241029/928a39ee/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: STDOUT
Type: application/octet-stream
Size: 290245 bytes
Desc: STDOUT
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20241029/928a39ee/attachment-0003.obj>


More information about the flash-users mailing list