wanna help for magma1.2.1

Open discussion for MAGMA

wanna help for magma1.2.1

Postby justpk » Sun Jul 08, 2012 9:37 am

after i made the codes there has something wrong ,
please help me thanks

./testing_sgetrf_f

MKL ERROR: Parameter 4 was incorrect on entry to SGETRF

MKL ERROR: Parameter 4 was incorrect on entry to SGETRF

MKL ERROR: Parameter 4 was incorrect on entry to SGETRF

MKL ERROR: Parameter 4 was incorrect on entry to SGETRF

MKL ERROR: Parameter 4 was incorrect on entry to SGETRF

MKL ERROR: Parameter 4 was incorrect on entry to SGETRF

MKL ERROR: Parameter 4 was incorrect on entry to SGETRF

MKL ERROR: Parameter 4 was incorrect on entry to SGETRF

MKL ERROR: Parameter 4 was incorrect on entry to SGETRF

MKL ERROR: Parameter 4 was incorrect on entry to SGETRF

MKL ERROR: Parameter 4 was incorrect on entry to SGETRF

MKL ERROR: Parameter 4 was incorrect on entry to SGETRF

MKL ERROR: Parameter 4 was incorrect on entry to SGETRF

MKL ERROR: Parameter 4 was incorrect on entry to SGETRF

MKL ERROR: Parameter 4 was incorrect on entry to SGETRF

MKL ERROR: Parameter 4 was incorrect on entry to SGETRF

MKL ERROR: Parameter 4 was incorrect on entry to SGETRF

MKL ERROR: Parameter 4 was incorrect on entry to SGETRF

MKL ERROR: Parameter 4 was incorrect on entry to SGETRF

MKL ERROR: Parameter 4 was incorrect on entry to SGETRF

MKL ERROR: Parameter 4 was incorrect on entry to SGETRF

MKL ERROR: Parameter 4 was incorrect on entry to SGETRF

MKL ERROR: Parameter 4 was incorrect on entry to SGETRF

MKL ERROR: Parameter 4 was incorrect on entry to SGETRF

MKL ERROR: Parameter 4 was incorrect on entry to SGETRF

MKL ERROR: Parameter 4 was incorrect on entry to SGETRF

MKL ERROR: Parameter 4 was incorrect on entry to SGETRF

MKL ERROR: Parameter 4 was incorrect on entry to SGETRF

MKL ERROR: Parameter 4 was incorrect on entry to SGETRF

MKL ERROR: Parameter 4 was incorrect on entry to SGETRF

MKL ERROR: Parameter 4 was incorrect on entry to SGETRF

MKL ERROR: Parameter 4 was incorrect on entry to SGETRF

MKL ERROR: Parameter 5 was incorrect on entry to SGETRS
Info : -5
*** glibc detected *** ./testing_sgetrf_f: free(): invalid next size (normal): 0x0000000005b0ffe0 ***
======= Backtrace: =========
/lib64/libc.so.6[0x3989c75716]
./testing_sgetrf_f[0x83a71a]
./testing_sgetrf_f[0x839e7f]
./testing_sgetrf_f[0x83b184]
./testing_sgetrf_f[0x839c46]
./testing_sgetrf_f[0x804c00]
./testing_sgetrf_f[0x7e6b7e]
./testing_sgetrf_f[0x7ee788]
/lib64/libpthread.so.0[0x398a40f520]
./testing_sgetrf_f[0x470a04]
./testing_sgetrf_f[0x44feb7]
./testing_sgetrf_f[0x40c75c]
./testing_sgetrf_f[0x7e42de]
/lib64/libc.so.6(__libc_start_main+0xfd)[0x3989c1ec9d]
./testing_sgetrf_f[0x40c059]
======= Memory map: ========
00400000-00b55000 r-xp 00000000 08:03 18989232 /home/zhanghw/gpu/magma/magma-1.2.1/testing/testing_sgetrf_f
00d55000-00d64000 rwxp 00755000 08:03 18989232 /home/zhanghw/gpu/magma/magma-1.2.1/testing/testing_sgetrf_f
00d64000-00d6f000 rwxp 00000000 00:00 0
01e44000-05b23000 rwxp 00000000 00:00 0 [heap]
200000000-1600000000 ---p 00000000 00:00 0
3989400000-3989420000 r-xp 00000000 08:05 1368460 /lib64/ld-2.12.so
398961f000-3989620000 r-xp 0001f000 08:05 1368460 /lib64/ld-2.12.so
3989620000-3989621000 rwxp 00020000 08:05 1368460 /lib64/ld-2.12.so
3989621000-3989622000 rwxp 00000000 00:00 0
3989800000-3989883000 r-xp 00000000 08:05 1368472 /lib64/libm-2.12.so
3989883000-3989a82000 ---p 00083000 08:05 1368472 /lib64/libm-2.12.so
3989a82000-3989a83000 r-xp 00082000 08:05 1368472 /lib64/libm-2.12.so
3989a83000-3989a84000 rwxp 00083000 08:05 1368472 /lib64/libm-2.12.so
3989c00000-3989d87000 r-xp 00000000 08:05 1368461 /lib64/libc-2.12.so
3989d87000-3989f87000 ---p 00187000 08:05 1368461 /lib64/libc-2.12.so
3989f87000-3989f8b000 r-xp 00187000 08:05 1368461 /lib64/libc-2.12.so
3989f8b000-3989f8c000 rwxp 0018b000 08:05 1368461 /lib64/libc-2.12.so
3989f8c000-3989f91000 rwxp 00000000 00:00 0
398a000000-398a002000 r-xp 00000000 08:05 1368463 /lib64/libdl-2.12.so
398a002000-398a202000 ---p 00002000 08:05 1368463 /lib64/libdl-2.12.so
398a202000-398a203000 r-xp 00002000 08:05 1368463 /lib64/libdl-2.12.so
398a203000-398a204000 rwxp 00003000 08:05 1368463 /lib64/libdl-2.12.so
398a400000-398a417000 r-xp 00000000 08:05 1368469 /lib64/libpthread-2.12.so
398a417000-398a617000 ---p 00017000 08:05 1368469 /lib64/libpthread-2.12.so
398a617000-398a618000 r-xp 00017000 08:05 1368469 /lib64/libpthread-2.12.so
398a618000-398a619000 rwxp 00018000 08:05 1368469 /lib64/libpthread-2.12.so
398a619000-398a61d000 rwxp 00000000 00:00 0
398a800000-398a807000 r-xp 00000000 08:05 1368483 /lib64/librt-2.12.so
398a807000-398aa06000 ---p 00007000 08:05 1368483 /lib64/librt-2.12.so
398aa06000-398aa07000 r-xp 00006000 08:05 1368483 /lib64/librt-2.12.so
398aa07000-398aa08000 rwxp 00007000 08:05 1368483 /lib64/librt-2.12.so
398ac00000-398ac15000 r-xp 00000000 08:05 1368474 /lib64/libz.so.1.2.3
398ac15000-398ae14000 ---p 00015000 08:05 1368474 /lib64/libz.so.1.2.3
398ae14000-398ae15000 rwxp 00014000 08:05 1368474 /lib64/libz.so.1.2.3
3996400000-3996416000 r-xp 00000000 08:05 1368506 /lib64/libgcc_s-4.4.5-20110214.so.1
3996416000-3996615000 ---p 00016000 08:05 1368506 /lib64/libgcc_s-4.4.5-20110214.so.1
3996615000-3996616000 rwxp 00015000 08:05 1368506 /lib64/libgcc_s-4.4.5-20110214.so.1
3996800000-39968e8000 r-xp 00000000 08:05 418158 /usr/lib64/libstdc++.so.6.0.13
39968e8000-3996ae8000 ---p 000e8000 08:05 418158 /usr/lib64/libstdc++.so.6.0.13
3996ae8000-3996aef000 r-xp 000e8000 08:05 418158 /usr/lib64/libstdc++.so.6.0.13
3996aef000-3996af1000 rwxp 000ef000 08:05 418158 /usr/lib64/libstdc++.so.6.0.13
3996af1000-3996b06000 rwxp 00000000 00:00 0
7fd1ed609000-7fd1eff2c000 rwxp 00000000 00:00 0
7fd1eff2c000-7fd1f002c000 rwxs 7a8c4f000 00:05 13733 /dev/nvidia1
7fd1f002c000-7fd1f012c000 rwxs 7a8a87000 00:05 13733 /dev/nvidia1
7fd1f012c000-7fd1f022c000 rwxs 7a86bf000 00:05 13733 /dev/nvidia1
7fd1f022c000-7fd1f032c000 rwxs 7a89f7000 00:05 13733 /dev/nvidia1
7fd1f032c000-7fd1f042c000 rwxs 7d293f000 00:05 13733 /dev/nvidia1
7fd1f042c000-7fd1f042d000 rwxs ebee3000 00:05 13733 /dev/nvidia1
7fd1f042d000-7fd1f042e000 rwxs 7d2938000 00:05 13733 /dev/nvidia1
7fd1f042e000-7fd1f0830000 rwxs 7a8db4000 00:05 13733 /dev/nvidia1
7fd1f0830000-7fd1f0831000 rwxs ebee2000 00:05 13733 /dev/nvidia1
7fd1f0831000-7fd1f0832000 rwxs 7a9864000 00:05 13733 /dev/nvidia1
7fd1f0832000-7fd1f0c34000 rwxs 793608000 00:05 13733 /dev/nvidia1
7fd1f0c34000-7fd1f0c35000 rwxs ebee1000 00:05 13733 /dev/nvidia1
7fd1f0c35000-7fd1f0c36000 rwxs 7a920b000 00:05 13733 /dev/nvidia1
7fd1f0c36000-7fd1f1038000 rwxs 80e93f000 00:05 13733 /dev/nvidia1
7fd1f1038000-7fd1f1138000 rwxs 81908b000 00:05 13733 /dev/nvidia1
7fd1f1138000-7fd1f193d000 r-xp 00000000 08:05 2378870 /usr/lib64/libcuda.so.270.41.19
7fd1f193d000-7fd1f1b3c000 ---p 00805000 08:05 2378870 /usr/lib64/libcuda.so.270.41.19
7fd1f1b3c000-7fd1f1c0c000 rwxp 00804000 08:05 2378870 /usr/lib64/libcuda.so.270.41.19
7fd1f1c0c000-7fd1f1c38000 rwxp 00000000 00:00 0
7fd1f1c45000-7fd1f1c46000 r-xs f0009000 00:05 13733 /dev/nvidia1
7fd1f1c46000-7fd1f1c47000 r-xs ec009000 00:05 13722 /dev/nvidia0
7fd1f1c47000-7fd1f1c96000 r-xp 00000000 08:05 2435239 /usr/local/cuda/lib64/libcudart.so.4.0.17
7fd1f1c96000-7fd1f1e96000 ---p 0004f000 08:05 2435239 /usr/local/cuda/lib64/libcudart.so.4.0.17
7fd1f1e96000-7fd1f1e97000 rwxp 0004f000 08:05 2435239 /usr/local/cuda/lib64/libcudart.so.4.0.17
7fd1f1e97000-7fd1f1e99000 rwxp 00000000 00:00 0
7fd1f1e99000-7fd1f99c6000 r-xp 00000000 08:05 2435246 /usr/local/cuda/lib64/libcublas.so.4.0.17
7fd1f99c6000-7fd1f9bc6000 ---p 07b2d000 08:05 2435246 /usr/local/cuda/lib64/libcublas.so.4.0.17
7fd1f9bc6000-7fd1f9bd0000 rwxp 07b2d000 08:05 2435246 /usr/local/cuda/lib64/libcublas.so.4.0.17
7fd1f9bd0000-7fd1f9bd9000 rwxp 00000000 00:00 0
7fffa694e000-7fffa6965000 rwxp 00000000 00:00 0 [stack]
7fffa69ff000-7fffa6a00000 r-xp 00000000 00:00 0 [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]
Aborted (core dumped)
justpk
 
Posts: 5
Joined: Thu Jun 21, 2012 10:15 pm

Re: wanna help for magma1.2.1

Postby Stan Tomov » Sun Jul 08, 2012 2:18 pm

I could not reproduce the problem. Can you run the C-interface functions, e.g., what output do you get for testing
Code: Select all
testing_sgetrf -M 12 -N 12

Stan
Stan Tomov
 
Posts: 251
Joined: Fri Aug 21, 2009 10:39 pm

Re: wanna help for magma1.2.1

Postby justpk » Mon Jul 09, 2012 8:23 am

Stan Tomov wrote:I could not reproduce the problem. Can you run the C-interface functions, e.g., what output do you get for testing
Code: Select all
testing_sgetrf -M 12 -N 12

Stan

thank u very much, but when i try testing_sgetrf -M 12 -N 12
it just printed that message
Code: Select all
./testing_sgetrf -M 12 -N 12
device 0: Tesla C2050 / C2070, 1147.0 MHz clock, 2687.4 MB memory, capability 2.0
device 1: Quadro 4000, 950.0 MHz clock, 2047.2 MB memory, capability 2.0
  testing_sgetrf -M 12 -N 12

  M     N   CPU GFlop/s    GPU GFlop/s   ||PA-LU||/(||A||*N)
============================================================

and stoped in there. i dont know why. can u help me?
justpk
 
Posts: 5
Joined: Thu Jun 21, 2012 10:15 pm

Re: wanna help for magma1.2.1

Postby Stan Tomov » Tue Jul 10, 2012 12:58 pm

This points to a problem with LAPACK or BLAS on the CPU. Problem of size 12x12 is very small and MAGMA directly uses LAPACK, so no GPUs are involved in this case. Please verify if your CPU LAPACK and BLAS are installed correctly.
Stan
Stan Tomov
 
Posts: 251
Joined: Fri Aug 21, 2009 10:39 pm

Re: wanna help for magma1.2.1

Postby justpk » Tue Jul 10, 2012 10:49 pm

Stan Tomov wrote:This points to a problem with LAPACK or BLAS on the CPU. Problem of size 12x12 is very small and MAGMA directly uses LAPACK, so no GPUs are involved in this case. Please verify if your CPU LAPACK and BLAS are installed correctly.
Stan

thank u very much ,Stan. but my mkl just had scalapack, with none lapack. i dont know why. which version of mkl i should choice?
justpk
 
Posts: 5
Joined: Thu Jun 21, 2012 10:15 pm

Re: wanna help for magma1.2.1

Postby justpk » Wed Jul 11, 2012 8:43 am

Stan Tomov wrote:This points to a problem with LAPACK or BLAS on the CPU. Problem of size 12x12 is very small and MAGMA directly uses LAPACK, so no GPUs are involved in this case. Please verify if your CPU LAPACK and BLAS are installed correctly.
Stan

thx the problem solved. thank u very much .
u r so powerful.
justpk
 
Posts: 5
Joined: Thu Jun 21, 2012 10:15 pm


Return to User discussion

Who is online

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