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)
No comments:
Post a Comment