openblas


SuperLU with OpenBLAS: undefined reference to `pthread_atfork'


When compiling the SuperLU 4.3 library using OpenBLAS instead of regular BLAS distributions, this error keeps coming up:
>gcc cdrive.o sp_cconvert.o cgst01.o cgst02.o cgst04.o cgst07.o sp_ienv.o \
> libtmglib.a /a/location/lib/libsuperlu_4.3.a ->L/a/location/lib/libopenblas.a -lopenblas -lm -o ctest
>/a/location/lib/libopenblas.a(memory.o): In function >'openblas_fork_handler':
>memory.c:(.text+0x3e0): undefined reference to 'pthread_atfork'
>/a/location/lib/libopenblas.a(blas_server.o): In function >'blas_thread_shutdown_':
>blas_server.c:(.text+0x25e): undefined reference to 'pthread_join'
>/a/location/lib/libopenblas.a(blas_server.o): In function >'goto_set_num_threads':
>blas_server.c:(.text+0x403): undefined reference to 'pthread_create'
>/a/location/lib/libopenblas.a(blas_server.o): In function >'blas_thread_init':
>blas_server.c:(.text+0x721): undefined reference to 'pthread_create'
You need to link pthread / libpthread. Depending on the linker, this might be done automatically, but not in your case.

Related Links

openblas sgemv CblasRowMajor implementation returns wrong results (cblas_sgemv)
Asking for the OpenBLAS installation
SuperLU with OpenBLAS: undefined reference to `pthread_atfork'

Categories

HOME
uml
gridview
delphi-7
css3
case
jelastic
solaris
shiro
pclxl
soa
alsa
jetty
vert.x
accessibility
little-proxy
enthought
why3
endpoint
shared-libraries
renjin
enterprise-architect
eip
heat
atlassian-stash
cfml
charles
simpleitk
systemtime
postscript
scriptella
jquery-callback
itunes
realm-mobile-platform
aws-codecommit
powershell-ise
keras-layer
getpixel
sharepoint-workflow
magento-1.9.2.4
ideascript
protein-database
linq-to-objects
c9.io
skylink
microsoft-metro
chronicle-map
ssrs-2014
nanoc
dbcontext
geotiff
remedy
pdf-conversion
libjpeg
flac
d3-force-directed
pybrain
mathcad
swingworker
renaming
testrail
lrs
greatest-n-per-group
hclust
installshield-2010
pre-build-event
omniauth-facebook
kiosk
realsense
rasterize
terracotta
pypiserver
forwarding
phonertc
.bash-profile
ember-cli-rails
atoi
zscript
apache-commons-daemon
avahi
java-security
cosine-similarity
jbake
entry-point
jqmodal
extjs2
multiautocompletetextview
mt4j
bin
modular
nebula
route-provider
diem
composite-component
superscrollorama
alice
sentestingkit
vfs
workflow-services
google-floodlight
qglwidget
data-mapping
silverlight-oob
asynchronous-wcf-call
technical-debt
appliance

Resources

Database Users
RDBMS discuss
Database Dev&Adm
javascript
java
csharp
php
android
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App