- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We had working scipy and numpy using mkl on our server machine. we dont know what happened but now scipy.test throws below error.we have /11.0/069 intel cluster toolkit and mkl is included in it.
MKL FATAL ERROR: Cannot load libmkl_lapack.so . os is rhel 5.2 x86_64.
Akshar
MKL FATAL ERROR: Cannot load libmkl_lapack.so . os is rhel 5.2 x86_64.
Akshar
The issues: Missing patches, I guess : There are 9 patches for '1.2.7p1'.
( You can read the file mpich-el5.spec, to know the used options, flags.) # yum install fdupes gdb gcc-gfortran xz ftp://ftp.pbone.net/mirror/www.pclin...os2010.src.rpm rpm -Uvh mpich-1.2.7p1-1pclos2010.src.rpm cd xz -d mpich-1.2.7p1.tar.xz rpmbuild -bb mpich-el5.spec : No errors, the packages are created .. mpich-1.2.7p1-1.el5.i386.rpm , mpich-devel-1.2.7p1-1.el5.i386.rpm cd /opt/ && ls -R mpich/ | wc 851 826 : All files are present. ( Please ask, if you want to download the packages, i386 or x86_64.) EDIT : Sorry, I overlooked that you have x86_64. .. Last edited by knudfl; 10-08-11 at 02:35 AM. |
|
![]() ![]() ![]() |
![]() ![]() |
knudfl |
View Public Profile |
View LQ Blog |
View Review Entries |
View HCL Entries |
Send email to knudfl |
Find More Posts by knudfl |
Add knudfl to Your Contacts |
![]() |
#3 |
LQ Newbie
|
thanks for help. Unfortunately i am just user. so cant use yum . i have to install it in my home dir only. what is the solution?
|
![]() ![]() ![]() |
![]() ![]() ![]() ![]() |
![]() |
#4 |
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2010.12, Slack13.1 DebSqueeze, +40+ others, for test only.
Posts: 8,081
Rep:
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
OK, may not work without the dependencies. You can of course check with
'rpm -qa | grep RPM packages are usually created in /home//rpms/* : See post #13 here http://www.linuxquestions.org/questi...1-a-766486/#13 This package, mpich-1.2.7p1-EL5.x86_64.tar.bz2 is the content of mpich-1.2.7p1-1.el5.x86_64.rpm + mpich-devel-1.2.7p1-1.el5.x86_64.rpm. 'tar xvf mpich-1.2.7p1-EL5.x86_64.tar.bz2' : And you have all the files. >> https://docs.google.com/uc?id=0B7S25...nload&hl=en_US . Last edited by knudfl; 10-08-11 at 07:06 PM. |
![]() ![]() ![]() |
![]() ![]() |
![]() |
#5 |
LQ Newbie
|
thanks for the help.
Please let me know how i can use mpich-1.2.7p1-EL5.x86_64.tar.bz2 directly in use? I am normal user and dont have any rights to install/upgarde any rpms. can you brief on the procedure right from scratch to install the patched/(patches) source. |
![]() ![]() ![]() |
![]() ![]() ![]() ![]() |
![]() |
#6 |
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2010.12, Slack13.1 DebSqueeze, +40+ others, for test only.
Posts: 8,081
Rep:
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Using the files in the tarball mpich-1.2.7p1-EL5.x86_64.tar.bz2: Unpack to e.g. /home/ Edit mpif90 to your paths. Example "mpif90 command" : ./opt/mpich/ch-p4/bin/mpif90 - Requirements : The binary f95 must be in your path. Default is /usr/bin/f95 ..... Building mpich-1.2.7p1 manually, patches included : No libmpichf90.a is created. ( At least I got none a week ago.) Building rpm packages in /home/ http://www.linuxquestions.org/questi...1-a-766486/#13 rpmbuild -bb mpich-el5.spec : You can stop the terminal, when the patching has been done, and continue with a manual './configure' etc. in /rpms/BUILD/mpich-1.2.7p1 .... |
Link Copied
6 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Akshar, Please look at this article "Numpy user note". It should help to resolve the issue.
--Gennady
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for the reply. But i have it installed already. Now it is not working. libmkl_lapack.so is present in the path. But it is not getting linked.
python -c 'import scipy;scipy.test();' thorws this error.
can you help me?
python -c 'import scipy;scipy.test();' thorws this error.
can you help me?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Did you mean it is also inlcuded in your LD_RUN_PATH or LD_LIBRARY_PATH?
--Vipin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yes it is included in LD_RUN_PATH or LD_LIBRARY_PATH also.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
How about link the libmkl_lapack.so explicitly
library_dirs = /opt/intel/composer_xe_2011_sp1.6.233/mkl/lib/ia32
include_dirs = /opt/intel/composer_xe_2011_sp1.6.233/mkl/include
mkl_libs = mkl_intel,mkl_intel_thread,mkl_core
lapack_libs = mkl_lapack95 mkl_lapack
Not sure if it is work as the libmkl_lapack.so was removed in latest mkl for a while. is it possible for you to try the Single interface library libmkl_rt.so from MKL 10.3? as the article
http://software.intel.com/en-us/articles/using-intel-mkl-in-your-python-programs/ and http://software.intel.com/en-us/articles/a-new-linking-model-single-dynamic-library-mkl_rt-since-intel-mkl-103/
Here is the compiler and MKL version table
http://software.intel.com/en-us/articles/which-version-of-the-intel-ipp-intel-mkl-and-intel-tbb-libraries-are-included-in-the-intel-composer-bundles/
The latest is Intel Composer 12.1.1 and MKL 10.3 update 7.
Best Regards,
Ying H.
How about link the libmkl_lapack.so explicitly
library_dirs = /opt/intel/composer_xe_2011_sp1.6.233/mkl/lib/ia32
include_dirs = /opt/intel/composer_xe_2011_sp1.6.233/mkl/include
mkl_libs = mkl_intel,mkl_intel_thread,mkl_core
lapack_libs = mkl_lapack95 mkl_lapack
Not sure if it is work as the libmkl_lapack.so was removed in latest mkl for a while. is it possible for you to try the Single interface library libmkl_rt.so from MKL 10.3? as the article
http://software.intel.com/en-us/articles/using-intel-mkl-in-your-python-programs/ and http://software.intel.com/en-us/articles/a-new-linking-model-single-dynamic-library-mkl_rt-since-intel-mkl-103/
Here is the compiler and MKL version table
http://software.intel.com/en-us/articles/which-version-of-the-intel-ipp-intel-mkl-and-intel-tbb-libraries-are-included-in-the-intel-composer-bundles/
The latest is Intel Composer 12.1.1 and MKL 10.3 update 7.
Best Regards,
Ying H.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
i have mkl 10.1 with intel cluster toolkit 11 update 069 and os is rhel 5.2
i have mkl 10.1 with intel cluster toolkit 11 update 069 and os is rhel 5.2

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page