Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
10 Views

Installing MKL on Darwin

Jump to solution

Allow me to preface what I'm say with this: I develop primarily in Windows, not Unix or Mac. I know more than nothing (a little VI, basic commands, etc) but I am a solid Unix novice.

That being said, our department has a cluster of X-Server blades running Darwin that we are trying to get MKL working on. I got an evaluation copy of MKL for Linux that we have tried to install, but following the installation instructions stops working when running the install script (the install script can't find ldconfig, which isn't on Darwin). So, my question is as follows:

1. Am I even using the correct version of MKL?

2. How do I get MKL installed on this machine?

Remember, you are talking to a Unix novice, so please be patient, speak slowly, and use small words (so to speak). Thanks!

-Ross

Potentially useful information:

uname -a gives the following-

Darwin portal2net 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15 16:55:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_I386 i386

login as: wrm9989
Using keyboard-interactive authentication.
Password:
Last login: Mon Feb 1 14:19:34 2010 from tetracrunch.tamu.edu
portal2net:~ wrm9989$ ls
Library bin codeExamples dev openMP
portal2net:~ wrm9989$ cd dev/_beta_env/
portal2net:~/dev/_beta_env wrm9989$ ls
BuildMakefile.cfg beta betaCore
Makefile beta3D objects
portal2net:~/dev/_beta_env wrm9989$ vi Makefile
portal2net:~/dev/_beta_env wrm9989$ man qsub
portal2net:~/dev/_beta_env wrm9989$ gcc man
i686-apple-darwin9-gcc-4.0.1: man: No such file or directory
i686-apple-darwin9-gcc-4.0.1: no input files
portal2net:~/dev/_beta_env wrm9989$ man gcc
portal2net:~/dev/_beta_env wrm9989$ which gcc-4.2
/usr/bin/gcc-4.2
portal2net:~/dev/_beta_env wrm9989$ which gcc
/usr/bin/gcc
portal2net:~/dev/_beta_env wrm9989$ gcc -v
Using built-in specs.
Target: i686-apple-darwin9
Configured with: /var/tmp/gcc/gcc-5493~1/src/configure --disable-checking -enable-werror --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/$/-4.0/ --with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/usr/lib --build=i686-apple-darwin9 --with-arch=apple --with-tune=generic --host=i686-apple-darwin9 --target=i686-apple-darwin9
Thread model: posix
gcc version 4.0.1 (Apple Inc. build 5493)
portal2net:~/dev/_beta_env wrm9989$ g++ -v
Using built-in specs.
Target: i686-apple-darwin9
Configured with: /var/tmp/gcc/gcc-5493~1/src/configure --disable-checking -enable-werror --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/$/-4.0/ --with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/usr/lib --build=i686-apple-darwin9 --with-arch=apple --with-tune=generic --host=i686-apple-darwin9 --target=i686-apple-darwin9
Thread model: posix
gcc version 4.0.1 (Apple Inc. build 5493)
portal2net:~/dev/_beta_env wrm9989$ uname -p
i386
portal2net:~/dev/_beta_env wrm9989$ uname -i
uname: illegal option -- i
usage: uname [-amnprsv]
portal2net:~/dev/_beta_env wrm9989$ uname
Darwin
portal2net:~/dev/_beta_env wrm9989$ man uname
portal2net:~/dev/_beta_env wrm9989$ uname -a
Darwin portal2net 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15 16:55:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_I386 i386
portal2net:~/dev/_beta_env wrm9989$ man gcc
portal2net:~/dev/_beta_env wrm9989$ gcc -v
Using built-in specs.
Target: i686-apple-darwin9
Configured with: /var/tmp/gcc/gcc-5493~1/src/configure --disable-checking -enable-werror --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/$/-4.0/ --with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/usr/lib --build=i686-apple-darwin9 --with-arch=apple --with-tune=generic --host=i686-apple-darwin9 --target=i686-apple-darwin9
Thread model: posix
gcc version 4.0.1 (Apple Inc. build 5493)
portal2net:~/dev/_beta_env wrm9989$ man g++
portal2net:~/dev/_beta_env wrm9989$ uname -a
Darwin portal2net 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15 16:55:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_I386 i386
portal2net:~/dev/_beta_env wrm9989$ man g++
portal2net:~/dev/_beta_env wrm9989$ arch
i386
portal2net:~/dev/_beta_env wrm9989$ mach
-bash: mach: command not found
portal2net:~/dev/_beta_env wrm9989$ csh
[portal2net:~/dev/_beta_env] wrm9989% mach
mach: Command not found.
[portal2net:~/dev/_beta_env] wrm9989% exit
exit
portal2net:~/dev/_beta_env wrm9989$ man mach
No manual entry for mach
portal2net:~/dev/_beta_env wrm9989$ gcc -v
Using built-in specs.
Target: i686-apple-darwin9
Configured with: /var/tmp/gcc/gcc-5493~1/src/configure --disable-checking -enable-werror --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/$/-4.0/ --with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/usr/lib --build=i686-apple-darwin9 --with-arch=apple --with-tune=generic --host=i686-apple-darwin9 --target=i686-apple-darwin9
Thread model: posix
gcc version 4.0.1 (Apple Inc. build 5493)
portal2net:~/dev/_beta_env wrm9989$ g++ -v
Using built-in specs.
Target: i686-apple-darwin9
Configured with: /var/tmp/gcc/gcc-5493~1/src/configure --disable-checking -enable-werror --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/$/-4.0/ --with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/usr/lib --build=i686-apple-darwin9 --with-arch=apple --with-tune=generic --host=i686-apple-darwin9 --target=i686-apple-darwin9
Thread model: posix
gcc version 4.0.1 (Apple Inc. build 5493)
portal2net:~/dev/_beta_env wrm9989$ g++-4.2 -v
Using built-in specs.
Target: i686-apple-darwin9
Configured with: /var/tmp/gcc_42/gcc_42-5574~1/src/configure --disable-checking --enable-werror --prefix=/usr --mandir=/usr/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin9 --with-gxx-include-dir=/usr/include/c++/4.0.0 --host=i686-apple-darwin9 --target=i686-apple-darwin9
Thread model: posix
gcc version 4.2.1 (Apple Inc. build 5574)
portal2net:~/dev/_beta_env wrm9989$ arch
i386
portal2net:~/dev/_beta_env wrm9989$ which gfortran
/usr/local/bin/gfortran
portal2net:~/dev/_beta_env wrm9989$ gfortran -v
Using built-in specs.
Target: i386-apple-darwin8.10.1
Configured with: /tmp/gfortran-20090604/ibin/../gcc/configure --prefix=/usr/local/gfortran --enable-languages=c,fortran --with-gmp=/tmp/gfortran-20090604/gfortran_libs --enable-bootstrap
Thread model: posix
gcc version 4.5.0 20090604 (experimental) [trunk revision 148180] (GCC)
portal2net:~/dev/_beta_env wrm9989$ gfortran --version
GNU Fortran (GCC) 4.5.0 20090604 (experimental) [trunk revision 148180]
Copyright (C) 2009 Free Software Foundation, Inc.

GNU Fortran comes with NO WARRANTY, to the extent permitted by law.
You may redistribute copies of GNU Fortran
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING

portal2net:~/dev/_beta_env wrm9989$ uname -a
Darwin portal2net 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15 16:55:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_I386 i386
portal2net:~/dev/_beta_env wrm9989$ cd /sbin/
portal2net:/sbin wrm9989$ ls
SystemStarter fstyp launchd mount_ntfs quotacheck
autodiskmount fstyp_hfs md5 mount_smbfs rdump
clri fstyp_msdos mknod mount_udf reboot
disklabel fstyp_ntfs mount mount_webdav restore
dmesg fstyp_udf mount_afp newfs route
dump fstyp_ufs mount_cd9660 newfs_hfs routed
dumpfs halt mount_cddafs newfs_msdos rrestore
dynamic_pager ifconfig mount_devfs newfs_udf rtsol
emond ip6fw mount_fdesc nfsd service
fibreconfig ipfw mount_ftp nfsiod shutdown
fsck kerberosautoconfig mount_hfs nologin slattach
fsck_hfs kextload mount_msdos ping tunefs
fsck_msdos kextunload mount_nfs ping6 umount
portal2net:/sbin wrm9989$ which ldconfig
portal2net:/sbin wrm9989$ uname -a
Darwin portal2net 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15 16:55:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_I386 i386
portal2net:/sbin wrm9989$ Darwin portal2net 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15 16:55:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_I386 i386Darwin portal2net 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15 16:55:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_I386 i386Darwin portal2net 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15 16:55:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_I386 i386

0 Kudos

Accepted Solutions
Highlighted
Moderator
10 Views

Hi Ross,

What version of MKL did you try to install?
It seems to me you have to install OS X version instead of Linux version which you tried.
I have to mention one important note about MKL version for OS X : this version of MKL doesn't contains the cluster functionality ( ScaLapack and ClusterFFT).

--Gennady

View solution in original post

0 Kudos
6 Replies
Highlighted
Valued Contributor I
10 Views

Hi,

As I know, MKL has three different install packages:

- for Windows

- for Linux

- for OS X (Darwin and Snow Leopard)

Therefore, please use correct MKL install package

0 Kudos
Highlighted
Moderator
11 Views

Hi Ross,

What version of MKL did you try to install?
It seems to me you have to install OS X version instead of Linux version which you tried.
I have to mention one important note about MKL version for OS X : this version of MKL doesn't contains the cluster functionality ( ScaLapack and ClusterFFT).

--Gennady

View solution in original post

0 Kudos
Highlighted
10 Views

Hello,

Linux installer does not support Darwin OS. It is not the only question of availability of system tools but also binary compatibility problem. So the Linux installer will not work at Darwin at all.

If the Darwin inyour case is a driver for Mac OS, so pleaseuse proper MKL Mac OS installer. If not, please provide an MKL version you would like to install, we will try to find a workaround.

Thank you,

- Nikolay

0 Kudos
Highlighted
Beginner
10 Views

Good news - the OS X version works! Apparently, there is an OS X interface to the cluster that I, as a user, do not have access to. Now that our sys admin has installed the library, I have successfully built and run the symmetric matrix Pardiso example using the icc compiler as well as the g++ compiler. Thanks for your help.

--Ross

One thing I would note - I know it is mentioned a few places around Intel's site, but it created a little confusion for me having the liomp5 libraries in a location different than it is in the Windows and Linux version.

0 Kudos
Highlighted
Employee
10 Views

Good news - the OS X version works! Apparently, there is an OS X interface to the cluster that I, as a user, do not have access to. Now that our sys admin has installed the library, I have successfully built and run the symmetric matrix Pardiso example using the icc compiler as well as the g++ compiler. Thanks for your help.

--Ross

One thing I would note - I know it is mentioned a few places around Intel's site, but it created a little confusion for me having the liomp5 libraries in a location different than it is in the Windows and Linux version.

Hello Ross,

Just for your information, for Intel Compiler Professional Edition installation libiomp5 library placed in compiler 'lib' directory for all platforms. It is placed inside MKL 'lib' directory for standalone MKL package only. This kind of package doesn't exist for Mac OS. MKL for Mac OS can be installed only in bundle with Intel Compiler Professional Edition.

Thanks,

Artem

0 Kudos
Highlighted
Moderator
10 Views

quote:"This kind of package doesn't exist for Mac OS. MKL for Mac OS can be installed only in bundle with Intel Compiler Professional Edition.",

need to clarify one detail - the last standalone package for Mac OS* X is 10.0 Update 5. Since the version 10.1 version of MKL for MacOS* X disrtibute in bundle with Intel CPE.

--Gennady

0 Kudos