OpenBLAS with OpenMP

1,541 views
Skip to first unread message

vincent...@gmail.com

unread,
May 19, 2014, 9:41:23 AM5/19/14
to openbla...@googlegroups.com
Hi,

I am trying to make OpenBLAS work with an application that uses OpenMP. I did did make in the OpenBLAS directory with make NO_AFFINITY=1 USE_OPENMP=1. However, when running my application it still returns me the following warning:

"OpenBLAS Warning : Detect OpenMP Loop and this application may hang. Please rebuild the library with USE_OPENMP=1 option."


At the end of the make process, there has been a message stating that openmp is used and the openblas and goto flags are ignored. Is there any way that I can check if it really is compiled correctly? Is there something I might be forgetting?




thanks,
Vincent

Zhang Xianyi

unread,
May 19, 2014, 9:09:52 PM5/19/14
to vincent...@gmail.com, openbla...@googlegroups.com
Hi Vincent,

Could you provide your log?

make clean
nohup make USE_OPENMP=1

Then, please send me nohup.out, config.h, Makefile.conf.

Xianyi


--
You received this message because you are subscribed to the Google Groups "OpenBLAS-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openblas-user...@googlegroups.com.
To post to this group, send email to openbla...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

xunxun

unread,
May 19, 2014, 9:15:26 PM5/19/14
to vincent...@gmail.com, openbla...@googlegroups.com
Try to rebuild with USE_THREADS=0


--
You received this message because you are subscribed to the Google Groups "OpenBLAS-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openblas-user...@googlegroups.com.
To post to this group, send email to openbla...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Best Regards,
xunxun

Vincent De Groof

unread,
May 20, 2014, 3:58:11 AM5/20/14
to xunxun, openbla...@googlegroups.com

Thanks. Adding USE_THREADS=0 did the trick.



Vincent
--
--


Vincent De Groof

Edgar Tinellaan 18                             Johann Strauss Strasse 4
2900 Schoten                                    6020 Innsbruck
Belgium                                            Austria
+43(0)6508830053
Reply all
Reply to author
Forward
0 new messages