Here's what I'm getting when trying to compile with atlas instead of MKL:
- Code: Select all
make[1]: Entering directory `~/Programming/plasma/testing'
gfortran testing_zmain.o testing_zgesv.o testing_zgels.o testing_zposv.o testing_zgemm.o testing_zsyrk.o testing_zsyr2k.o testing_zsymm.o testing_ztrsm.o testing_ztrmm.o testing_zlange.o testing_zherk.o testing_zher2k.o testing_zhemm.o testing_zgecfi.o testing_zgetmi.o testing_zcposv.o testing_zcgesv.o testing_zcungesv.o -o ztesting -L../lib -lplasma -lcoreblas -L../quark -lquark -L../../lapacke -llapacke -L/usr/lib64/atlas -lclapack -llapack -lcblas -lclapack -lblas -lpthread -lm
testing_zposv.o: In function `testing_zposv':
~/Programming/plasma/testing/testing_zposv.c:205: undefined reference to `zlaghe'
~/Programming/plasma/testing/testing_zposv.c:254: undefined reference to `zlaghe'
~/Programming/plasma/testing/testing_zposv.c:304: undefined reference to `zlaghe'
testing_zsyrk.o: In function `testing_zsyrk':
~/Programming/plasma/testing/testing_zsyrk.c:94: undefined reference to `zlagsy'
testing_zsyr2k.o: In function `testing_zsyr2k':
~/Programming/plasma/testing/testing_zsyr2k.c:100: undefined reference to `zlaghe'
testing_zsymm.o: In function `testing_zsymm':
~/Programming/plasma/testing/testing_zsymm.c:95: undefined reference to `zlaghe'
testing_zherk.o: In function `testing_zherk':
~/Programming/plasma/testing/testing_zherk.c:94: undefined reference to `zlaghe'
testing_zher2k.o: In function `testing_zher2k':
~/Programming/plasma/testing/testing_zher2k.c:100: undefined reference to `zlaghe'
testing_zhemm.o: In function `testing_zhemm':
~/Programming/plasma/testing/testing_zhemm.c:95: undefined reference to `zlaghe'
testing_zcposv.o:~/Programming/plasma/testing/testing_zcposv.c:78: more undefined references to `zlaghe' follow
collect2: ld returned 1 exit status
To my understanding, this does not happen in case of MKL because it defines both underscored (according to fortran convention) and non-underscored versions of blas/lapack routines. And here atlas seem to have only underscored versions. I see some workarounds, but first need to ensure: is it an expected issue, or am I mistaking somewhere?
Thanks!
