<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">
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 <baowei.liu@rochester.edu> 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 <pchang@mail.ncku.edu.tw> 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>
pchang@mail.ncku.edu.tw<br>
https://capst.ncku.edu.tw/PGS/<br>
<br>
_______________________________________________<br>
flash-users mailing list<br>
flash-users@flash.rochester.edu<br>
<br>
For list info, including unsubscribe:<br>
https://flash.rochester.edu/mailman/listinfo/flash-users<br>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</body>
</html>