errors I get when I install with portland group compilers

Open discussion for MAGMA

errors I get when I install with portland group compilers

Postby bsb3166 » Thu Aug 04, 2011 4:21 pm

I get some errors that I can't figure out why when I install magma with portland group compilers

The make.inc file is below:
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 = 0

CC        = pgcc
NVCC      = nvcc
FORT      = pgf90

ARCH      = ar
ARCHFLAGS = cr
RANLIB    = ranlib

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

#LIB       = -lmkl_em64t -lguide -lpthread -lcublas -lm
LIB       = -lmkl_sequential -lmkl_intel_lp64 -lmkl_core -lguide -lpthread -lcublas -lm

CUDADIR   = ${CUDA_HOME}

MKLLIB       = /opt/intel/Compiler/11.1/069/mkl/lib/em64t

LIBDIR    = -L$(MKLLIB) \
            -L$(CUDADIR)/lib64
INC       = -I$(CUDADIR)/include

LIBMAGMA     = ~/MAGMA/lib/libmagma.a
LIBMAGMABLAS = ~/MAGMA/lib/libmagmablas.a



Error information:
Code: Select all
[cding@mio magma_1.0.0-rc5]$ make
( cd control     && make )
make[1]: Entering directory `/u/af/bj/cding/download/magma_1.0.0-rc5/control'
pgf90 -O3 -DADD_ f95-cpp-input -Dmagma_devptr_t="integer(kind=8)" -I/opt/development/gpu/3.2/cuda/include -I../include -I../quark/include -c magma_zfortran.f90 -o magma_zfortran.o
File with unknown suffix passed to linker: f95-cpp-input
magma_zfortran.f90:
PGF90-S-0021-Label field of continuation line is not blank (magma_zfortran.f90: 11)
PGF90-S-0021-Label field of continuation line is not blank (magma_zfortran.f90: 158)
PGF90-S-0021-Label field of continuation line is not blank (magma_zfortran.f90: 211)
PGF90-S-0043-Illegal attempt to redefine symbol magmaf_zgeev (magma_zfortran.f90: 212)
PGF90-S-0043-Illegal attempt to redefine symbol magmaf_zgesvd (magma_zfortran.f90: 229)
PGF90-S-0043-Illegal attempt to redefine symbol magmaf_zheevd (magma_zfortran.f90: 246)
PGF90-S-0021-Label field of continuation line is not blank (magma_zfortran.f90: 259)
PGF90-S-0195-Statement may not appear in an INTERFACE block  (magma_zfortran.f90: 266)
PGF90-S-0195-Statement may not appear in an INTERFACE block  (magma_zfortran.f90: 268)
PGF90-S-0195-Statement may not appear in an INTERFACE block  (magma_zfortran.f90: 278)
PGF90-S-0195-Statement may not appear in an INTERFACE block  (magma_zfortran.f90: 281)
PGF90-S-0195-Statement may not appear in an INTERFACE block  (magma_zfortran.f90: 288)
PGF90-S-0195-Statement may not appear in an INTERFACE block  (magma_zfortran.f90: 297)
PGF90-S-0195-Statement may not appear in an INTERFACE block  (magma_zfortran.f90: 300)
PGF90-S-0195-Statement may not appear in an INTERFACE block  (magma_zfortran.f90: 308)
PGF90-S-0195-Statement may not appear in an INTERFACE block  (magma_zfortran.f90: 311)
PGF90-S-0195-Statement may not appear in an INTERFACE block  (magma_zfortran.f90: 312)
PGF90-S-0195-Statement may not appear in an INTERFACE block  (magma_zfortran.f90: 323)
PGF90-S-0195-Statement may not appear in an INTERFACE block  (magma_zfortran.f90: 326)
PGF90-S-0195-Statement may not appear in an INTERFACE block  (magma_zfortran.f90: 327)
PGF90-S-0195-Statement may not appear in an INTERFACE block  (magma_zfortran.f90: 341)
PGF90-S-0195-Statement may not appear in an INTERFACE block  (magma_zfortran.f90: 343)
PGF90-S-0195-Statement may not appear in an INTERFACE block  (magma_zfortran.f90: 345)
PGF90-S-0195-Statement may not appear in an INTERFACE block  (magma_zfortran.f90: 353)
PGF90-S-0195-Statement may not appear in an INTERFACE block  (magma_zfortran.f90: 356)
PGF90-F-0008-Error limit exceeded (magma_zfortran.f90: 356)
PGF90/x86-64 Linux 11.5-0: compilation aborted
make[1]: *** [magma_zfortran.o] Error 2
make[1]: Leaving directory `/u/af/bj/cding/download/magma_1.0.0-rc5/control'
make: *** [libmagma] Error 2
bsb3166
 
Posts: 8
Joined: Mon Jul 25, 2011 12:28 pm

Re: errors I get when I install with portland group compiler

Postby Stan Tomov » Fri Aug 12, 2011 2:38 pm

It looks like the f95-cpp-input was not passed properly to the Fortran compiler. Can you try
Code: Select all
FOPTS      = -O3 -DADD_  -x f95-cpp-input

in your make.inc (i.e., add -x).
Stan
Stan Tomov
 
Posts: 251
Joined: Fri Aug 21, 2009 10:39 pm


Return to User discussion

Who is online

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