Hi Folks,
When I build pyamg according to the instructions, using GNU compilers, "import pyamg" gives the following error:
File "/usr/local/contrib/lib/python2.7/site-packages/scipy/linalg/misc.py", line 3, in <module>
import fblas
ImportError: /usr/local/contrib/lib/python2.7/site-packages/scipy/linalg/fblas.so: undefined symbol: _gfortran_st_write_done
Some googling suggested this could be fixed by including -lgfortran. Any hints on how to configure the build to add this link flag? I tried
python setup.py config --libraries -lgfortran
But that didn't fix it, and an ldd on fblas.so indicates that libgfortran.so isn't being linked in. The build output doesn't indicate what compilation commands are actually being used, even trying --verbose and --noisy flags.
Any help would be appreciated.
Thanks,
Ben