You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I am trying to compile some inline::C program with icc, so I have added the following to the arguments of inline::C :
use Inline C => Config => CLEAN_AFTER_BUILD => 0,
CC => '/opt/intel/composer_xe_2015.1.133/bin/intel64/icc',
CCFLAGS => '-openmp',
BUILD_NOISY => 1,
LIBS => '-Wl,--start-group -L/opt/intel/mkl/lib/intel64 -Wl,--end-group -lmkl_core -liomp5 -lmkl_intel_thread -lpthread -ldl -lm';
Everything is fine except when it compiles the undefined symbol: __kmpc_global_thread_num appears. This is due to the lack of library libiomp5.so. However it is specified in the LIBS option.
I checked the Makefile.PL and it appears, but it does not appear in the Makefile generated by Makefile.PL. It seems Makefile.PL is removing it.
So my question is : what can I do to have -liomp5 appear in the Makefile ?
Regards,
JM
The text was updated successfully, but these errors were encountered:
I could figure out why it is not working, the path to the libiomp5.so is not found, so I have added
"-L/opt/intel/lib/intel64" to the LIBS and it works ;-)
Hi,
I am trying to compile some inline::C program with icc, so I have added the following to the arguments of inline::C :
use Inline C => Config => CLEAN_AFTER_BUILD => 0,
CC => '/opt/intel/composer_xe_2015.1.133/bin/intel64/icc',
CCFLAGS => '-openmp',
BUILD_NOISY => 1,
LIBS => '-Wl,--start-group -L/opt/intel/mkl/lib/intel64 -Wl,--end-group -lmkl_core -liomp5 -lmkl_intel_thread -lpthread -ldl -lm';
Everything is fine except when it compiles the undefined symbol: __kmpc_global_thread_num appears. This is due to the lack of library libiomp5.so. However it is specified in the LIBS option.
I checked the Makefile.PL and it appears, but it does not appear in the Makefile generated by Makefile.PL. It seems Makefile.PL is removing it.
So my question is : what can I do to have -liomp5 appear in the Makefile ?
Regards,
JM
The text was updated successfully, but these errors were encountered: