Search found 911 matches

by mgates3
Mon Mar 19, 2012 4:53 pm
Forum: User discussion
Topic: Error while installing MAGMA installation
Replies: 1
Views: 1829

Re: Error while installing MAGMA installation

Can you check that the CUDADIR is correct? I.e., if you list that directory you should see something like: > ls /usr/local/cuda/lib64/ libcublas.so@ libcufft.so@ libcusparse.so@ libcublas.so.4@ libcufft.so.4@ libcusparse.so.4@ libcublas.so.4.0.17* libcufft.so.4.0.17* libcusparse.so.4.0.17* libcudart...
by mgates3
Mon Mar 19, 2012 4:46 pm
Forum: User discussion
Topic: MAGMA on windows or linux
Replies: 6
Views: 3311

Re: MAGMA on windows or linux

Can you give some details about what you tried, what it did, what you expected, what is your environment (version of Linux, compiler, etc.)?

On Linux, as a first step you need to edit the make.inc file. Several example make.inc files are given.

-mark
by mgates3
Mon Mar 19, 2012 4:41 pm
Forum: User discussion
Topic: How to install MAGMA on a login node
Replies: 1
Views: 2292

Re: How to install MAGMA on a login node

Yes, that header is in the CUDA install, for instance, /usr/local/cuda/include/cuda_runtime_api.h Based on your compile line, I would expect that in /usr/share/Modules/modulefiles/cuda/include/cuda_runtime_api.h If you can't read that directory, you need to consult with your system administrator. Ch...
by mgates3
Mon Mar 19, 2012 4:33 pm
Forum: User discussion
Topic: dtrsm bug in magma 1.1
Replies: 7
Views: 5160

Re: dtrsm bug in magma 1.1

I couldn't exactly replicate the issue, but it seems there is a problem. Running memcheck finds an invalid memory reference, which indicates a bug in MAGMA. We'll look into it. Otherwise, use the cublas dtrsm. -mark > cuda-memcheck ./dtrsm ========= CUDA-MEMCHECK 1.000000 0.000000 0.000000 -0.400000...
by mgates3
Tue Mar 13, 2012 10:53 am
Forum: User discussion
Topic: Dynamic library (.so) compilation on Linux
Replies: 3
Views: 3913

Re: Dynamic library (.so) compilation on Linux

The multiple definitions of functions is a bug. Those functions are used only for profiling, so you can safely change the calls from Mylapackf77_* to lapackf77_*, and delete the definitions of Mylapackf77_*. As for the linking errors, there is a cross-dependency between libmagma and libmagmablas. Us...
by mgates3
Tue Mar 13, 2012 10:31 am
Forum: User discussion
Topic: Problem with "magma_zhegvx" function
Replies: 3
Views: 2366

Re: Problem with "magma_zhegvx" function

I'm confused by your matrices. You have the following matrices (note Magma is column-wise): A = [ 1, 3, 5 ] [ 2, 6, 9 ] [ 3, 8, 2 ] B = [ 3, 1, 4 ] [ 5, 7, 6 ] [ 7, 9, 2 ] The first question is, if your numbers are actually all real, why are you specifying them as complex? The second question is, th...
by mgates3
Fri Mar 09, 2012 3:09 pm
Forum: User discussion
Topic: Magma with large mem req. + Fortran90
Replies: 4
Views: 2937

Re: Magma with large mem req. + Fortran90

See the testing directory. Probably magma has to go before cuda & cublas. This is what works on my machines: # on Linux with MKL gcc -O3 -DADD_ -DGPUSHMEM=200 -fPIC testing_zgetrf.o -o testing_zgetrf \ lin/liblapacktest.a -L${MAGMA_DIR}/lib -lcuda -lmagma -lmagmablas -lmagma -L${MKLROOT}/lib/intel64...
by mgates3
Fri Mar 09, 2012 2:35 pm
Forum: User discussion
Topic: Problem with "magma_stream" while compiling
Replies: 5
Views: 2355

Re: Problem with "magma_stream" while compiling

Or just repeat -lmagma:

-lmagma -lmagmablas -lmagma

-mark
by mgates3
Thu Mar 08, 2012 5:50 pm
Forum: User discussion
Topic: Magma with large mem req. + Fortran90
Replies: 4
Views: 2937

Re: Magma with large mem req. + Fortran90

For LU, Cholesky, and QR, there is multi-GPU support which handles matrices that will fit in the combined memory of multiple GPUs. Set the environment variable MAGMA_NUM_GPUS to specify the number of GPUs to use, and call the normal CPU interface. For example: export MAGMA_NUM_GPUS=2 For LU and Chol...
by mgates3
Thu Mar 01, 2012 3:17 pm
Forum: User discussion
Topic: Problem with zgetri_gpu
Replies: 3
Views: 1335

Re: Problem with zgetri_gpu

We will look into it.
-mark