![]() `-L"/usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3.7.1" -llapack`įor some reason, LAPACK doesn't install into `/usr/lib`?.I have added the `-L` arg pointing to the following: Now that Ubuntu has swapped lib/lib64 to lib32/lib, might that be a problem? `-llapack` alone has worked for me on most other Linux systems (Ubuntu 16.04, some of Fedoras 26-current). Makefile:13: recipe for target 'p2.o' failed P2.f90:(.text+0x11d): undefined reference to `dgesvd_'Ĭollect2: error: ld returned 1 exit status gfortran -O3 -fdefault-real-8 -I"/usr/include" -L"/usr/lib/x86_64-linux-gnu/atlas/lapack.so" -llapack -o p2.o p2.f90 I have both `liblapack-dev` and `liblapack3` (default for 20.04) installed. I've spent the last hour trying to link LAPACK in my makefile.
0 Comments
Leave a Reply. |