<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi Baowei,</p>
<p>Thank you! Yes, it was the problem that lapack library was not
installed. After installing the lapack library and adding the line
you suggested in Makefile.h, it worked. </p>
<p>I didn't install lapack library before and have no issues running
other examples. Right now, I have HDF5, HYPRE, NetCDF, Lapack
installed for runing FLASH. Are there any other libraries that may
be needed? Thank you.</p>
<p>Cheers,</p>
<p>Po-Yu</p>
<div class="moz-cite-prefix">Liu, Baowei 於 2025/12/1 上午 04:53 寫道:<br>
</div>
<blockquote type="cite"
cite="mid:E034D628-6F50-48CE-99F9-2D1968865D3F@ur.rochester.edu">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
Sorry I meant to say: in your Makefile.h<br
id="lineBreakAtBeginningOfMessage">
<div><br>
<blockquote type="cite">
<div>On Nov 30, 2025, at 3:44 PM, Liu, Baowei
<a class="moz-txt-link-rfc2396E" href="mailto:baowei.liu@rochester.edu"><baowei.liu@rochester.edu></a> wrote:</div>
<br class="Apple-interchange-newline">
<div>
<div
style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">
Hello Po-Yu,
<div><br>
</div>
<div>These look like Lapack functions. Do you have the
lapack library installed and linked? You might want to
try manually adding the installed path to LIB_LAPACK =
in your Makefile.in file — something like:</div>
<div><br>
</div>
<div>LIB_LAPACK = -L YOUR_LAPACK_LIB_PATH -llapack -lblas</div>
<div><br>
</div>
<div>Let me know if still issues or other questions.</div>
<div><br>
</div>
<div>Thanks,</div>
<div>Baowei <br id="lineBreakAtBeginningOfMessage">
<div>
<div dir="auto"
style="caret-color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">
<div>________________________________<br>
Baowei Liu<br>
Center for Integrated Research Computing<br>
University of Rochester<br>
Bausch&Lomb 455A<br>
(585)276-4105<br>
________________________________</div>
</div>
</div>
<div><br>
<blockquote type="cite">
<div>On Nov 27, 2025, at 11:45 PM, pchang
<a class="moz-txt-link-rfc2396E" href="mailto:pchang@mail.ncku.edu.tw"><pchang@mail.ncku.edu.tw></a> wrote:</div>
<br class="Apple-interchange-newline">
<div>
<div>Dear FLASH developers and users,<br>
<br>
I am using FLASH (v4.8) to simulate a 1D
cylindrical Z-Pinch as a start for simulating
Z-pinch. I tried to use the example "Z-pinch
Simulation" and followed the manual to setup:<br>
<br>
./setup -auto magnetoHD/ZPinch -1d +cylindrical
+ug +usm3t +mtmmmt species=fill,line,vacu +mgd
mgd_meshgroups=6 +hdf5typeio<br>
<br>
However, when I compiled the code by using
"make", I got the following error messages:<br>
<br>
/bin/ld: /tmp/cc0mvl41.ltrans23.ltrans.o: in
function
`__gr_uhyprelinearleastsquares_MOD_lsq.constprop.0':<br>
/home/pchang/Downloads/FLASH4.8/object/gr_uhypreLinearLeastSquares.F90:129:
undefined reference to `dgelsy_'<br>
/bin/ld:
/home/pchang/Downloads/FLASH4.8/object/gr_uhypreLinearLeastSquares.F90:129:
undefined reference to `dgelsy_'<br>
/bin/ld: /tmp/cc0mvl41.ltrans23.ltrans.o: in
function
`__gr_uhypreparamesh_MOD_initweightset.constprop.0':<br>
/home/pchang/Downloads/FLASH4.8/object/gr_uhypreLinearLeastSquares.F90:76:
undefined reference to `dgeqrf_'<br>
/bin/ld:
/tmp/cc0mvl41.ltrans23.ltrans.o:/home/pchang/Downloads/FLASH4.8/object/gr_uhypreLinearLeastSquares.F90:83:
undefined reference to `dorgqr_'<br>
/bin/ld: /tmp/cc0mvl41.ltrans23.ltrans.o: in
function
`__gr_uhypreparamesh_MOD_initweightset.constprop.0':<br>
/home/pchang/Downloads/FLASH4.8/object/gr_uhypreLinearLeastSquares.F90:146:
undefined reference to `dgesv_'<br>
/bin/ld:
/tmp/cc0mvl41.ltrans23.ltrans.o:/home/pchang/Downloads/FLASH4.8/object/gr_uhypreLinearLeastSquares.F90:76:
undefined reference to `dgeqrf_'<br>
/bin/ld:
/tmp/cc0mvl41.ltrans23.ltrans.o:/home/pchang/Downloads/FLASH4.8/object/gr_uhypreLinearLeastSquares.F90:146:
undefined reference to `dgesv_'<br>
collect2: error: ld returned 1 exit status<br>
make: *** [Makefile:384: flash4] Error 1<br>
<br>
Did I miss anything that caused the error? Thank
you.<br>
<br>
Cheers,<br>
<br>
Po-Yu<br>
<br>
-- <br>
Po-Yu Chang<br>
Associate Professor<br>
Institute of Space and Plasma Sciences (ISAPS)<br>
National Cheng Kung University (NCKU)<br>
No.1, University Road,<br>
Tainan City 70101, Taiwan<br>
(TEL) +886-6-2757575 ext. 65916<br>
<a class="moz-txt-link-abbreviated" href="mailto:pchang@mail.ncku.edu.tw">pchang@mail.ncku.edu.tw</a><br>
<a class="moz-txt-link-freetext" href="https://capst.ncku.edu.tw/PGS/">https://capst.ncku.edu.tw/PGS/</a><br>
<br>
_______________________________________________<br>
flash-users mailing list<br>
<a class="moz-txt-link-abbreviated" href="mailto:flash-users@flash.rochester.edu">flash-users@flash.rochester.edu</a><br>
<br>
For list info, including unsubscribe:<br>
<a class="moz-txt-link-freetext" href="https://flash.rochester.edu/mailman/listinfo/flash-users">https://flash.rochester.edu/mailman/listinfo/flash-users</a><br>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</blockquote>
<pre class="moz-signature" cols="72">--
Po-Yu Chang
Associate Professor
Institute of Space and Plasma Sciences (ISAPS)
National Cheng Kung University (NCKU)
No.1, University Road,
Tainan City 70101, Taiwan
(TEL) +886-6-2757575 ext. 65916
<a class="moz-txt-link-abbreviated" href="mailto:pchang@mail.ncku.edu.tw">pchang@mail.ncku.edu.tw</a>
<a class="moz-txt-link-freetext" href="https://capst.ncku.edu.tw/PGS/">https://capst.ncku.edu.tw/PGS/</a></pre>
</body>
</html>