Showing posts with label Intel Compiler. Show all posts
Showing posts with label Intel Compiler. Show all posts
Tuesday, March 17, 2015
Where to download Intel Compiler?
I often has to google a while before I can locate the download site for the our purchased Intel Compiler. Here is the link just in case I forget again. Just log on and you can access the Intel Compilers
https://registrationcenter.intel.com/RegCenter/MyProducts.aspx
Monday, September 8, 2014
Error when sourcing or using compilervars.csh/ippvars.csh - arch: Undefined variable
If you have the error when sourcing or using compilervars.csh/ippvars.csh. The errors are as followed:
According to the website, Error when using compilervars.csh/ippvars.csh - arch: Undefined variable. from Intel
Problem Description:
A defect exists in the Intel® Integrated Performance Primitives (IPP) 8.1 Initial release in the ippvars.csh file distributed for Linux* (found under: /opt/intel/composer_xe_2013_sp1/ipp).
The IPP 8.1 release (Package ID: l_ipp_8.1.0.144) is available as a stand-alone download or bundled with the Intel® Composer XE 2013 SP1 Update 2 release (Package id: l_ccompxe_2013_sp1.2.144) for customers with valid licenses from the Intel Registration Center.
The defect is caused by improper initialization an internal variable used within the script that leads to the error “arch: Undefined variable.” when the script is sourced directly or indirectly via the compilersvars.csh script (found under: /opt/intel/composer_xe_2013_sp1/bin).
Resolution:
This defect is fixed in the Intel® C++ Composer XE 2013 SP1 Update 3 Release (Package id: l_ccompxe_2013.1.3.174 - Version 14.0.3.174 Build 20140422) now available from our Intel Registration Center.
In lieu of a permanent fix, users (or sys-admins) with appropriate root privileges can edit the ippvars.csh file to insert ONLY the new line 37 as noted in the code snippet below (ahead of line 38 which is the original line 37) to set the variable arch to the value of the first incoming argument (e.g. $1):
$ cd /opt/intel/composer_xe_2013_sp1.2.144/bin $ source ./compilervars.csh intel64 arch: Undefined variable.
According to the website, Error when using compilervars.csh/ippvars.csh - arch: Undefined variable. from Intel
Problem Description:
A defect exists in the Intel® Integrated Performance Primitives (IPP) 8.1 Initial release in the ippvars.csh file distributed for Linux* (found under: /opt/intel/composer_xe_2013_sp1/ipp).
The IPP 8.1 release (Package ID: l_ipp_8.1.0.144) is available as a stand-alone download or bundled with the Intel® Composer XE 2013 SP1 Update 2 release (Package id: l_ccompxe_2013_sp1.2.144) for customers with valid licenses from the Intel Registration Center.
The defect is caused by improper initialization an internal variable used within the script that leads to the error “arch: Undefined variable.” when the script is sourced directly or indirectly via the compilersvars.csh script (found under: /opt/intel/composer_xe_2013_sp1/bin).
Resolution:
This defect is fixed in the Intel® C++ Composer XE 2013 SP1 Update 3 Release (Package id: l_ccompxe_2013.1.3.174 - Version 14.0.3.174 Build 20140422) now available from our Intel Registration Center.
In lieu of a permanent fix, users (or sys-admins) with appropriate root privileges can edit the ippvars.csh file to insert ONLY the new line 37 as noted in the code snippet below (ahead of line 38 which is the original line 37) to set the variable arch to the value of the first incoming argument (e.g. $1):
37 set arch="$1" 38 if ( "$1" == "ia32_intel64" ) then 39 setenv arch intel64 40 endif
Friday, May 23, 2014
Scalapack libraries for Intel MKL 11 not installed by default
Since MKL 11.0, Intel scalapack libraries are not installed by default. To install Intel scalapack libraries, do the following
Step 1. Select "Change components to modify"
Step 2: Select "Intel (R) Math Kernel Library 11.1 Update 2
Step 3: Cluster Support and you will get your scalapack libraries installed
Step 1. Select "Change components to modify"
Step 2: Select "Intel (R) Math Kernel Library 11.1 Update 2
Step 3: Cluster Support and you will get your scalapack libraries installed
Monday, March 10, 2014
Checking version of the Intel® IPP, Intel® MKL and Intel® TBB Libraries included in the Intel® Composer Bundles (Updated)
This blog is an update of Checking version of the Intel® IPP, Intel® MKL and Intel® TBB Libraries included in the Intel® Composer Bundles
Do look at the updated link from Intel Compiler and Composer Update version numbers to compiler version number mapping
Do look at the updated link from Intel Compiler and Composer Update version numbers to compiler version number mapping
| Composer XE 2013 SP1 | Intel Registration Center Activation Date yr.mo.day |
Windows Version / build | Linux Version / build |
| Composer XE 2013 SP1 Update 2 | 2014.02.12 | 14.0.2.176 / 20140130 | 14.0.2.144 / 20140120 |
| Composer XE 2013 SP1 Update 1 | 2013.10.18 | 14.0.1.139 / 20131008 | 14.0.1.106 / 20131008 |
| Composer XE 2013 SP1 initial reiease | 2013.09.04 | 14.0.0.103 / 20130728 | 14.0.0.080 / 20130728 |
Tuesday, February 4, 2014
Depreciated libguide.so and replaced by libiomp5.so
If your codes are encountering errors when compiling,
"Error while loading shared libraries: libguide.so: cannot open shared object file: No such file or directory"
It could be due to that you are using depreceated libguide.so which may not be available in your recent version in Intel. To solve the issues, do use the latest libguide.so which is found in more recent Intel Compiler and replacement for libguide.so
So do change the compilation flag from -lguide to -liomp5
Libguide.so was not was not compatible gcc implementations of OpenMP. libiomp5.so is compatible now and is the default for Intel Library
References:
"Error while loading shared libraries: libguide.so: cannot open shared object file: No such file or directory"
It could be due to that you are using depreceated libguide.so which may not be available in your recent version in Intel. To solve the issues, do use the latest libguide.so which is found in more recent Intel Compiler and replacement for libguide.so
So do change the compilation flag from -lguide to -liomp5
Libguide.so was not was not compatible gcc implementations of OpenMP. libiomp5.so is compatible now and is the default for Intel Library
References:
Tuesday, January 7, 2014
Commercial Download for Intel Compilers
If you are downloading the Commercial version of the Intel Compilers, do log-on to the site below and access https://registrationcenter.intel.com/RegCenter/MyProducts.aspx
Tuesday, November 5, 2013
Using Intel® C++ Compiler with the Eclipse* IDE on Linux*
There is a very good tutorial on how to use Eclipse IDE with Intel C++ Compilers. Do look at the article by Intel
Using Intel® C++ Compiler with the Eclipse* IDE on Linux*
Using Intel® C++ Compiler with the Eclipse* IDE on Linux*
Saturday, September 21, 2013
Compiling OpenMPI 1.6.5 with Intel 12.1.5 on CentOS 6
Step 1: Download the OpenMPI Software from http://www.open-mpi.org/ . The current stable version at point of writing is OpenMPI 1.6.5
Step 2: Download and Install the Intel Compilers from Intel Website. More information can be taken from Free Non-Commercial Intel Compiler Download
Step 3: Add the Intel Directory Binary Path to the Bash Startup
Step 4: Configuration Information
Step 5: Test the configuration
Step 2: Download and Install the Intel Compilers from Intel Website. More information can be taken from Free Non-Commercial Intel Compiler Download
Step 3: Add the Intel Directory Binary Path to the Bash Startup
At my ~/.bash_profile directory, I've added source /usr/local/intel/composerxe/bin/compilervars.sh intel64 export PATH=$PATH:/usr/local/intel/composerxe/bin export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/RH6_apps/intel/composerxe/lib/intel64:/usr/local/intel/composerxe/mkl/lib/intel64At command prompt
# source .bashrc
Step 4: Configuration Information
# gunzip -c openmpi-1.6.5.tar.gz tar xf - # cd openmpi-1.6.5 # /configure --prefix=/usr/local/openmpi-1.6.5-intel-v12.1.5 CC=icc CXX=icpc F77=ifort FC=ifort --with-devel-headers --enable-binaries # make all installYou will need to include --devel-headers --enable-binaries" or you will face the error Cannot open OpenMPI Configuration mpif90-wrapper-data.txt
Step 5: Test the configuration
$ mpicc -v cc version 12.1.5 (gcc version 4.4.6 compatibility)
Wednesday, September 18, 2013
Cannot open OpenMPI Configuration mpif90-wrapper-data.txt
I was using Intel 12.1.5 to compile OpenMPI 1.6.5 and I have this error which I have not seen before.
If you encounter error
Solution
If you encounter error
Cannot open configuration file: /usr/local/openmpi/openmpi-1.6.5/share/openmpi/mpif90-wrapper-data.txt Error parsing data file mpif90: Not found
Solution
# ./configure --prefix=/usr/local CC=icc CXX=icpc F77=ifort FC=ifort \ --with-devel-headers --enable-binariesSomehow the development headers and binaries are excluded from the later version of OpenMPI.....
C compiler cannot create executables when compiling Openmpi 1.6.5 with Intel 12.1.5
When compiling OpenMPI 1.6.5 with Intel 12.1.5, I encountered this error
The solution is very simple. I have assumed that you have PATH and LD_LIBRARY_PATH the binaries and libraries for the intel compilers respectively. Just source the "compilervars.sh" intel64
configure error: C compiler cannot create executable when compiling OpenMPI 1.6.5 with Intel 12.1.5
The solution is very simple. I have assumed that you have PATH and LD_LIBRARY_PATH the binaries and libraries for the intel compilers respectively. Just source the "compilervars.sh" intel64
# source /usr/local/intel/composerxe/bin/compilervars.sh intel64
Wednesday, August 28, 2013
Issues when compiling OpenMPI 1.6 and Intel 2013 XE on CentOS 5
I encountered this same error when compiling on CentOS 5.3 and using OpenMPI 1.6 and Intel 2013 XE
There is one interesting forum discussion from Intel (Problem with Openmpi+c++ compiler)
that helps to explain how someone solve it. Basically, it could be due to mixed mis-match libraries and binaries especially if you have multiple version of intel compilers. Do look at your $PATH and $LD_LIBRARY_PATH
Even with correct editing of the $PATH and $LD_LIBRARY_PATH, I was not able to get aaway from the error. But when I use CentOS 6 with OpenMPI 1.6 and Intel XE 2013, was I able spare from this errror.
..... opal_wrapper.c:(............): undefined reference to `__intel_sse2_strdup' opal_wrapper.c:(............): undefined reference to `__intel_sse2_strncmp' ...... opal_wrapper.o:opal_wrapper.c:(.......): more undefined references to `__intel_sse2_strncmp' follow ......
There is one interesting forum discussion from Intel (Problem with Openmpi+c++ compiler)
that helps to explain how someone solve it. Basically, it could be due to mixed mis-match libraries and binaries especially if you have multiple version of intel compilers. Do look at your $PATH and $LD_LIBRARY_PATH
Even with correct editing of the $PATH and $LD_LIBRARY_PATH, I was not able to get aaway from the error. But when I use CentOS 6 with OpenMPI 1.6 and Intel XE 2013, was I able spare from this errror.
Tuesday, July 16, 2013
Compiling OpenMPI with CUDA and Intel Compilers
If you are intending to compile OpenMPI with CUDA Support, do note that you have to download the feature version of OpenMPI. The version I used for compiling OpenMPI with CUDA is version 1.7.2. The current stable version of OpenMPI 1.6.5 does not have CUDA-Support
1. Download and unpack OpenMPI 1.7.2 (features)
2. Configure the OpenMPI with CUDA Support
References:
1. Download and unpack OpenMPI 1.7.2 (features)
# wget http://www.open-mpi.org/software/ompi/v1.7/downloads/openmpi-1.7.2.tar.gz # tar -zxvf openmpi-1.7.2.tar.gz # cd openmpi-1.7.2
2. Configure the OpenMPI with CUDA Support
# ./configure --prefix=/usr/local/openmpi-1.7.2-intel-cuda CC=icc CXX=icpc F77=ifort FC=ifort --with-cuda=/opt/cuda --with-cuda-libdir=/usr/lib64 # make -j 8 # make install
References:
Sunday, July 14, 2013
Checking version of the Intel® IPP, Intel® MKL and Intel® TBB Libraries included in the Intel® Composer Bundles
Taken from Which version of the Intel® IPP, Intel® MKL and Intel® TBB Libraries are Included in the Intel® Composer Bundles?
| Composer XE Edition | Intel C++ Compiler XE Version | Intel IPP Version | Intel MKL Version | Intel TBB Version |
| 2013 update 4 | 13.1.2 | 7.1.1 | 11.0.4 | 4.1.3 |
| 2013 update 3 (not recommended) | 13.1.1 | 7.1.1 | 11.0.3 | 4.1.3 |
| 2013 update 2 | 13.1.0 | 7.1.1 | 11.0.2 | 4.1.2 |
| 2013 update 1 | 13.0.1 | 7.1.1 | 11.0.1 | 4.1.1 |
| 2013 | 13.0.0 | 7.1 | 11.0 | 4.1 |
| 2011 update 13 | 12.1.7 | 7.0.7 | 10.3.12 | 4.0.5 |
| 2011 update 12 | 12.1.6 | 7.0.7 | 10.3.12 | 4.0.5 |
| 2011 update 11 | 12.1.5 | 7.0.7 | 10.3.11 | 4.0.5 |
| 2011 update 10 | 12.1.4 | 7.0.7 | 10.3.10 | 4.0.4 |
| 2011 update 9 | 12.1.3 | 7.0.6 | 10.3.9 | 4.0.3 |
| 2011 update 8 | 12.1.2 | 7.0.6 | 10.3.8 | 4.0.2 |
| 2011 update 7 | 12.1.1 | 7.0.5 | 10.3.7 | 4.0.1 |
| 2011 update 6 (or 2011 SP1) | 12.1.0 | 7.0.5 | 10.3.6 | 4.0.0 |
| 2011 update 5 | 12.0.5 | 7.0.4 | 10.3.5 | 3.0.8 |
| 2011 update 4 | 12.0.4 | 7.0.4 | 10.3.4 | 3.0.7 |
| 2011 update 3 | 12.0.3 | 7.0.3 | 10.3.3 | 3.0.6 |
| 2011 update 2 | 12.0.2 | 7.0.2 | 10.3.2 | 3.0.5 |
| 2011 update 1 | 12.0.1 | 7.0.1a | 10.3.1 | 3.0.4 |
| 2011 | 12.0.0 | 7.0.1 | 10.3.0 | 3.0.3 |
Monday, April 22, 2013
Uninstalling and reinstalling Intel XE 2013
I installed a non-commercial version of Intel XE 2013 and realise that I wanted to change the installation directory. I realise that for Intel XE 2013 does not have an uninstall script (install-dir/bin/uninstall.sh) like previous version.
A simple removal of the intel directory does not allow me to have a good clean installation like choosing installation directory.It is likely due to the presence of rpm information still remaining in the rpm database.
To solve the issue, I use the command
You may need to run the command 2-3 times to ensure all the dependencies and intel packages are totally cleaned up
A simple removal of the intel directory does not allow me to have a good clean installation like choosing installation directory.It is likely due to the presence of rpm information still remaining in the rpm database.
To solve the issue, I use the command
# for i in `rpm -qa | grep intel` ; do rpm -e $i ; done
You may need to run the command 2-3 times to ensure all the dependencies and intel packages are totally cleaned up
Saturday, August 4, 2012
libimf.so: cannot open shared object file: No such file or directory
If you are encounter a problem
mpicc: error while loading shared libraries: libimf.so: cannot open shared object file: No such file or directory.
The solution can be easily solved by the following:
Inside /etc/ld.so.conf.d/intel.conf
mpicc: error while loading shared libraries: libimf.so: cannot open shared object file: No such file or directory.
The solution can be easily solved by the following:
# touch /etc/ld.so.conf.d/intel.conf
# vim /etc/ld.so.conf.d/intel.conf
Inside /etc/ld.so.conf.d/intel.conf
/opt/intel/lib/intel64
Tuesday, May 8, 2012
Compiling AMBER 10 with Intel XE Compiler and Intel MKL 10
If you wish to compile an older version of AMBER such as AMBER 10 with the more up-to-date version of Intel XE and MKL 10, I hope you will find the writeup at my other blog linuxcluster.wordpress.com helpful.
See Compiling AMBER 10 with Intel XE Compiler and Intel MKL 10
See Compiling AMBER 10 with Intel XE Compiler and Intel MKL 10
Monday, April 23, 2012
Linking Applications with Intel MKL version 10
According to Intel Software Network Linking applications with Intel® MKL version 10.x
In versions 10.x of Intel® MKL, we have re-architected Intel MKL and physically separated the interface, threading and computational components of the product. This architecture facilitates the use of multiple library linking combinations to support numerous configurations of interfaces, compilers, and processors in a single package. Multiple layers are provided so that the base Intel MKL package supports numerous configurations of interfaces, compilers, and processors in a single package.
This website was particular important in helping me link files and libraires that older application which relied on older MKL version 9 or earlier.
- BLAS, FFT, VML, VSL components, static case: Layered default: libmkl_em64t.a Layered pure: libmkl_intel_lp64.a libmkl_intel_thread.a libmkl_core.a
- BLAS, FFT, VML, VSL components, dynamic case: Layered default: libmkl.so Layered pure: libmkl_intel_lp64.so libmkl_intel_thread.so libmkl_core.so
- LAPACK, static case: Layered default: libmkl_lapack.a libmkl_em64t.a Layered pure: libmkl_intel_lp64.a libmkl_intel_thread.a libmkl_core.a
- LAPACK, dynamic case: Layered default:libmkl_lapack.so libmkl.so Layered pure: libmkl_intel_lp64.so libmkl_intel_thread.so libmkl_core.so
- ScaLAPACK, static case: Layered default: libmkl_scalapack.a libmkl_blacs.a libmkl_lapack.a libmkl_em64t.a Layered pure: libmkl_intel_lp64.a libmkl_scalapack_core.a libmkl_blacs.a libmkl_intel_thread.a libmkl_core.a
- PARDISO, static case: Layered default: libmkl_solver.a libmkl_lapack.a libmkl_em64t.a Layered pure, LP64: libmkl_solver_lp64.a libmkl_intel_lp64.a libmkl_intel_thread.a libmkl_core.a Layered pure, ILP64: libmkl_solver_ilp64.a libmkl_intel_ilp64.a libmkl_intel_thread.a libmkl_core.a
Sunday, April 22, 2012
Intel® Math Kernel Library Link Line Advisor
Intel has provided a wonderful MKL Library Link Advisor for you to generate the relevant MKL libraries to your application. For more information, see Intel® Math Kernel Library Link Line Advisor
Tuesday, April 10, 2012
Building LAPACK 3.4 with Intel and GNU Compiler
The reference resource can be found from Building LAPACK library from Netlib. The current latest version of LAPACK is dated 11th November 2011. The current latest version is lapack-3.4.0.tgz.
For more information for gfortran and g77 fortran. Building LAPACK 3.4 with Intel and GNU Compiler
# mkdir -p ~/src # wget http://www.netlib.org/lapack/lapack-3.4.0.tgz # tar -zxvf lapack-3.4.0.tgz # cd lapack-3.4.0.tgz # cp INSTALL/make.inc.ifort make.inc # make lapacklib # make clean # mkdir -p /usr/local/lapack # mv liblapack.a /usr/local/lapack/ # export LAPACK=/usr/local/lapack/liblapack.a
For more information for gfortran and g77 fortran. Building LAPACK 3.4 with Intel and GNU Compiler
Sunday, April 8, 2012
Building BLAS Library using Intel Compiler
The reference resource can be found from Building BLAS library from Netlib. The current latest version of BLAS is dated 14th April 2011.
1. For Intel XE Compiler
For more information for gfortran and g77 fortran. See Building BLAS Library using Intel and GNU Compiler
1. For Intel XE Compiler
# mkdir -p ~/src/ # cd ~/src/ # wget http://www.netlib.org/blas/blas.tgz # tar -zxvf blas.tgz # cd BLAS # ifort -FI -w90 -w95 -cm -O3 -unroll -c *.f # ar r libfblas.a *.o # ranlib libfblas.a # rm -rf *.o # export BLAS=~/src/BLAS/libfblas.a # mv ~/src/BLAS /usr/local/
For more information for gfortran and g77 fortran. See Building BLAS Library using Intel and GNU Compiler
Subscribe to:
Posts (Atom)







