Opened 5 years ago
Last modified 5 years ago
#5713 assigned discussion
Compile openmodelica with icc and icpc
Reported by: | Owned by: | Adrian Pop | |
---|---|---|---|
Priority: | high | Milestone: | Future |
Component: | *unknown* | Version: | v1.13.2 |
Keywords: | compiler icc icpc | Cc: | florentine.rosiere@… |
Description
I would like to compile openmodelica with intel suite compilers icc and icpc but when I run ./configure CC=path/to/icc CXX=path/to/icpc I get the following warning message :
configure: WARNING: lpsolve/lp_lib.h: present but cannot be compiled configure: WARNING: lpsolve/lp_lib.h: check for missing prerequisite headers configure: WARNING: lpsolve/lp_lib.h: see the Autoconf documentation configure: WARNING: lpsolve/lp_lib.h: section "Present but cannot be compiled" configure: WARNING: lpsolve/lp_lib.h: proceeding with the compiler results checking for lpsolve/lp_lib.h... no failed to find lpsolve55 hearders or library; will compiler them ourselves
I don't know if it's much of a big deal as the configuration carries on. But later on when I launch the compilation it aborts and returns :
/usr/include/c++/7/bits/move.h(48): error: identifier "__builtin_adressof" is undefinded
I am using Ubuntu 18.04, my icc version is 15.0.4 and my gcc version is 7.4.0. Is there a way to compile OpenModelica with intel compiler ?
Change History (1)
comment:1 by , 5 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
Type: | defect → discussion |
Note:
See TracTickets
for help on using tickets.
Maybe @adrpo has some experience with that.