Here is my make.inc file.
Code: Select all
#//////////////////////////////////////////////////////////////////////////////
# -- 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 = gcc
NVCC = nvcc
FORT = gfortran
ARCH = ar
ARCHFLAGS = cr
RANLIB = ranlib
OPTS = -O3 -DADD_
FOPTS = -O3 -DADD_ -x f95-cpp-input
NVOPTS = --compiler-options -fno-strict-aliasing -DUNIX -O3 -DADD_
LDOPTS = -fPIC -Xlinker -zmuldefs
LIB = -lf77blas -latlas -lcblas -lf2c -lcublas -lm
CUDADIR = /usr/local/cuda/
LIBDIR = -L/usr/lib/atlas-base/ \
-L/usr/lib/atlas-base/atlas/ \
-L$(CUDADIR)/lib
INC = -I$(CUDADIR)/include
LIBMAGMA = ../lib/libmagma.a
LIBMAGMABLAS = ../lib/libmagmablas.a
Code: Select all
( cd control && make )
make[1]: Entering directory `/disk2/home/kmclaugh/src/MPMC-magma/magma_1.0.0-rc5/control'
gcc -O3 -DADD_ -DGPUSHMEM=200 -I/usr/local/cuda//include -I../include -I../quark/include -c magma_zf77.cpp -o magma_zf77.o
gfortran -O3 -DADD_ -x f95-cpp-input -Dmagma_devptr_t="integer(kind=../control/sizeptr.c: In function ‘main’: ../control/sizeptr.c:6: warning: format ‘%lu’ expects type ‘long unsigned int’, but argument 2 has type ‘unsigned int’ 4)" -I/usr/local/cuda//include -I../include -I../quark/include -c magma_param.f90 -o magma_param.o
gfortran -O3 -DADD_ -x f95-cpp-input -Dmagma_devptr_t="integer(kind=../control/sizeptr.c: In function ‘main’: ../control/sizeptr.c:6: warning: format ‘%lu’ expects type ‘long unsigned int’, but argument 2 has type ‘unsigned int’ 4)" -I/usr/local/cuda//include -I../include -I../quark/include -c magma_zfortran.f90 -o magma_zfortran.o
magma_zfortran.f90:266.20:
integer(kind=../control/sizeptr.c: In function \xE2\x80\x98main\xE2\x80\x99: ../control/si
1
Error: Expected initialization expression at (1)
magma_zfortran.f90:266.132:
main\xE2\x80\x99: ../control/sizeptr.c:6: warning: format \xE2\x80\x98%lu\xE2\x80\x99 expects type \xE2\x80\x98
1
Warning: Line truncated at (1)
magma_zfortran.f90:268.20:
integer(kind=../control/sizeptr.c: In function \xE2\x80\x98main\xE2\x80\x99: ../control/si
1
Error: Expected initialization expression at (1)
magma_zfortran.f90:268.132:
main\xE2\x80\x99: ../control/sizeptr.c:6: warning: format \xE2\x80\x98%lu\xE2\x80\x99 expects type \xE2\x80\x98
1
Warning: Line truncated at (1)
magma_zfortran.f90:278.20:
integer(kind=../control/sizeptr.c: In function \xE2\x80\x98main\xE2\x80\x99: ../control/si
1
Error: Expected initialization expression at (1)
magma_zfortran.f90:278.132:
main\xE2\x80\x99: ../control/sizeptr.c:6: warning: format \xE2\x80\x98%lu\xE2\x80\x99 expects type \xE2\x80\x98
1
Warning: Line truncated at (1)
magma_zfortran.f90:281.20:
integer(kind=../control/sizeptr.c: In function \xE2\x80\x98main\xE2\x80\x99: ../control/si
1
Error: Expected initialization expression at (1)
magma_zfortran.f90:281.132:
main\xE2\x80\x99: ../control/sizeptr.c:6: warning: format \xE2\x80\x98%lu\xE2\x80\x99 expects type \xE2\x80\x98
1
Warning: Line truncated at (1)
magma_zfortran.f90:288.20:
integer(kind=../control/sizeptr.c: In function \xE2\x80\x98main\xE2\x80\x99: ../control/si
1
Error: Expected initialization expression at (1)
magma_zfortran.f90:288.132:
main\xE2\x80\x99: ../control/sizeptr.c:6: warning: format \xE2\x80\x98%lu\xE2\x80\x99 expects type \xE2\x80\x98
1
Warning: Line truncated at (1)
magma_zfortran.f90:297.20:
integer(kind=../control/sizeptr.c: In function \xE2\x80\x98main\xE2\x80\x99: ../control/si
1
Error: Expected initialization expression at (1)
magma_zfortran.f90:297.132:
main\xE2\x80\x99: ../control/sizeptr.c:6: warning: format \xE2\x80\x98%lu\xE2\x80\x99 expects type \xE2\x80\x98
1
Warning: Line truncated at (1)
magma_zfortran.f90:300.20:
integer(kind=../control/sizeptr.c: In function \xE2\x80\x98main\xE2\x80\x99: ../control/si
1
Error: Expected initialization expression at (1)
magma_zfortran.f90:300.132:
main\xE2\x80\x99: ../control/sizeptr.c:6: warning: format \xE2\x80\x98%lu\xE2\x80\x99 expects type \xE2\x80\x98
1
Warning: Line truncated at (1)
magma_zfortran.f90:308.20:
integer(kind=../control/sizeptr.c: In function \xE2\x80\x98main\xE2\x80\x99: ../control/si
1
Error: Expected initialization expression at (1)
magma_zfortran.f90:308.132:
main\xE2\x80\x99: ../control/sizeptr.c:6: warning: format \xE2\x80\x98%lu\xE2\x80\x99 expects type \xE2\x80\x98
1
Warning: Line truncated at (1)
magma_zfortran.f90:311.20:
integer(kind=../control/sizeptr.c: In function \xE2\x80\x98main\xE2\x80\x99: ../control/si
1
Error: Expected initialization expression at (1)
magma_zfortran.f90:311.132:
main\xE2\x80\x99: ../control/sizeptr.c:6: warning: format \xE2\x80\x98%lu\xE2\x80\x99 expects type \xE2\x80\x98
1
Warning: Line truncated at (1)
magma_zfortran.f90:312.20:
integer(kind=../control/sizeptr.c: In function \xE2\x80\x98main\xE2\x80\x99: ../control/si
1
Error: Expected initialization expression at (1)
magma_zfortran.f90:312.132:
main\xE2\x80\x99: ../control/sizeptr.c:6: warning: format \xE2\x80\x98%lu\xE2\x80\x99 expects type \xE2\x80\x98
1
Warning: Line truncated at (1)
magma_zfortran.f90:323.20:
integer(kind=../control/sizeptr.c: In function \xE2\x80\x98main\xE2\x80\x99: ../control/si
1
Error: Expected initialization expression at (1)
magma_zfortran.f90:323.132:
main\xE2\x80\x99: ../control/sizeptr.c:6: warning: format \xE2\x80\x98%lu\xE2\x80\x99 expects type \xE2\x80\x98
1
Warning: Line truncated at (1)
magma_zfortran.f90:326.20:
integer(kind=../control/sizeptr.c: In function \xE2\x80\x98main\xE2\x80\x99: ../control/si
1
Error: Expected initialization expression at (1)
magma_zfortran.f90:326.132:
main\xE2\x80\x99: ../control/sizeptr.c:6: warning: format \xE2\x80\x98%lu\xE2\x80\x99 expects type \xE2\x80\x98
1
Warning: Line truncated at (1)
magma_zfortran.f90:327.20:
integer(kind=../control/sizeptr.c: In function \xE2\x80\x98main\xE2\x80\x99: ../control/si
1
Error: Expected initialization expression at (1)
magma_zfortran.f90:327.132:
main\xE2\x80\x99: ../control/sizeptr.c:6: warning: format \xE2\x80\x98%lu\xE2\x80\x99 expects type \xE2\x80\x98
1
Warning: Line truncated at (1)
magma_zfortran.f90:341.20:
integer(kind=../control/sizeptr.c: In function \xE2\x80\x98main\xE2\x80\x99: ../control/si
1
Error: Expected initialization expression at (1)
magma_zfortran.f90:341.132:
main\xE2\x80\x99: ../control/sizeptr.c:6: warning: format \xE2\x80\x98%lu\xE2\x80\x99 expects type \xE2\x80\x98
1
Warning: Line truncated at (1)
magma_zfortran.f90:343.20:
integer(kind=../control/sizeptr.c: In function \xE2\x80\x98main\xE2\x80\x99: ../control/si
1
Error: Expected initialization expression at (1)
magma_zfortran.f90:343.132:
main\xE2\x80\x99: ../control/sizeptr.c:6: warning: format \xE2\x80\x98%lu\xE2\x80\x99 expects type \xE2\x80\x98
1
Warning: Line truncated at (1)
magma_zfortran.f90:345.20:
integer(kind=../control/sizeptr.c: In function \xE2\x80\x98main\xE2\x80\x99: ../control/si
1
Error: Expected initialization expression at (1)
magma_zfortran.f90:345.132:
main\xE2\x80\x99: ../control/sizeptr.c:6: warning: format \xE2\x80\x98%lu\xE2\x80\x99 expects type \xE2\x80\x98
1
Warning: Line truncated at (1)
magma_zfortran.f90:353.20:
integer(kind=../control/sizeptr.c: In function \xE2\x80\x98main\xE2\x80\x99: ../control/si
1
Error: Expected initialization expression at (1)
magma_zfortran.f90:353.132:
main\xE2\x80\x99: ../control/sizeptr.c:6: warning: format \xE2\x80\x98%lu\xE2\x80\x99 expects type \xE2\x80\x98
1
Warning: Line truncated at (1)
magma_zfortran.f90:356.20:
integer(kind=../control/sizeptr.c: In function \xE2\x80\x98main\xE2\x80\x99: ../control/si
1
Error: Expected initialization expression at (1)
magma_zfortran.f90:356.132:
main\xE2\x80\x99: ../control/sizeptr.c:6: warning: format \xE2\x80\x98%lu\xE2\x80\x99 expects type \xE2\x80\x98
1
Warning: Line truncated at (1)
magma_zfortran.f90:364.20:
integer(kind=../control/sizeptr.c: In function \xE2\x80\x98main\xE2\x80\x99: ../control/si
1
Error: Expected initialization expression at (1)
magma_zfortran.f90:364.132:
main\xE2\x80\x99: ../control/sizeptr.c:6: warning: format \xE2\x80\x98%lu\xE2\x80\x99 expects type \xE2\x80\x98
1
Warning: Line truncated at (1)
magma_zfortran.f90:374.20:
integer(kind=../control/sizeptr.c: In function \xE2\x80\x98main\xE2\x80\x99: ../control/si
1
Error: Expected initialization expression at (1)
magma_zfortran.f90:374.132:
main\xE2\x80\x99: ../control/sizeptr.c:6: warning: format \xE2\x80\x98%lu\xE2\x80\x99 expects type \xE2\x80\x98
1
Warning: Line truncated at (1)
magma_zfortran.f90:377.20:
integer(kind=../control/sizeptr.c: In function \xE2\x80\x98main\xE2\x80\x99: ../control/si
1
Error: Expected initialization expression at (1)
magma_zfortran.f90:377.132:
main\xE2\x80\x99: ../control/sizeptr.c:6: warning: format \xE2\x80\x98%lu\xE2\x80\x99 expects type \xE2\x80\x98
1
Warning: Line truncated at (1)
magma_zfortran.f90:388.20:
integer(kind=../control/sizeptr.c: In function \xE2\x80\x98main\xE2\x80\x99: ../control/si
1
Error: Expected initialization expression at (1)
magma_zfortran.f90:388.132:
main\xE2\x80\x99: ../control/sizeptr.c:6: warning: format \xE2\x80\x98%lu\xE2\x80\x99 expects type \xE2\x80\x98
1
Warning: Line truncated at (1)
magma_zfortran.f90:396.20:
integer(kind=../control/sizeptr.c: In function \xE2\x80\x98main\xE2\x80\x99: ../control/si
1
Error: Expected initialization expression at (1)
magma_zfortran.f90:396.132:
main\xE2\x80\x99: ../control/sizeptr.c:6: warning: format \xE2\x80\x98%lu\xE2\x80\x99 expects type \xE2\x80\x98
1
Warning: Line truncated at (1)
magma_zfortran.f90:400.20:
integer(kind=../control/sizeptr.c: In function \xE2\x80\x98main\xE2\x80\x99: ../control/si
1
Error: Expected initialization expression at (1)
magma_zfortran.f90:400.132:
main\xE2\x80\x99: ../control/sizeptr.c:6: warning: format \xE2\x80\x98%lu\xE2\x80\x99 expects type \xE2\x80\x98
1
Warning: Line truncated at (1)
magma_zfortran.f90:412.20:
integer(kind=../control/sizeptr.c: In function \xE2\x80\x98main\xE2\x80\x99: ../control/si
1
Error: Expected initialization expression at (1)
Fatal Error: Error count reached limit of 25.
make[1]: *** [magma_zfortran.o] Error 1
make[1]: Leaving directory `/disk2/home/kmclaugh/src/MPMC-magma/magma_1.0.0-rc5/control'
make: *** [libmagma] Error 2