Hallo,
i have this problem:
make
( cd control && make )
make[1]: Betrete Verzeichnis '/home/li/magma_1.0.0/control'
gfortran -O3 -DADD_ -x f95-cpp-input -Dmagma_devptr_t="integer(kind=../control/sizeptr.c: In function ‘main’: ../control/sizeptr.c:6:3: 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:279.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.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:291.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:294.20:
Can you help me? Thanks.
install problem
Re: install problem
Hi I have the same errors in installation. Helm please.
pylyp@pylyp-desktop:~/CUDA/MAGMA/magma_1.1.0$ make
( cd control && make )
make[1]: Entering directory `/home/pylyp/CUDA/MAGMA/magma_1.1.0/control'
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:133.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:133.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:135.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:135.132:
main\xE2\x80\x99: ../control/sizeptr.c:6: warning: format \xE2\x80\x98%lu\xE2\x80\x99 expects type \xE2\x80\x98
1
magma_zfortran.f90:466.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 `/home/pylyp/CUDA/MAGMA/magma_1.1.0/control'
make: *** [libmagma] Error 2
___________________
make make.inc file
#//////////////////////////////////////////////////////////////////////////////
# -- MAGMA (version 1.1) --
# Univ. of Tennessee, Knoxville
# Univ. of California, Berkeley
# Univ. of Colorado, Denver
# November 2011
#//////////////////////////////////////////////////////////////////////////////
#
# GPU_TARGET specifies for which GPU you want to compile MAGMA
# 0: Tesla family
# 1: Fermi Family
#
GPU_TARGET = 0
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 = /home/pylyp/CUDA/MAGMA/CLAPACK-3.2.1 \
-lf77blas -latlas -lcblas -lf2c -lcublas -lm
CUDADIR = /usr/local/cuda/
LIBDIR = -L/home/pylyp/CUDA/MAGMA/ATLAS/my/lib/ \
-L/home/pylyp/CUDA/MAGMA/CLAPACK-3.2.1/F2CLIBS/ \
-L$(CUDADIR)/lib64
INC = -I$(CUDADIR)/include
#LIBMAGMA = $(MAGMA_DIR)/lib/magma.a
#LIBMAGMABLAS = $(MAGMA_DIR)/lib/magmablas.a
pylyp@pylyp-desktop:~/CUDA/MAGMA/magma_1.1.0$ make
( cd control && make )
make[1]: Entering directory `/home/pylyp/CUDA/MAGMA/magma_1.1.0/control'
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:133.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:133.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:135.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:135.132:
main\xE2\x80\x99: ../control/sizeptr.c:6: warning: format \xE2\x80\x98%lu\xE2\x80\x99 expects type \xE2\x80\x98
1
magma_zfortran.f90:466.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 `/home/pylyp/CUDA/MAGMA/magma_1.1.0/control'
make: *** [libmagma] Error 2
___________________
make make.inc file
#//////////////////////////////////////////////////////////////////////////////
# -- MAGMA (version 1.1) --
# Univ. of Tennessee, Knoxville
# Univ. of California, Berkeley
# Univ. of Colorado, Denver
# November 2011
#//////////////////////////////////////////////////////////////////////////////
#
# GPU_TARGET specifies for which GPU you want to compile MAGMA
# 0: Tesla family
# 1: Fermi Family
#
GPU_TARGET = 0
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 = /home/pylyp/CUDA/MAGMA/CLAPACK-3.2.1 \
-lf77blas -latlas -lcblas -lf2c -lcublas -lm
CUDADIR = /usr/local/cuda/
LIBDIR = -L/home/pylyp/CUDA/MAGMA/ATLAS/my/lib/ \
-L/home/pylyp/CUDA/MAGMA/CLAPACK-3.2.1/F2CLIBS/ \
-L$(CUDADIR)/lib64
INC = -I$(CUDADIR)/include
#LIBMAGMA = $(MAGMA_DIR)/lib/magma.a
#LIBMAGMABLAS = $(MAGMA_DIR)/lib/magmablas.a
Re: install problem
Hi I have the same errors in installation. Helm please.
pylyp@pylyp-desktop:~/CUDA/MAGMA/magma_1.1.0$ make
( cd control && make )
make[1]: Entering directory `/home/pylyp/CUDA/MAGMA/magma_1.1.0/control'
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:133.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:133.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:135.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:135.132:
main\xE2\x80\x99: ../control/sizeptr.c:6: warning: format \xE2\x80\x98%lu\xE2\x80\x99 expects type \xE2\x80\x98
1
magma_zfortran.f90:466.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 `/home/pylyp/CUDA/MAGMA/magma_1.1.0/control'
make: *** [libmagma] Error 2
___________________
make make.inc file
#//////////////////////////////////////////////////////////////////////////////
# -- MAGMA (version 1.1) --
# Univ. of Tennessee, Knoxville
# Univ. of California, Berkeley
# Univ. of Colorado, Denver
# November 2011
#//////////////////////////////////////////////////////////////////////////////
#
# GPU_TARGET specifies for which GPU you want to compile MAGMA
# 0: Tesla family
# 1: Fermi Family
#
GPU_TARGET = 0
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 = /home/pylyp/CUDA/MAGMA/CLAPACK-3.2.1 \
-lf77blas -latlas -lcblas -lf2c -lcublas -lm
CUDADIR = /usr/local/cuda/
LIBDIR = -L/home/pylyp/CUDA/MAGMA/ATLAS/my/lib/ \
-L/home/pylyp/CUDA/MAGMA/CLAPACK-3.2.1/F2CLIBS/ \
-L$(CUDADIR)/lib64
INC = -I$(CUDADIR)/include
#LIBMAGMA = $(MAGMA_DIR)/lib/magma.a
#LIBMAGMABLAS = $(MAGMA_DIR)/lib/magmablas.a
pylyp@pylyp-desktop:~/CUDA/MAGMA/magma_1.1.0$ make
( cd control && make )
make[1]: Entering directory `/home/pylyp/CUDA/MAGMA/magma_1.1.0/control'
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:133.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:133.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:135.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:135.132:
main\xE2\x80\x99: ../control/sizeptr.c:6: warning: format \xE2\x80\x98%lu\xE2\x80\x99 expects type \xE2\x80\x98
1
magma_zfortran.f90:466.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 `/home/pylyp/CUDA/MAGMA/magma_1.1.0/control'
make: *** [libmagma] Error 2
___________________
make make.inc file
#//////////////////////////////////////////////////////////////////////////////
# -- MAGMA (version 1.1) --
# Univ. of Tennessee, Knoxville
# Univ. of California, Berkeley
# Univ. of Colorado, Denver
# November 2011
#//////////////////////////////////////////////////////////////////////////////
#
# GPU_TARGET specifies for which GPU you want to compile MAGMA
# 0: Tesla family
# 1: Fermi Family
#
GPU_TARGET = 0
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 = /home/pylyp/CUDA/MAGMA/CLAPACK-3.2.1 \
-lf77blas -latlas -lcblas -lf2c -lcublas -lm
CUDADIR = /usr/local/cuda/
LIBDIR = -L/home/pylyp/CUDA/MAGMA/ATLAS/my/lib/ \
-L/home/pylyp/CUDA/MAGMA/CLAPACK-3.2.1/F2CLIBS/ \
-L$(CUDADIR)/lib64
INC = -I$(CUDADIR)/include
#LIBMAGMA = $(MAGMA_DIR)/lib/magma.a
#LIBMAGMABLAS = $(MAGMA_DIR)/lib/magmablas.a
Re: install problem
See this post:
viewtopic.php?f=2&t=365&hilit=+sizeptr#p1208
viewtopic.php?f=2&t=365&hilit=+sizeptr#p1208