[FLASH-USERS] Compile FLASH4.8 LaserSlab on MacOS with M1 chip

Yao Weipeng yao.weipeng at polytechnique.edu
Fri Apr 4 18:13:59 EDT 2025


Hey there,

I am trying to use FLASH4.8 and the LaserSlab setup on my Mac laptop, with M1 chip.
And I got the following issue at the linking stage of the compilation:

Undefined symbols for architecture arm64:
 "_dgelsy_", referenced from:
     ___gr_uhyprelinearleastsquares_MOD_lsq.constprop.0 in gr_uhypreLinearLeastSquares.o
     ___gr_uhyprelinearleastsquares_MOD_lsq.constprop.0 in gr_uhypreLinearLeastSquares.o
     ___gr_uhyprelinearleastsquares_MOD_lsq.constprop.0 in gr_uhypreLinearLeastSquares.o
 "_dgeqrf_", referenced from:
     ___gr_uhyprelinearleastsquares_MOD_linsqln in gr_uhypreLinearLeastSquares.o
     ___gr_uhyprelinearleastsquares_MOD_linsqln in gr_uhypreLinearLeastSquares.o
     ___gr_uhyprelinearleastsquares_MOD_linsqln in gr_uhypreLinearLeastSquares.o
 "_dgesv_", referenced from:
     ___gr_uhyprelinearleastsquares_MOD_linsqln in gr_uhypreLinearLeastSquares.o
     ___gr_uhyprelinearleastsquares_MOD_linsqln in gr_uhypreLinearLeastSquares.o
     ___gr_uhyprelinearleastsquares_MOD_linsqln in gr_uhypreLinearLeastSquares.o
 "_dorgqr_", referenced from:
     ___gr_uhyprelinearleastsquares_MOD_linsqln in gr_uhypreLinearLeastSquares.o
ld: symbol(s) not found for architecture arm64
collect2: error: ld returned 1 exit status
make: *** [flash4] Error 1

Is there someone who might have a clue in dealing with this issue?

Thanks,
Weipeng
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20250404/fb335819/attachment.htm>


More information about the flash-users mailing list