testing "magma_sgetrf_gpu" ubuntu 12.04

Open discussion for MAGMA

testing "magma_sgetrf_gpu" ubuntu 12.04

Postby Ammiraglio625 » Fri Nov 01, 2013 7:54 am

Hi to everyone,

I'm a new user of this forum, and I've just started my magma experience :)
I need your help :)

Enviroment:
Ubuntu 12.04
clMagma-1.0.0
acml5.3.0
clAmdBlas-1.10.321
opencl-1.2-3.1.1.11385

Once I've download clMagma-1.0.0, I've write the make.inc file
------------------------------------------------------------------------------------------------------
#//////////////////////////////////////////////////////////////////////////////
# -- MAGMA (version 1.0.0) --
# Univ. of Tennessee, Knoxville
# Univ. of California, Berkeley
# Univ. of Colorado, Denver
# April 2012
#//////////////////////////////////////////////////////////////////////////////

# setenv AMD_CLBLAS_STORAGE_PATH /home/tomov/cl_magma
#
# GPU_TARGET specifies for which GPU you want to compile MAGMA:
# "Tesla" (NVIDIA compute capability 1.x cards)
# "Fermi" (NVIDIA compute capability 2.x cards)
# "AMD" (clMAGMA with AMD cards)
# See http://developer.nvidia.com/cuda-gpus
GPU_TARGET = AMD

CC = g++
NVCC = nvcc
FORT = gfortran

ARCH = ar
ARCHFLAGS = cr
RANLIB = ranlib

OPTS = -O0 -DADD_ -g -Wall
FOPTS = -O0 -DADD_ -g -Wall -x f95-cpp-input
#OPTS = -O3 -DADD_ -g
#NVOPTS = -O3 -DADD_ --compiler-options -fno-strict-aliasing -DUNIX -g -G
NVOPTS = -O3 -DADD_ --compiler-options -fno-strict-aliasing -DUNIX
LDOPTS = -fPIC -Xlinker -zmuldefs

ACMLROOT = /opt/acml5.3.0

#LIB = -lacml -lacml_mv
LIB = -lacml -lacml_mp
LIB += -lclAmdBlas -lOpenCL

GPUBLAS = /opt/clAmdBlas-1.10.321

OPENCL = /opt/intel/opencl-1.2-3.1.1.11385

LIBDIR = -L$(ACMLROOT)/gfortran64_int64/lib \
-L$(ACMLROOT)/gfortran64_mp_int64/lib \
-L$(GPUBLAS)/lib64 \
-L$(OPENCL)/lib64
INC = -I$(GPUBLAS)/include \
-I/opt/AMDAPP/include

-----------------------------------------------------------------------------------------------------------

Two files has been generated:
1) libclmagma.a
2) libclmagmablas.a
which I've linked to my project.

Then I've tried to test with one of the example -> testing_sgetrf_gpu.cpp

When I compile I've got this error:

error No Fortran calling convention given. Define one of ADD_, NOCHANGE, or UPCASE

Maybe the reason is that I did not set environment variable MAGMA_CL_DIR to point at cl_magma/interface_opencl.

Can you explain me how to do?

Thanks in advance

byee
Ammiraglio625
 
Posts: 11
Joined: Fri Nov 01, 2013 6:46 am

Re: testing "magma_sgetrf_gpu" ubuntu 12.04

Postby Ammiraglio625 » Sat Nov 02, 2013 11:25 am

Hi again,

I've red that acml does not include cblas, so I've changed the make.inc like that:

#//////////////////////////////////////////////////////////////////////////////
# -- MAGMA (version 1.0.0) --
# Univ. of Tennessee, Knoxville
# Univ. of California, Berkeley
# Univ. of Colorado, Denver
# April 2012
#//////////////////////////////////////////////////////////////////////////////

# setenv AMD_CLBLAS_STORAGE_PATH /home/tomov/cl_magma
#
# GPU_TARGET specifies for which GPU you want to compile MAGMA:
# "Tesla" (NVIDIA compute capability 1.x cards)
# "Fermi" (NVIDIA compute capability 2.x cards)
# "AMD" (clMAGMA with AMD cards)
# See http://developer.nvidia.com/cuda-gpus
GPU_TARGET = AMD

CC = g++
NVCC = nvcc
FORT = gfortran

ARCH = ar
ARCHFLAGS = cr
RANLIB = ranlib

OPTS = -O0 -DADD_ -g -Wall
FOPTS = -O0 -DADD_ -g -Wall -x f95-cpp-input
#OPTS = -O3 -DADD_ -g
#NVOPTS = -O3 -DADD_ --compiler-options -fno-strict-aliasing -DUNIX -g -G
NVOPTS = -O3 -DADD_ --compiler-options -fno-strict-aliasing -DUNIX
LDOPTS = -fPIC -Xlinker -zmuldefs

ACMLROOT = /opt/acml5.3.0

#LIB = -lacml -lacml_mv
LIB = -lacml -lacml_mp
LIB += -lcblas_LINUX -lclAmdBlas -lOpenCL


GPUBLAS = /opt/clAmdBlas-1.10.321

CBLAS =/opt/cblas

OPENCL = /opt/intel/opencl-1.2-3.1.1.11385

LIBDIR = -L$(ACMLROOT)/gfortran64_int64/lib \
-L$(ACMLROOT)/gfortran64_mp_int64/lib \
-L$(CBLAS)/lib \
-L$(GPUBLAS)/lib64 \
-L$(OPENCL)/lib64
INC = -I$(GPUBLAS)/include \
-I/opt/AMDAPP/include
-----------------------------------------------------------------

but still I've got the same error in magma_lapack.h


#ifndef FORTRAN_NAME
# if defined(ADD_)
# define FORTRAN_NAME(lcname, UCNAME) lcname##_
# elif defined(NOCHANGE)
# define FORTRAN_NAME(lcname, UCNAME) lcname
# elif defined(UPCASE)
# define FORTRAN_NAME(lcname, UCNAME) UCNAME
# else
# error No Fortran calling convention given. Define one of ADD_, NOCHANGE, or UPCASE
# endif
#endif

help me please :) :)

bye
Ammiraglio625
 
Posts: 11
Joined: Fri Nov 01, 2013 6:46 am

Re: testing "magma_sgetrf_gpu" ubuntu 12.04

Postby mgates3 » Mon Nov 04, 2013 5:10 pm

The Fortran calling convention is defined in OPTS, FOPTS, and NVOPTS using -DADD_ or -DNOCHANGE or -DUPCASE.
I don't understand why you are seeing this error as you have -DADD_ in OPTS.

Is this happening when you compile MAGMA code or when you compile your own code?

Can you copy-and-paste the whole output of make when this occurs? That is, include the command that is generating the error, not just the error itself. Otherwise it's very hard to tell what is happening.

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

Re: testing "magma_sgetrf_gpu" ubuntu 12.04

Postby Ammiraglio625 » Thu Nov 07, 2013 8:42 am

Thanks a lot for the reply :)

I'm compiling the /clmagma-1.0.0/testing/testing_dgesvd.cpp

The error is generated in the file magma_lapack.h in the underline part:

---------------------------------------------------------------------------------------------------
/*
* -- clMAGMA (version 1.0.0) --
* Univ. of Tennessee, Knoxville
* Univ. of California, Berkeley
* Univ. of Colorado, Denver
* April 2012
*/

#ifndef MAGMA_LAPACK_H
#define MAGMA_LAPACK_H

#ifndef FORTRAN_NAME
# if defined(ADD_)
# define FORTRAN_NAME(lcname, UCNAME) lcname##_
# elif defined(NOCHANGE)
# define FORTRAN_NAME(lcname, UCNAME) lcname
# elif defined(UPCASE)
# define FORTRAN_NAME(lcname, UCNAME) UCNAME
# else
# error No Fortran calling convention given. Define one of ADD_, NOCHANGE, or UPCASE
# endif
#endif

#include "magma_zlapack.h"
#include "magma_clapack.h"
#include "magma_dlapack.h"
#include "magma_slapack.h"

#ifdef __cplusplus
extern "C" {
#endif

#define lapackf77_lsame FORTRAN_NAME( lsame, LSAME )
#define lapackf77_xerbla FORTRAN_NAME( xerbla, XERBLA )

#define lapackf77_slamch FORTRAN_NAME( slamch, SLAMCH )
#define lapackf77_dlamch FORTRAN_NAME( dlamch, DLAMCH )
#define lapackf77_slabad FORTRAN_NAME( slabad, SLABAD )
#define lapackf77_dlabad FORTRAN_NAME( dlabad, DLABAD )
#define lapackf77_zcgesv FORTRAN_NAME( zcgesv, ZCGESV )
#define lapackf77_dsgesv FORTRAN_NAME( dsgesv, DSGESV )

#define lapackf77_dsterf FORTRAN_NAME( dsterf, DSTERF )
#define lapackf77_ssterf FORTRAN_NAME( ssterf, SSTERF )

#define lapackf77_zlag2c FORTRAN_NAME( zlag2c, ZLAG2C )
#define lapackf77_clag2z FORTRAN_NAME( clag2z, CLAG2Z )
#define lapackf77_dlag2s FORTRAN_NAME( dlag2s, DLAG2S )
#define lapackf77_slag2d FORTRAN_NAME( slag2d, SLAG2D )

#define lapackf77_dlapy2 FORTRAN_NAME( dlapy2, DLAPY2 )
#define lapackf77_slapy2 FORTRAN_NAME( slapy2, SLAPY2 )

long int lapackf77_lsame( const char *ca, const char *cb);
void lapackf77_xerbla( const char* name, magma_int_t* info, int name_len );

float lapackf77_slamch(const char *cmach);
double lapackf77_dlamch(const char *cmach);

// "small" (lowercase) defined as char on Windows (reported by MathWorks)
void lapackf77_slabad(float *Small, float *large);
void lapackf77_dlabad(double *Small, double *large);

void lapackf77_zcgesv(magma_int_t *n, magma_int_t *nrhs, magmaDoubleComplex *A, magma_int_t *lda, magma_int_t *IPIV, magmaDoubleComplex *B, magma_int_t *ldb,
magmaDoubleComplex *X, magma_int_t *ldx, magmaDoubleComplex *work, magmaFloatComplex *swork, double *rwork, magma_int_t *iter, magma_int_t *info);
void lapackf77_dsgesv(magma_int_t *n, magma_int_t *nrhs, double *A, magma_int_t *lda, magma_int_t *IPIV, double *B, magma_int_t *ldb,
double *X, magma_int_t *ldx, double *work, float *swork, magma_int_t *iter, magma_int_t *info);

void lapackf77_dsterf(magma_int_t *, double *, double *, magma_int_t *);
void lapackf77_ssterf(magma_int_t *, float *, float *, magma_int_t *);

void lapackf77_zlag2c( magma_int_t *m, magma_int_t *n, magmaDoubleComplex *a, magma_int_t *lda, magmaFloatComplex *sa, magma_int_t *ldsa, magma_int_t *info );
void lapackf77_clag2z( magma_int_t *m, magma_int_t *n, magmaFloatComplex *sa, magma_int_t *ldsa, magmaDoubleComplex *a, magma_int_t *lda, magma_int_t *info );
void lapackf77_dlag2s( magma_int_t *m, magma_int_t *n, double *a, magma_int_t *lda, float *sa, magma_int_t *ldsa, magma_int_t *info );
void lapackf77_slag2d( magma_int_t *m, magma_int_t *n, float *sa, magma_int_t *ldsa, double *a, magma_int_t *lda, magma_int_t *info );

double lapackf77_dlapy2( double *x, double *y );
float lapackf77_slapy2( float *x, float *y );

// zdotc has different calling sequence, so define these here
double blasf77_ddot( magma_int_t *, double *, magma_int_t *, double *, magma_int_t *);
float blasf77_sdot( magma_int_t *, float *, magma_int_t *, float *, magma_int_t *);

#ifdef __cplusplus
}
#endif

#endif /* MAGMA LAPACK */

-------------------------------------------------------------------------------------------------------


here the list of errors:


-------------- Build: Debug in magmatest ---------------

Compiling: testing_dgesvd.cpp
In file included from /home/gabriele/Scrivania/TEST MAGMA/magmatest/testing_dgesvd.cpp:21:0:
/opt/clmagma-1.0.0/include/magma_lapack.h:20:6: error: #error No Fortran calling convention given. Define one of ADD_, NOCHANGE, or UPCASE
In file included from /opt/clmagma-1.0.0/include/magma_lapack.h:24:0,
from /home/gabriele/Scrivania/TEST MAGMA/magmatest/testing_dgesvd.cpp:21:
/opt/clmagma-1.0.0/include/magma_zlapack.h:146:10: error: variable or field ‘FORTRAN_NAME’ declared void
/opt/clmagma-1.0.0/include/magma_zlapack.h:146:10: error: ‘zaxpy’ was not declared in this scope
/opt/clmagma-1.0.0/include/magma_zlapack.h:146:10: error: ‘ZAXPY’ was not declared in this scope
/opt/clmagma-1.0.0/include/magma_zlapack.h:148:10: error: variable or field ‘FORTRAN_NAME’ declared void
/opt/clmagma-1.0.0/include/magma_zlapack.h:148:10: error: ‘zcopy’ was not declared in this scope
/opt/clmagma-1.0.0/include/magma_zlapack.h:148:10: error: ‘ZCOPY’ was not declared in this scope
/opt/clmagma-1.0.0/include/magma_zlapack.h:154:10: error: variable or field ‘FORTRAN_NAME’ declared void
/opt/clmagma-1.0.0/include/magma_zlapack.h:154:10: error: ‘zgemm’ was not declared in this scope
/opt/clmagma-1.0.0/include/magma_zlapack.h:154:10: error: ‘ZGEMM’ was not declared in this scope
/opt/clmagma-1.0.0/include/magma_zlapack.h:158:10: error: variable or field ‘FORTRAN_NAME’ declared void
/opt/clmagma-1.0.0/include/magma_zlapack.h:158:10: error: ‘zgemv’ was not declared in this scope
/opt/clmagma-1.0.0/include/magma_zlapack.h:158:10: error: ‘ZGEMV’ was not declared in this scope
/opt/clmagma-1.0.0/include/magma_zlapack.h:161:10: error: variable or field ‘FORTRAN_NAME’ declared void
/opt/clmagma-1.0.0/include/magma_zlapack.h:161:10: error: ‘zgeru’ was not declared in this scope
/opt/clmagma-1.0.0/include/magma_zlapack.h:161:10: error: ‘ZGERU’ was not declared in this scope
/opt/clmagma-1.0.0/include/magma_zlapack.h:163:10: error: variable or field ‘FORTRAN_NAME’ declared void
/opt/clmagma-1.0.0/include/magma_zlapack.h:163:10: error: ‘zhemm’ was not declared in this scope
/opt/clmagma-1.0.0/include/magma_zlapack.h:163:10: error: ‘ZHEMM’ was not declared in this scope
/opt/clmagma-1.0.0/include/magma_zlapack.h:167:10: error: variable or field ‘FORTRAN_NAME’ declared void
/opt/clmagma-1.0.0/include/magma_zlapack.h:167:10: error: ‘zhemv’ was not declared in this scope
/opt/clmagma-1.0.0/include/magma_zlapack.h:167:10: error: ‘ZHEMV’ was not declared in this scope
/opt/clmagma-1.0.0/include/magma_zlapack.h:170:9: error: variable or field ‘FORTRAN_NAME’ declared void
/opt/clmagma-1.0.0/include/magma_zlapack.h:170:9: error: ‘zher2k’ was not declared in this scope
/opt/clmagma-1.0.0/include/magma_zlapack.h:170:9: error: ‘ZHER2K’ was not declared in this scope
/opt/clmagma-1.0.0/include/magma_zlapack.h:174:9: error: variable or field ‘FORTRAN_NAME’ declared void
/opt/clmagma-1.0.0/include/magma_zlapack.h:174:9: error: ‘zherk’ was not declared in this scope
/opt/clmagma-1.0.0/include/magma_zlapack.h:174:9: error: ‘ZHERK’ was not declared in this scope
/opt/clmagma-1.0.0/include/magma_zlapack.h:177:9: error: variable or field ‘FORTRAN_NAME’ declared void
/opt/clmagma-1.0.0/include/magma_zlapack.h:177:9: error: ‘zscal’ was not declared in this scope
/opt/clmagma-1.0.0/include/magma_zlapack.h:177:9: error: ‘ZSCAL’ was not declared in this scope
/opt/clmagma-1.0.0/include/magma_zlapack.h:179:9: error: variable or field ‘FORTRAN_NAME’ declared void
/opt/clmagma-1.0.0/include/magma_zlapack.h:179:9: error: ‘zdscal’ was not declared in this scope
/opt/clmagma-1.0.0/include/magma_zlapack.h:179:9: error: ‘ZDSCAL’ was not declared in this scope
/opt/clmagma-1.0.0/include/magma_zlapack.h:181:9: error: variable or field ‘FORTRAN_NAME’ declared void
/opt/clmagma-1.0.0/include/magma_zlapack.h:181:9: error: ‘zsymm’ was not declared in this scope
/opt/clmagma-1.0.0/include/magma_zlapack.h:181:9: error: ‘ZSYMM’ was not declared in this scope
/opt/clmagma-1.0.0/include/magma_zlapack.h:185:9: error: variable or field ‘FORTRAN_NAME’ declared void
/opt/clmagma-1.0.0/include/magma_zlapack.h:185:9: error: ‘zsyr2k’ was not declared in this scope
/opt/clmagma-1.0.0/include/magma_zlapack.h:185:9: error: ‘ZSYR2K’ was not declared in this scope
/opt/clmagma-1.0.0/include/magma_zlapack.h:189:9: error: variable or field ‘FORTRAN_NAME’ declared void
/opt/clmagma-1.0.0/include/magma_zlapack.h:189:9: error: ‘zsyrk’ was not declared in this scope
/opt/clmagma-1.0.0/include/magma_zlapack.h:189:9: error: ‘ZSYRK’ was not declared in this scope
/opt/clmagma-1.0.0/include/magma_zlapack.h:192:9: error: variable or field ‘FORTRAN_NAME’ declared void
/opt/clmagma-1.0.0/include/magma_zlapack.h:192:9: error: ‘zswap’ was not declared in this scope
/opt/clmagma-1.0.0/include/magma_zlapack.h:192:9: error: ‘ZSWAP’ was not declared in this scope
/opt/clmagma-1.0.0/include/magma_zlapack.h:193:9: error: variable or field ‘FORTRAN_NAME’ declared void
/opt/clmagma-1.0.0/include/magma_zlapack.h:193:9: error: ‘ztrmm’ was not declared in this scope
/opt/clmagma-1.0.0/include/magma_zlapack.h:193:9: error: ‘ZTRMM’ was not declared in this scope
/opt/clmagma-1.0.0/include/magma_zlapack.h:196:9: error: variable or field ‘FORTRAN_NAME’ declared void


-------------------------------------------------------------------------


thanks in advance :)
Ammiraglio
Ammiraglio625
 
Posts: 11
Joined: Fri Nov 01, 2013 6:46 am

Re: testing "magma_sgetrf_gpu" ubuntu 12.04

Postby mgates3 » Fri Nov 08, 2013 7:12 pm

Yes, I recognize the error and where in the code it is coming from, I just don't know why it is occurring. Can you include the compiler command itself, not (just) its output. For instance, on my machine:

Code: Select all
gcc -Wall -m32 -O3 -DADD_ -DGPUSHMEM=130 -DHAVE_CUBLAS -I/usr/local/cuda/include -I../include -I../control -c testing_dgesvd.cpp -o testing_dgesvd.o
gcc -Wall -m32  testing_dgesvd.o -o testing_dgesvd \
   libtest.a lin/liblapacktest.a -L../lib -lmagma \
   -L/usr/local/cuda/lib \
   -framework Accelerate -lcublas -lcudart -lstdc++ -lm


As you can see there, it has -DADD_, which is the Fortran convention on my machine (and probably the most common convention). What I don't understand, and can't tell without seeing your actual compiler command, is why that is missing. According to your first message, the OPTS had -DADD_ in it, in your make.inc file.
mgates3
 
Posts: 441
Joined: Fri Jan 06, 2012 2:13 pm

Re: testing "magma_sgetrf_gpu" ubuntu 12.04

Postby Ammiraglio625 » Tue Nov 12, 2013 6:07 am

I'm using code:block 10.05 in order to compile testing_dgesvd.c
Yes, the make.inc file has PTS with -DADD_ .
Do you think is it not enought? Should have I to specify the fortran convention ADD_ also in the code:block enviroment?

Thanks a lot ;)

Ammiraglio
Ammiraglio625
 
Posts: 11
Joined: Fri Nov 01, 2013 6:46 am

Re: testing "magma_sgetrf_gpu" ubuntu 12.04

Postby Ammiraglio625 » Tue Nov 12, 2013 9:14 am

Ok, I've added the option in the compiler -ADD_ and problem solved.

Now I've got problem in the file testing_dgesvd.cpp. In this part of the code:

if ( VT2 != NULL ) {
lapackf77_dort01( "Rows", &N2, &N, VT2, &ldv, h_work_err, &lwork_err, rwork, &result[2]);
}
#else
if ( U2 != NULL && VT2 != NULL ) {
lapackf77_dbdt01(&M, &N, &izero, h_A, &M,
U2, &ldu, S1, E, VT2, &ldv, h_work_err, &result[0]);

}
if ( U2 != NULL ) {
lapackf77_dort01("Columns", &M, &M2, U2, &ldu, h_work_err, &lwork_err, &result[1]);
}
if ( VT2 != NULL ) {
// this step may be really slow for large N
lapackf77_dort01( "Rows", &N2, &N, VT2, &ldv, h_work_err, &lwork_err, &result[2]);
}

errors:

no reference defined for _dort01

Where can I find it?

Thanks in advance
Ammiraglio625
 
Posts: 11
Joined: Fri Nov 01, 2013 6:46 am

Re: testing "magma_sgetrf_gpu" ubuntu 12.04

Postby mgates3 » Tue Nov 12, 2013 12:27 pm

Yes, -DADD_ must be used whenever magma_lapack.h is included. (Note you can use MAGMA and include magma.h without including magma_lapack.h.)

dort01 is in testing/lin/liblapacktest.a. Please check how testing executables are compiled in the provided MAGMA testing Makefiles to see what compiler options and libraries are required.

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

Re: testing "magma_sgetrf_gpu" ubuntu 12.04

Postby Ammiraglio625 » Wed Nov 13, 2013 11:46 am

Ok, :), getting closer but still some problems :(

Here the output:


Usage: /home/gabriele/Scrivania/TEST MAGMA/magmatest/bin/Debug/magmatest -N <m,n> -U[ASON] -V[ASON] -all -c -l -w[123]
-N can be repeated up to 10 times. If only m is given, then m=n.
-c or setting $MAGMA_TESTINGS_CHECK checks result.
-l or setting $MAGMA_RUN_LAPACK runs LAPACK and checks singular values.
-U* and -V* set jobu and jobv.
-all tests all 15 combinations of jobu and jobv.
-w* sets workspace size, from default min (1) to max (3).

Initializing clMAGMA runtime ...
Error could not open /home/gabriele/clmagma-1.0.0/interface_opencl/dinplace_transpose.co
Error could not open /home/gabriele/clmagma-1.0.0/interface_opencl/dtranspose-v2.co
Error could not open /home/gabriele/clmagma-1.0.0/interface_opencl/dtranspose.co
Error could not open /home/gabriele/clmagma-1.0.0/interface_opencl/dpermute-v2.co
Error could not open /home/gabriele/clmagma-1.0.0/interface_opencl/zinplace_transpose.co
Error could not open /home/gabriele/clmagma-1.0.0/interface_opencl/ztranspose-v2.co
Error could not open /home/gabriele/clmagma-1.0.0/interface_opencl/ztranspose.co
Error could not open /home/gabriele/clmagma-1.0.0/interface_opencl/zpermute-v2.co
Error could not open /home/gabriele/clmagma-1.0.0/interface_opencl/dauxiliary.co
Error could not open /home/gabriele/clmagma-1.0.0/interface_opencl/zauxiliary.co
Error could not open /home/gabriele/clmagma-1.0.0/interface_opencl/dlacpy.co
Error could not open /home/gabriele/clmagma-1.0.0/interface_opencl/zlacpy.co
Error could not open /home/gabriele/clmagma-1.0.0/interface_opencl/dswap.co
Error could not open /home/gabriele/clmagma-1.0.0/interface_opencl/zswap.co
Error: could not find program for kernel dinplace_T_even_kernel
error creating kernel dinplace_T_even_kernel
Error: could not find program for kernel dinplace_T_odd_kernel
error creating kernel dinplace_T_odd_kernel
Error: could not find program for kernel dtranspose3_32
error creating kernel dtranspose3_32
Error: could not find program for kernel dtranspose_32
error creating kernel dtranspose_32
Error: could not find program for kernel mydlaswp2
error creating kernel mydlaswp2
Error: could not find program for kernel zinplace_T_even_kernel
error creating kernel zinplace_T_even_kernel
Error: could not find program for kernel zinplace_T_odd_kernel
error creating kernel zinplace_T_odd_kernel
Error: could not find program for kernel ztranspose3_32
error creating kernel ztranspose3_32
Error: could not find program for kernel ztranspose_32
error creating kernel ztranspose_32
Error: could not find program for kernel myzlaswp2
error creating kernel myzlaswp2
Error: could not find program for kernel dset_nbxnb_to_zero
error creating kernel dset_nbxnb_zero
Error: could not find program for kernel zset_nbxnb_to_zero
error creating kernel zset_nbxnb_zero
Error: could not find program for kernel dlaset
error creating kernel dlaset
Error: could not find program for kernel zlaset
error creating kernel zlaset
Error: could not find program for kernel dlaset_lower
error creating kernel dlaset_lower
Error: could not find program for kernel zlaset_lower
error creating kernel zlaset_lower
Error: could not find program for kernel dlaset_upper
error creating kernel dlaset_upper
Error: could not find program for kernel zlaset_upper
error creating kernel zlaset_upper
Error: could not find program for kernel dlacpy_kernel
error creating kernel dlacpy_kernel
Error: could not find program for kernel zlacpy_kernel
error creating kernel zlacpy_kernel
Error: could not find program for kernel magmagpu_dswap
error creating kernel magmagpu_dswap
Error: could not find program for kernel magmagpu_zswap
error creating kernel magmagpu_zswap
-1.00 indicates non-applicable test that was skipped. See code for norm formulas.
jobu jobv M N CPU time (sec) GPU time (sec) |S1-S2|/. |A-USV'|/. |I-UU'|/M |I-VV'|/N S (0=okay)
===============================================================================================================
Segmentation fault (core dumped)

Process returned 139 (0x8B) execution time : 4.206 s
Press ENTER to continue.


-------------------------------------------------------------------------------------------

Any ideas?

Thanksssss

Ammiraglio
Ammiraglio625
 
Posts: 11
Joined: Fri Nov 01, 2013 6:46 am

Re: testing "magma_sgetrf_gpu" ubuntu 12.04

Postby mgates3 » Thu Nov 14, 2013 2:56 pm

Are the *.co files where it thinks they are, in /home/gabriele/clmagma-1.0.0/interface_opencl ?
If they are somewhere else, you need to set the MAGMA_CL_DIR environment variable, as mentioned in the README.
If they were not created when clMAGMA was compiled, that is a different problem.
-mark
mgates3
 
Posts: 441
Joined: Fri Jan 06, 2012 2:13 pm

Next

Return to User discussion

Who is online

Users browsing this forum: No registered users and 2 guests