OpenBLAS: Complie HPL 2.2 failed with OpenBLAS Develop
Dear Xianyi
Do you know why I complie HPL 2.2 failed with OpenBLAS dev, but it worked with GotoBLAS2
/root/OpenBLAS/lib/libopenblas.a(memory.o): In function openblas_fork_handler': memory.c:(.text+0x300): undefined reference topthread_atfork’
collect2: ld returned 1 exit status
make[2]: *** [dexe.grd] Error 1
make[2]: Leaving directory /root/hpl-2.2/testing/ptest/Linux_PII_CBLAS' make[1]: *** [build_tst] Error 2 make[1]: Leaving directory/root/hpl-2.2’
make: *** [build] Error 2
[root@localhost hpl-2.2]#
Thanks. John Centeno
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 41 (10 by maintainers)
Still not quite right, can you please change the LAlib line in your file to
LAlib = -L $(TOPdir)/src/cuda -ldgemm -L/usr/local/cuda/lib64 -lcublas -lcuda -lcudart -L$(LAdir) -lopenblas -lpthread