-
Notifications
You must be signed in to change notification settings - Fork 90
Mountain Lion using Intel
Glen Hansen edited this page Mar 29, 2014
·
10 revisions
-
Version 1.2.8
CC=icc CXX=icpc CFLAGS=-O3 CXXFLAGS=-O3 ./configure --archs=-arch x86_64 --prefix=/usr/local/intel make -j 4 make install
-
Version 1.8.11
./configure CC=mpicc FC=mpif90 CXX=mpicxx CXXFLAGS="-fPIC -O3" CFLAGS="-fPIC -O3" FCFLAGS="-fPIC -O3" --enable-parallel --with-zlib=/usr/local/intel -prefix=/usr/local/intel/parallel make -j 4 make install
-
Version 4.3.0
./configure --prefix=/usr/local/intel/parallel CC=mpicc FC=mpif90 CXX=mpicxx CFLAGS="-I/usr/local/intel/parallel/include -O3" LDFLAGS=-L/usr/local/intel/parallel/lib --disable-fsync --disable-cdmremote --disable-dap --disable-shared --disable-doxygen make -j 4 make install
-
Version 1.55.0
-
First, prepare your $HOME/user-config.jam file:
using mpi : /opt/intel/bin/mpicxx ; using intel-darwin : /opt/intel/bin/icpc ;
-
Now, build boost with the commands
./bootstrap.sh --with-toolset=intel-darwin --with-libraries=signals,regex,filesystem,system,mpi,serialization,thread,program_options --prefix=/usr/local/intel ./bjam install
-
The above bjam command gave me an error, so I removed the following lines from project-config.jam:
if ! intel-darwin in [ feature.values <toolset> ] { using intel-darwin ; }
-
Version 4.0.3
-
Edit metis.h to use an IDXTYPEWIDTH of 64
cd parmetis-4.0.3/metis/include vi metis.h #define IDXTYPEWIDTH 64
-
Run CMake to build metis
cd /usr/local/src/parmetis-4.0.3/metis mkdir build cd build export metis=/usr/local/src/parmetis-4.0.3/metis cmake \ -DCMAKE_INSTALL_PREFIX=/usr/local/intel/parmetis-4.0.3 \ -DMETIS_PATH=$metis \ -DGKLIB_PATH=$metis/GKlib \ -DCMAKE_C_COMPILER=mpicc \ -DCMAKE_CXX_COMPILER=mpicxx \ .. make -j 4 make install
-
Run CMake to build parmetis
cd /usr/local/src/parmetis-4.0.3 mkdir builddir cd builddir export metis=/usr/local/src/parmetis-4.0.3/metis/ cmake \ -DCMAKE_INSTALL_PREFIX=/usr/local/intel/parmetis-4.0.3 \ -DMETIS_PATH=$metis \ -DGKLIB_PATH=$metis/GKlib \ -DCMAKE_C_COMPILER=mpicc \ -DCMAKE_CXX_COMPILER=mpicxx \ .. make -j 4 make install
-
Version 4.3
-
Build paths
mkdir /usr/local/intel/SuperLU_4.3 mkdir /usr/local/intel/SuperLU_4.3/include mkdir /usr/local/intel/SuperLU_4.3/lib
-
Edit make.inc for your machine and environment
PLAT = _lion SuperLUroot = /usr/local/intel/SuperLU_4.3 SUPERLULIB = $(SuperLUroot)/lib/libsuperlu_4.3.a TMGLIB = libtmglib.a BLASDEF = -DUSE_VENDOR_BLAS BLASLIB = -L/opt/intel/mkl/lib -lmkl_intel_lp64 -lmkl_sequential -lmkl_core LIBS = $(SUPERLULIB) $(BLASLIB) ARCH = ar ARCHFLAGS = cr RANLIB = ranlib CC = icc CFLAGS = -ftz -O3 NOOPTS = FORTRAN = ifort FFLAGS = -ftz -O3 LOADER = $(CC) LOADOPTS = CDEFS = -DAdd_ MATLAB = /usr/sww/matlab
-
Build SuperLU
make -j 4 cd SRC cp *.h /usr/local/intel/SuperLU_4.3/include