Installing MAGMA 1.4.1

Open discussion for MAGMA

Installing MAGMA 1.4.1

Postby dalal » Thu Feb 20, 2014 4:39 am

Dear all,
I am trying to install MAGMA 1.4.1.
My make.inc is:
GPU_TARGET = Fermi

CC = icc
NVCC = nvcc
FORT = ifort

ARCH = ar
ARCHFLAGS = cr
RANLIB = ranlib

OPTS = -O3 -DADD_ -Wall -openmp -DMAGMA_WITH_MKL -DMAGMA_SETAFFINITY
F77OPTS = -O3 -DADD_ -warn all
FOPTS = -O3 -DADD_ -warn all
NVOPTS = -O3 -DADD_ -Xcompiler -fno-strict-aliasing
LDOPTS = -openmp
LIB = -lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core -lpthread -lcublas -lcudart -lstdc++ -lm# define library directories preferably in your environment, or here.
# for MKL run, e.g.: source /opt/intel/composerxe/mkl/bin/mklvars.sh intel64
MKLROOT = /opt/intel/composer_xe_2013/mkl
CUDADIR = /usr/local/cuda
-include make.check-mkl
-include make.check-cuda

LIBDIR = -L$(MKLROOT)/lib/intel64 \
-L$(CUDADIR)/lib64

INC = -I$(CUDADIR)/include -I$(MKLROOT)/include

I got many warnings and error:
Error: /usr/include/c++/4.7/bits/stl_algobase.h(60): catastrophic error: cannot open source file "bits/c++config.h"
#include <bits/c++config.h>
^
Warning: dlat2s.cu(21): warning: variable "flag" was set but never used
this warning appear for many functions

Could you please help me to figure out how to install MAGMA correctly?
Thanks
dalal
 
Posts: 9
Joined: Thu Feb 20, 2014 4:30 am

Re: Installing MAGMA 1.4.1

Postby mgates3 » Fri Feb 21, 2014 5:06 pm

Can you show more complete output of make? From this output, I can't tell what file is being compiled, and therefore where the error is occurring. When doing so, please do not use parallel make (i.e., use make -j1) because otherwise it is impossible to decipher what errors are associated with what files.

I'm not aware that MAGMA includes this C++ header file anywhere.

-mark
mgates3
 
Posts: 428
Joined: Fri Jan 06, 2012 2:13 pm

Re: Installing MAGMA 1.4.1

Postby mgates3 » Tue Feb 25, 2014 6:37 pm

This appears it may be that the system headers are not correctly installed, or that icc is not correctly configured to search the system headers. The bits/c++config.h should be somewhere such as

/usr/include/c++/4.4.7/x86_64-redhat-linux6E/bits/c++config.h

However, as the error occurs when compiling trace.cpp, you can simply ignore the error and keep going (e.g., make -k). That trace.cpp file should not be important, unless you are generating traces of the MAGMA code.

-mark
mgates3
 
Posts: 428
Joined: Fri Jan 06, 2012 2:13 pm


Return to User discussion

Who is online

Users browsing this forum: Google [Bot] and 2 guests

cron