Summary: | sci-mathematics/scilab-4.1.2-r1 with sci-libs/mkl-10.0.5.025 (mkl-gfortran-threads): Fails to compile: Unable to find/link libmkl_intel.so | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Chris Larson <cklarson> |
Component: | Current packages | Assignee: | Gentoo Science Mathematics related packages <sci-mathematics> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | CC: | cklarson |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
Build messages from Paludis.
Build log from Paludis. scilab-4.1.2-r2.ebuild including patch for compiling with mkl-gfortran-threads. Patch for compiling scilab-4.1.2-r2 with mkl-10.0.5.025 mkl-gfortran-threads, using ebuild attached to this bug. |
Description
Chris Larson
2009-03-26 07:19:53 UTC
Created attachment 186301 [details]
Build messages from Paludis.
Created attachment 186303 [details]
Build log from Paludis.
(In reply to comment #2) > Created an attachment (id=186303) [edit] > Build log from Paludis. > Any word on this bug? Unfortunately, I don't have any machines with mkl installed at the moment so I can look at this very easily. This is probably an issue with scilab's build system but without a live system to test this on it is hard to tell. Best, Markus Created attachment 201742 [details] scilab-4.1.2-r2.ebuild including patch for compiling with mkl-gfortran-threads. Be sure to confirm that the following files are linked: /usr/include/cblas.h -> /opt/intel/mkl/10.0.5.025/include/cblas.h /usr/include/mkl_types.h -> /opt/intel/mkl/10.0.5.025/include/mkl_types.h If either or both of these are absent, execute the following commands for each missing link: ln -s /opt/intel/mkl/10.0.5.025/include/cblas.h /usr/include/cblas.h ln -s /opt/intel/mkl/10.0.5.025/include/mkl_types.h /usr/include/mkl_types.h This ebuild will work with mkl-10.1.1.019 as well, using the ebuild from bug 260810. Just replace each occurrence of '10.0.5.025' with '10.1.1.019' in the ebuild and the following patch, and confirm that the above-mentioned files are linked to the correct version. Created attachment 201743 [details, diff]
Patch for compiling scilab-4.1.2-r2 with mkl-10.0.5.025 mkl-gfortran-threads, using ebuild attached to this bug.
See ebuild attachment comments.
I've attached the ebuild and patch in the previous two comments to allow compilation with mkl-10.0.5.025 using mkl-gfortran-threads. The patch is a bit inelegant, but works well for me. See the comments with the ebuild above for more information. In a nutshell, the patch simply adds the mkl directory, libiomp5, and libpthread to LD_FLAGS in Makefile.incl.in and configure.in, in the top level directory of the scilab source. Hope this helps anyone encountering this problem (Not being able to compile scilab-4.1.2 using mkl-10.0.5.025 with the mkl-gfortran-threads implementation). (In reply to comment #6) > Created an attachment (id=201743) [edit] > Patch for compiling scilab-4.1.2-r2 with mkl-10.0.5.025 mkl-gfortran-threads, > using ebuild attached to this bug. > > See ebuild attachment comments. > dropped from the tree, use sci overlay versions instead |