openblas_set_num_threads() not declared in this scope

850 views
Skip to first unread message

SecretAardvark

unread,
Mar 12, 2014, 10:11:32 AM3/12/14
to openbla...@googlegroups.com
Hi

I am tying to use the function openblas_set_num_threads(). However, when I try to compile my code I get an error saying that it is not declared in this scope despite it clearly being in the cblas.h header file. I am using this function in the main function of my code, I have included cblas.h so I can't figure out why it is not working. Any help would be greatly appreciated.

Zhang Xianyi

unread,
Mar 12, 2014, 11:18:17 PM3/12/14
to SecretAardvark, openbla...@googlegroups.com
Hi,

Could your provide your code and error log?

Xianyi


2014-03-12 22:11 GMT+08:00 SecretAardvark <l.m.f...@gmail.com>:
Hi

I am tying to use the function openblas_set_num_threads(). However, when I try to compile my code I get an error saying that it is not declared in this scope despite it clearly being in the cblas.h header file. I am using this function in the main function of my code, I have included cblas.h so I can't figure out why it is not working. Any help would be greatly appreciated.

--
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.

Message has been deleted

SecretAardvark

unread,
Mar 13, 2014, 4:27:58 AM3/13/14
to openbla...@googlegroups.com, SecretAardvark
No worries. I figured out what it was doing. I had to explicitly tell it to use the openblas cblas.h file using the -include flag because without that, despite specifying the include directory using -I, it was actually using a cblas.h file in my Matlab directory. Its all good now. Thanks for your help anyways.
Reply all
Reply to author
Forward
Message has been deleted
0 new messages