Some changes in make.inc file for RC5

Open discussion for MAGMA

Some changes in make.inc file for RC5

Postby ar1309 » Thu Apr 14, 2011 9:41 am

I had trouble with installing MAGMA RC5 on Ubuntu. However I have fixed the problem with the following changes in Makefile.

#//////////////////////////////////////////////////////////////////////////////
# -- MAGMA (version 1.0) --
# Univ. of Tennessee, Knoxville
# Univ. of California, Berkeley
# Univ. of Colorado, Denver
# November 2010
#//////////////////////////////////////////////////////////////////////////////

#
# GPU_TARGET specifies for which GPU you want to compile MAGMA
# 0: Tesla family
# 1: Fermi Family
#
GPU_TARGET = 1

CC =/opt/intel/composerxe-2011/bin/icc
NVCC = /usr/local/cuda/bin/nvcc
#FORT = gfortran
FORT = /opt/intel/composerxe-2011/bin/ifort

ARCH = ar
ARCHFLAGS = cr
RANLIB = ranlib

OPTS = -O3 -DADD_
FOPTS = -O3 -DADD_ -cpp
NVOPTS = --compiler-options -fno-strict-aliasing -DUNIX -O3 -DADD_
LDOPTS = -fPIC -nofor_main -Xlinker -zmuldefs

LIB = -lmkl_intel_lp64 -lmkl_intel_thread -lmkl_lapack -lmkl_core -lguide -lpthread -lcublas -lcudart -lm

CUDADIR = /usr/local/cuda

LIBDIR = -L/opt/intel/mkl/10.2.4.032/lib/em64t \
-L$(CUDADIR)/lib64
INC = -I$(CUDADIR)/include

LIBMAGMA = ../lib/libmagma.a
LIBMAGMABLAS = ../lib/libmagmablas.a
~
ar1309
 
Posts: 2
Joined: Thu Apr 14, 2011 7:27 am

Re: Some changes in make.inc file for RC5

Postby mateo70 » Tue Apr 19, 2011 1:33 pm

Thanks,

I fixed it, I didn't realize the file has not been updated for the last version of MKL.

Mathieu
mateo70
 
Posts: 41
Joined: Tue Mar 08, 2011 12:38 pm


Return to User discussion

Who is online

Users browsing this forum: No registered users and 1 guest