<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<div style="line-break:after-white-space">Dear Eddie, all,
<div><br>
</div>
<div>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).</div>
<div><br>
</div>
<div>When doing “make -j” inside the object directory, At some point the error: "<i>Fatal Error: Reading module ’iso_c_binding’ at line 1 column 1: Unexpected EOF”
</i>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. </div>
<div><br>
</div>
<div>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.</div>
<div><br>
</div>
<div>Apologies for the reiterated problems, your help is much appreciated.</div>
<div><br>
</div>
<div>Best,</div>
<div><br id="x_lineBreakAtBeginningOfMessage">
<div>
<div><b>Gabriel Pérez Callejo</b></div>
<div>Profesor Ayudante Doctor (Assistant Professor)</div>
<div>Departamento de Física Teórica, Atómica y Óptica</div>
<div>Universidad de Valladolid</div>
<div>Valladolid, Spain</div>
<div>+34 983 18 6513</div>
<div><br>
</div>
</div>
</div>
</div>
<div style="line-break:after-white-space">
<div>
<div id="x_AppleMailSignature"></div>
</div>
</div>
<div style="line-break:after-white-space">
<div>
<div></div>
<div><br>
<blockquote type="cite">
<div>El 28 oct 2024, a las 14:04, Hansen, Eddie <ehansen@pas.rochester.edu> escribió:</div>
<br class="x_Apple-interchange-newline">
<div>
<div class="x_WordSection1" style="font-family:Helvetica; font-size:12px; font-style:normal; font-variant-caps:normal; font-weight:400; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none">
<div style="margin:0in; font-size:12pt; font-family:Aptos,sans-serif"><span style="font-size:11pt">Hi Gabriel,</span></div>
<div style="margin:0in; font-size:12pt; font-family:Aptos,sans-serif"><span style="font-size:11pt"> </span></div>
<div style="margin:0in; font-size:12pt; font-family:Aptos,sans-serif"><span style="font-size:11pt">On some machines, this will work:<br>
LIB_LAPACK = -llapack</span></div>
<div style="margin:0in; font-size:12pt; font-family:Aptos,sans-serif"><span style="font-size:11pt"> </span></div>
<div style="margin:0in; font-size:12pt; font-family:Aptos,sans-serif"><span style="font-size:11pt">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:<br>
LAPACK_PATH = /path_to_lapack</span></div>
<div style="margin:0in; font-size:12pt; font-family:Aptos,sans-serif"><span style="font-size:11pt">LIB_LAPACK = -L${LAPACK_PATH}/lib -llapack</span></div>
<div style="margin:0in; font-size:12pt; font-family:Aptos,sans-serif"><span style="font-size:11pt"> </span></div>
<div>
<div style="margin:0in; font-size:12pt; font-family:Aptos,sans-serif"><span style="font-size:11pt; font-family:Calibri,sans-serif">--</span><span style="font-size:10pt; font-family:Calibri,sans-serif"></span></div>
<div style="margin:0in; font-size:12pt; font-family:Aptos,sans-serif"><span style="font-family:Arial,sans-serif; color:rgb(24,26,27)">Eddie Hansen</span><span style="font-size:10pt; font-family:Calibri,sans-serif"></span></div>
<div style="margin:0in; font-size:12pt; font-family:Aptos,sans-serif"><span style="font-family:Arial,sans-serif; color:rgb(24,26,27)">Applications Group Leader</span></div>
<div style="margin:0in; font-size:12pt; font-family:Aptos,sans-serif"><span style="font-family:Arial,sans-serif; color:rgb(24,26,27)">Flash Center for Computational Science</span><span style="font-size:10pt; font-family:Calibri,sans-serif"></span></div>
</div>
<div style="margin:0in; font-size:12pt; font-family:Aptos,sans-serif"><span style="font-size:11pt"> </span></div>
<div style="margin:0in; font-size:12pt; font-family:Aptos,sans-serif"><span style="font-size:11pt"> </span></div>
<div id="x_mail-editor-reference-message-container">
<div>
<div>
<div style="border-width:1pt medium medium; border-style:solid none none; border-color:rgb(181,196,223) currentcolor currentcolor; padding:3pt 0in 0in">
<p class="x_MsoNormal" style="margin:0in 0in 12pt; font-size:12pt; font-family:Aptos,sans-serif">
<b><span style="">From:<span class="x_Apple-converted-space"> </span></span></b><span style="">flash-users <flash-users-bounces@flash.rochester.edu> on behalf of GABRIEL PEREZ CALLEJO <gabriel.perez.callejo@uva.es><br>
<b>Date:<span class="x_Apple-converted-space"> </span></b>Monday, October 28, 2024 at 5:30 AM<br>
<b>To:<span class="x_Apple-converted-space"> </span></b>flash-users@flash.rochester.edu <flash-users@flash.rochester.edu><br>
<b>Subject:<span class="x_Apple-converted-space"> </span></b>[FLASH-USERS] FLASH 4.8 not compiling - LAPACK library error</span></p>
</div>
<div style="margin:0in; font-size:12pt; font-family:Aptos,sans-serif">Dear all,<span class="x_Apple-converted-space"> </span></div>
<div>
<div style="margin:0in; font-size:12pt; font-family:Aptos,sans-serif"> </div>
</div>
<div>
<div style="margin:0in; font-size:12pt; font-family:Aptos,sans-serif">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.</div>
</div>
<div>
<div style="margin:0in; font-size:12pt; font-family:Aptos,sans-serif"> </div>
</div>
<div>
<div style="margin:0in; font-size:12pt; font-family:Aptos,sans-serif"><i>"ERROR: A Config in your simulation requires the lapack library”</i></div>
</div>
<div>
<div style="margin:0in; font-size:12pt; font-family:Aptos,sans-serif"> </div>
</div>
<div>
<div style="margin:0in; font-size:12pt; font-family:Aptos,sans-serif">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.</div>
</div>
<div>
<div style="margin:0in; font-size:12pt; font-family:Aptos,sans-serif"> </div>
</div>
<div>
<div style="margin:0in; font-size:12pt; font-family:Aptos,sans-serif">Any clues on how to fix that?</div>
</div>
<div>
<div style="margin:0in; font-size:12pt; font-family:Aptos,sans-serif"> </div>
</div>
<div>
<div style="margin:0in; font-size:12pt; font-family:Aptos,sans-serif">Best,</div>
</div>
<div>
<div style="margin:0in; font-size:12pt; font-family:Aptos,sans-serif"> </div>
<div>
<div>
<div style="margin:0in; font-size:12pt; font-family:Aptos,sans-serif"><b>Gabriel Pérez Callejo</b></div>
</div>
<div>
<div style="margin:0in; font-size:12pt; font-family:Aptos,sans-serif">Profesor Ayudante Doctor (Assistant Professor)</div>
</div>
<div>
<div style="margin:0in; font-size:12pt; font-family:Aptos,sans-serif">Departamento de Física Teórica, Atómica y Óptica</div>
</div>
<div>
<div style="margin:0in; font-size:12pt; font-family:Aptos,sans-serif">Universidad de Valladolid</div>
</div>
<div>
<div style="margin:0in; font-size:12pt; font-family:Aptos,sans-serif">Valladolid, Spain</div>
</div>
<div>
<div style="margin:0in; font-size:12pt; font-family:Aptos,sans-serif">+34 983 18 6513</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</body>
</html>