Intel® C++ Compiler
Support and discussions for creating C++ code that runs on platforms based on Intel® processors.
Announcements
The Intel sign-in experience has changed to support enhanced security controls. If you sign in, click here for more information.
7763 Discussions

Trouble referencing the proper Blitz library

JimH_7
Novice
157 Views

I'm trying to compile a pretty large project using cmake. I'm compiling on an older intel compiler on a linux machine. In /pkg we have 2 version of blitz0.10 (gnu) and blitz0.10i (intel). In the cmake file there is a variable called ${BLITZ_LIBRARY}. It is directing the compiler to look for the /pgk/blitz0.10/include/gnu/bzonfig.h * rather than in /pgk/blitz0.10/include/intel/bzconfig.h*. Any thoughts on how to set that variable so it points to the right directory. I tried hard coding it the CMakeLists.txt file, but it still was improperly directed to the gnu version. Any suggestions will be appreciated.

 

Thank you.

0 Kudos
1 Solution
JimH_7
Novice
127 Views

I found where the configuration for the blitz, curl, and hdf5 versions are set.

On the system I am working on it is in /pkg/fmwk/<framework>/dev/fmwk-config.cmake.

There happens to be numerous frameworks in /pkg/fmwk/ and each one sets the blitz directory to blitz0.10.

the blitz0.10i (for intel) seems to be just a holding place for the intel code and the workaround seems to be moving blitz0.10 into blitz0.10g (for gnu) and keeping it in the system just as the intel version was stored, then moving blitz0.10i into blitz0.10 making it the version loaded by the cmake commands.

I know it's unlikely, but just in case this happens again (I actually saw an old unanswered post from about 10 years ago, where another person was having the same problem) perhaps this will be of some help.

 

 

 

View solution in original post

2 Replies
JimH_7
Novice
128 Views

I found where the configuration for the blitz, curl, and hdf5 versions are set.

On the system I am working on it is in /pkg/fmwk/<framework>/dev/fmwk-config.cmake.

There happens to be numerous frameworks in /pkg/fmwk/ and each one sets the blitz directory to blitz0.10.

the blitz0.10i (for intel) seems to be just a holding place for the intel code and the workaround seems to be moving blitz0.10 into blitz0.10g (for gnu) and keeping it in the system just as the intel version was stored, then moving blitz0.10i into blitz0.10 making it the version loaded by the cmake commands.

I know it's unlikely, but just in case this happens again (I actually saw an old unanswered post from about 10 years ago, where another person was having the same problem) perhaps this will be of some help.

 

 

 

VarshaS_Intel
Moderator
115 Views

Hi,


Thanks for posting in Intel communities.


Glad to know that your issue is resolved. Thanks for sharing the solution with us. This thread will no longer be monitored by Intel. If you have any other queries, please start a new question.


Have a good day!


Thanks & Regards,

Varsha


Reply