Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.
6980 Discussions

mkl library error with scipy and numpy installed

aksharb
Beginner
245 Views
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

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 /SOURCE/
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.
..
Attached Files
File Type: txt mpich-el5.spec.txt (8.3 KB, 3 views)

Last edited by knudfl; 10-08-11 at 02:35 AM.
linuxcentos knudfl is offline Add to knudfl's Reputation Report This Post Reply With Quote
Did you find this post helpful? Yes | No
Old 10-08-11, 03:04 PM #3
aksharb
LQ Newbie

Registered: Mar 2011
Posts: 14

Original Poster
Rep: Reputation: 0
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?
linuxfedora aksharb is offline Click to check your reputation for this post Report This Post Edit/Delete Message Reply With Quote
Old 10-08-11, 07:04 PM #4
knudfl
LQ 5k Club

Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2010.12, Slack13.1 DebSqueeze, +40+ others, for test only.
Posts: 8,081

Rep: Reputation: 1090Reputation: 1090Reputation: 1090Reputation: 1090Reputation: 1090Reputation: 1090Reputation: 1090Reputation: 1090
OK, may not work without the dependencies. You can of course check with
'rpm -qa | grep ' to know, if they are already installed.

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.
linuxcentos knudfl is offline Add to knudfl's Reputation Report This Post Reply With Quote
Did you find this post helpful? Yes | No
Old 10-16-11, 07:23 PM #5
aksharb
LQ Newbie

Registered: Mar 2011
Posts: 14

Original Poster
Rep: Reputation: 0
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.
linuxfedora aksharb is offline Click to check your reputation for this post Report This Post Edit/Delete Message Reply With Quote
Unread Yesterday, 03:49 AM #6
knudfl
LQ 5k Club

Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2010.12, Slack13.1 DebSqueeze, +40+ others, for test only.
Posts: 8,081

Rep: Reputation: 1090Reputation: 1090Reputation: 1090Reputation: 1090Reputation: 1090Reputation: 1090Reputation: 1090Reputation: 1090
Using the files in the tarball mpich-1.2.7p1-EL5.x86_64.tar.bz2:
Unpack to e.g. /home//opt/mpich/***
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//rpms/ :
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
....
0 Kudos
0 Replies
Reply