-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Intel Compiler Error in in x86_64/dscal.c #962
Comments
The trick from #718 is not applicable because I need the icc to compile the C source due to the use of Intel's OpenMP implementation. |
I know barely enough assembler to be dangerous, but mdong's reasoning for #915 looks good to me so you could try dropping the arguments from the cc lists in dscal.c (and c/zscal_microk_haswell-2.c) |
gcc works with -liomp6 and without -fopenmp just fine. |
But the question is: If OpenBLAS is compiled with OpenMP threading using gcc then the OpenMP symbols can not be resolved because the GNU libgomp symbols are named like gomp_ and the ones from Intel are named like kmp_. From this point of view mixing compilers is a worse idea so we need the Intel Compiler Suite working. |
So could you try the (formally) trivial edit of the two files from #915, or do you see something wrong with that suggestion ? |
can you post at least GCC link line that you assembled using Intel Link Line Advisor? |
Resolved via #915 |
I tried to compile the current develop version ( and 0.2.19 perviously) with the 2015 edition of the Intel Compiler
on an Haswell Intel Xeon E5-2640v3. The operating System is a CentOS 7.
When the make process tries to compile 'kenerl/x86_64/dscal.c' I get the following error message:
../kernel/x86_64/dscal.c(96): catastrophic error: unknown register name %2 in asm statement
I called 'make' with the following arguments:
CC=icc CXX=icpc FC=ifort make USE_OPENMP=0
The text was updated successfully, but these errors were encountered: