Running tests fail and visual studio configuration
Re: Running tests fail and visual studio configuration
About sparse-iter, I would like to know if there are any library you use under linux is not available under windows and do you think it is technically possible to build the sparse-iter module myself?
Thank you very much!
Thank you very much!
Re: Running tests fail and visual studio configuration
Technically, you should be able to write something to compile the sparse library. Basically just add all the .cpp files under sparse-iter/{blas, control, src} to a library. It needs include and sparse-iter/include as include directories. That said, we'll see about fixing the problem so everyone can benefit.
-mark
-mark
Re: Running tests fail and visual studio configuration
I would like to know in order to compile the sparse library, should I need to write a CMake file(CMakeLists.txt) under sparse-iter folder and use CMake to compile it? After I compile the library, it will generate a libmagmasparse.lib file? I really need this library now and I would like to compile it myself. Thank you very much!
Re: Running tests fail and visual studio configuration
I try to use visual studio to compile the sparse library and encounter some problems.
I took the following steps:
1. I selected Static library as application type in the Win32 console application.
2. In Source File folder, I add all the .cpp files under sparse-iter/{blas, control, src}.
3. Under project property page ---> C/C++ ---> Additional Include Directories, I add 5 directories:
-C:\magma\sparse-iter\include
-C:\magma\include
-C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v6.5\include
-C:\Program Files (x86)\Intel\Composer XE 2015\mkl\include
-C:\magma\control
4. I set the project properties page bascially the same as the magma project in the MAGMA solution.
5. I build the project and get the following error message:
For the error "Cannot open include file: 'sys/time.h': No such file or directory", I just commented out all
#include<sys/time.h> in those files.
However, I am not sure why I got 'Magma_ELLPACK' : undeclared identifier, 'magma_free_CPU': identifier not found.
I can see Magma_ELLPACK is decleared in magma_types.h which is included in the addition directories. I am not sure where 'magma_free_CPU' is decleared and how should I solve error "magma_z_mtransfer' : function does not take 4 arguments" and "second C linkage of overloaded function 'magma_zmlumerge' not allowed". Could you please help? Thank you!
I took the following steps:
1. I selected Static library as application type in the Win32 console application.
2. In Source File folder, I add all the .cpp files under sparse-iter/{blas, control, src}.
3. Under project property page ---> C/C++ ---> Additional Include Directories, I add 5 directories:
-C:\magma\sparse-iter\include
-C:\magma\include
-C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v6.5\include
-C:\Program Files (x86)\Intel\Composer XE 2015\mkl\include
-C:\magma\control
4. I set the project properties page bascially the same as the magma project in the MAGMA solution.
5. I build the project and get the following error message:
Code: Select all
Error 182 error C1083: Cannot open include file: 'sys/time.h': No such file or directory c:\magma\sparse-iter
\control\magma_zp2p.cpp 24 1 sparse_iter
Error 247 error C1083: Cannot open include file: 'sys/time.h': No such file or directory c:\magma\sparse-iter\src
\cfgmres.cpp 12 1 sparse_iter
Error 260 error C1083: Cannot open include file: 'sys/time.h': No such file or directory c:\magma\sparse-iter\src
\cpgmres.cpp 13 1 sparse_iter
Error 283 error C1083: Cannot open include file: 'sys/time.h': No such file or directory c:\magma\sparse-iter\src
\dfgmres.cpp 12 1 sparse_iter
Error 297 error C1083: Cannot open include file: 'sys/time.h': No such file or directory c:\magma\sparse-iter\src
\dpgmres.cpp 13 1 sparse_iter
Error 375 error C1083: Cannot open include file: 'sys/time.h': No such file or directory c:\magma\sparse-iter\src
\sfgmres.cpp 12 1 sparse_iter
Error 390 error C1083: Cannot open include file: 'sys/time.h': No such file or directory c:\magma\sparse-iter\src
\spgmres.cpp 13 1 sparse_iter
Error 413 error C1083: Cannot open include file: 'sys/time.h': No such file or directory c:\magma\sparse-iter\src
\zfgmres.cpp 12 1 sparse_iter
Error 437 error C1083: Cannot open include file: 'sys/time.h': No such file or directory c:\magma\sparse-iter\src
\zpgmres.cpp 13 1 sparse_iter
[color=#000000]Error 5 error C2065: 'Magma_ELLPACK' : undeclared identifier c:\magma\sparse-iter\blas\magma_clag2z.cpp
133 1 sparse_iter
Error 6 error C2065: 'Magma_ELLPACK' : undeclared identifier c:\magma\sparse-iter\blas\magma_zlag2c.cpp
129 1 sparse_iter
Error 370 error C2660: 'magma_z_mtransfer' : function does not take 4 arguments c:\magma\sparse-iter\src
\magma_zmlumerge.cpp 61 1 sparse_iter
Error 369 error C2733: second C linkage of overloaded function 'magma_zmlumerge' not allowed c:\magma\sparse-
iter\src\magma_zmlumerge.cpp 57 1 sparse_iter
Error 428 error C3861: 'magma_free_CPU': identifier not found c:\magma\sparse-iter\src\zilu.cpp 107 1
sparse_iter
Error 429 error C3861: 'magma_free_CPU': identifier not found c:\magma\sparse-iter\src\zilu.cpp 108 1
sparse_iter
Error 430 error C3861: 'magma_free_CPU': identifier not found c:\magma\sparse-iter\src\zilu.cpp 113 1
sparse_iter
Error 431 error C3861: 'magma_free_CPU': identifier not found c:\magma\sparse-iter\src\zilu.cpp 114 1
sparse_iter
Error 432 error C3861: 'magma_free_CPU': identifier not found c:\magma\sparse-iter\src\zilu.cpp 236 1
sparse_iter
Error 433 error C3861: 'magma_free_CPU': identifier not found c:\magma\sparse-iter\src\zilu.cpp 237 1
sparse_iter
Error 434 error C3861: 'magma_free_CPU': identifier not found c:\magma\sparse-iter\src\zilu.cpp 238 1
sparse_iter
For the error "Cannot open include file: 'sys/time.h': No such file or directory", I just commented out all
#include<sys/time.h> in those files.
However, I am not sure why I got 'Magma_ELLPACK' : undeclared identifier, 'magma_free_CPU': identifier not found.
I can see Magma_ELLPACK is decleared in magma_types.h which is included in the addition directories. I am not sure where 'magma_free_CPU' is decleared and how should I solve error "magma_z_mtransfer' : function does not take 4 arguments" and "second C linkage of overloaded function 'magma_zmlumerge' not allowed". Could you please help? Thank you!
Re: Running tests fail and visual studio configuration
mgates3 wrote:Which version of MAGMA are you using? Is it the latest?
1. testing_ssyevd and testing_trmm both work for me. If you have an old version of MAGMA, that could explain the issue. Otherwise, it will take some investigation of how your environment is different than ours to cause the issue.
2. cublas_diag_const is declared in include/magma_types.h, so you do not need to add interface_cuda to any include or other directories list. Again, this could be caused by an old version of MAGMA, or some difference in environment.
3. testing_auxiliary tests several different routines. One test is setting the number of threads. The behavior varies depending on whether MKL or OpenMP is used; this warns about some behavior that doesn't match the ideal, but should still produce correct results.
Another test is test_xerbla, which is the error reporting routine itself. That "error" output is normal and expected. Next time, it would be helpful to include the complete input and output, as shown below.
Code: Select all
mint magma-trunk/testing> ./testing_auxiliary ====================================================================== test_num_gpus $MAGMA_NUM_GPUS ngpu expect =================================== not set 1 1 $MAGMA_NUM_GPUS='' is an invalid number; using 1 GPU. 1 1 $MAGMA_NUM_GPUS='-1' is an invalid number; using 1 GPU. -1 1 1 $MAGMA_NUM_GPUS='2junk' is an invalid number; using 1 GPU. 2junk 1 1 $MAGMA_NUM_GPUS='0' is an invalid number; using 1 GPU. 0 1 1 1 1 1 $MAGMA_NUM_GPUS='2' exceeds MagmaMaxGPUs=8 or available GPUs=1; using 1 GPUs. 2 1 2 $MAGMA_NUM_GPUS='4' exceeds MagmaMaxGPUs=8 or available GPUs=1; using 1 GPUs. 4 1 4 $MAGMA_NUM_GPUS='8' exceeds MagmaMaxGPUs=8 or available GPUs=1; using 1 GPUs. 8 1 8 $MAGMA_NUM_GPUS='16' exceeds MagmaMaxGPUs=8 or available GPUs=1; using 1 GPUs. 16 1 16 $MAGMA_NUM_GPUS='1000' exceeds MagmaMaxGPUs=8 or available GPUs=1; using 1 GPUs. 1000 1 1 (maxgpu) ====================================================================== test_num_threads get; parallel_numthread= 8, lapack_numthread= 1 set( 4); parallel_numthread= 8, lapack_numthread= 1 (expect 4) WARNING: testing_auxiliary.cpp:124: assertion l_nthread == 4 failed set( 1); parallel_numthread= 8, lapack_numthread= 1 (expect 1) set( 8); parallel_numthread= 8, lapack_numthread= 1 (expect 8) WARNING: testing_auxiliary.cpp:140: assertion l_nthread == 8 failed set( 1); parallel_numthread= 8, lapack_numthread= 1 (expect 1) using ncores=8, omp_num_threads=4 $MAGMA_NUM_THREADS nthread expect =================================== not set 8 4 (omp_threads) WARNING: testing_auxiliary.cpp:172: assertion p_nthread == omp_threads failed $MAGMA_NUM_THREADS='' is an invalid number; using 1 thread. 1 1 $MAGMA_NUM_THREADS='-1' is an invalid number; using 1 thread. -1 1 1 $MAGMA_NUM_THREADS='2junk' is an invalid number; using 1 thread. 2junk 1 1 $MAGMA_NUM_THREADS='0' is an invalid number; using 1 thread. 0 1 1 1 1 1 2 2 2 4 4 4 8 8 8 16 8 16 1000 8 8 (ncores) Error in test_xerbla, function-specific error (info = 113) Error in test_xerbla, function-specific error (info = 112) Error in test_xerbla, function-specific error (info = 100) Error in test_xerbla, function-specific error (info = 3) Error in test_xerbla, function-specific error (info = 2) Error in test_xerbla, function-specific error (info = 1) No error, why is test_xerbla calling xerbla? (info = 0) On entry to test_xerbla, parameter 1 had an illegal value (info = -1) On entry to test_xerbla, parameter 2 had an illegal value (info = -2) On entry to test_xerbla, parameter 3 had an illegal value (info = -3) Error in test_xerbla, unknown error (info = -100) Error in test_xerbla, cannot allocate memory on CPU host (info = -112) Error in test_xerbla, cannot allocate memory on GPU device (info = -113) 3 tests failed. mint magma-trunk/testing>
I am using the latest version of MAGMA which is 1.6.1 on Windows8.1, 64bit. I would like to know what do you mean by environmont difference? Could you please be more specific?
I also tried to compile the example.c under magma/example directory and got a lot of error.
Code: Select all
Error 102 error C1003: error count exceeds 100; stopping compilation c:\magma\include\magmablas.h 369 1
magmaTest
Error 204 error C1003: error count exceeds 100; stopping compilation c:\magma\include\magmablas.h 369 1
magmaTest
Error 1 error C2054: expected '(' to follow 'inline' c:\magma\include\magma_types.h 613 1 magmaTest
Error 4 error C2054: expected '(' to follow 'inline' c:\magma\include\magma_types.h 614 1 magmaTest
Error 7 error C2054: expected '(' to follow 'inline' c:\magma\include\magma_types.h 615 1 magmaTest
Error 10 error C2054: expected '(' to follow 'inline' c:\magma\include\magma_types.h 616 1 magmaTest
Error 13 error C2054: expected '(' to follow 'inline' c:\magma\include\magma_types.h 617 1 magmaTest
Error 16 error C2054: expected '(' to follow 'inline' c:\magma\include\magma_types.h 618 1 magmaTest
Error 19 error C2054: expected '(' to follow 'inline' c:\magma\include\magma_types.h 619 1 magmaTest
Error 22 error C2054: expected '(' to follow 'inline' c:\magma\include\magma_types.h 620 1 magmaTest
Error 25 error C2054: expected '(' to follow 'inline' c:\magma\include\magma_types.h 621 1 magmaTest
Error 28 error C2054: expected '(' to follow 'inline' c:\magma\include\magma_types.h 622 1 magmaTest
Error 31 error C2054: expected '(' to follow 'inline' c:\magma\include\magma_types.h 623 1 magmaTest
Error 34 error C2054: expected '(' to follow 'inline' c:\magma\include\magma_types.h 624 1 magmaTest
Error 37 error C2054: expected '(' to follow 'inline' c:\magma\include\magma_types.h 625 1 magmaTest
Error 40 error C2054: expected '(' to follow 'inline' c:\magma\include\magma_types.h 626 1 magmaTest
Error 43 error C2054: expected '(' to follow 'inline' c:\magma\include\magma_types.h 627 1 magmaTest
Error 46 error C2054: expected '(' to follow 'inline' c:\magma\include\magma_types.h 628 1 magmaTest
Error 49 error C2054: expected '(' to follow 'inline' c:\magma\include\magmablas.h 192 1 magmaTest
Error 52 error C2054: expected '(' to follow 'inline' c:\magma\include\magmablas.h 199 1 magmaTest
Error 55 error C2054: expected '(' to follow 'inline' c:\magma\include\magmablas.h 206 1 magmaTest
Error 58 error C2054: expected '(' to follow 'inline' c:\magma\include\magmablas.h 213 1 magmaTest
Error 61 error C2054: expected '(' to follow 'inline' c:\magma\include\magmablas.h 221 1 magmaTest
Error 64 error C2054: expected '(' to follow 'inline' c:\magma\include\magmablas.h 229 1 magmaTest
Error 67 error C2054: expected '(' to follow 'inline' c:\magma\include\magmablas.h 259 1 magmaTest
Error 70 error C2054: expected '(' to follow 'inline' c:\magma\include\magmablas.h 266 1 magmaTest
Error 73 error C2054: expected '(' to follow 'inline' c:\magma\include\magmablas.h 273 1 magmaTest
Error 76 error C2054: expected '(' to follow 'inline' c:\magma\include\magmablas.h 280 1 magmaTest
Error 79 error C2054: expected '(' to follow 'inline' c:\magma\include\magmablas.h 288 1 magmaTest
Error 82 error C2054: expected '(' to follow 'inline' c:\magma\include\magmablas.h 296 1 magmaTest
Error 85 error C2054: expected '(' to follow 'inline' c:\magma\include\magmablas.h 326 1 magmaTest
Error 88 error C2054: expected '(' to follow 'inline' c:\magma\include\magmablas.h 333 1 magmaTest
Error 91 error C2054: expected '(' to follow 'inline' c:\magma\include\magmablas.h 340 1 magmaTest
Error 94 error C2054: expected '(' to follow 'inline' c:\magma\include\magmablas.h 347 1 magmaTest
Error 97 error C2054: expected '(' to follow 'inline' c:\magma\include\magmablas.h 355 1 magmaTest
Error 100 error C2054: expected '(' to follow 'inline' c:\magma\include\magmablas.h 363 1 magmaTest
Error 103 error C2054: expected '(' to follow 'inline' c:\magma\include\magma_types.h 613 1 magmaTest
Error 106 error C2054: expected '(' to follow 'inline' c:\magma\include\magma_types.h 614 1 magmaTest
Error 109 error C2054: expected '(' to follow 'inline' c:\magma\include\magma_types.h 615 1 magmaTest
Error 112 error C2054: expected '(' to follow 'inline' c:\magma\include\magma_types.h 616 1 magmaTest
Error 115 error C2054: expected '(' to follow 'inline' c:\magma\include\magma_types.h 617 1 magmaTest
Error 118 error C2054: expected '(' to follow 'inline' c:\magma\include\magma_types.h 618 1 magmaTest
Error 121 error C2054: expected '(' to follow 'inline' c:\magma\include\magma_types.h 619 1 magmaTest
Error 124 error C2054: expected '(' to follow 'inline' c:\magma\include\magma_types.h 620 1 magmaTest
Error 127 error C2054: expected '(' to follow 'inline' c:\magma\include\magma_types.h 621 1 magmaTest
Error 130 error C2054: expected '(' to follow 'inline' c:\magma\include\magma_types.h 622 1 magmaTest
Error 133 error C2054: expected '(' to follow 'inline' c:\magma\include\magma_types.h 623 1 magmaTest
Error 136 error C2054: expected '(' to follow 'inline' c:\magma\include\magma_types.h 624 1 magmaTest
Error 139 error C2054: expected '(' to follow 'inline' c:\magma\include\magma_types.h 625 1 magmaTest
Error 142 error C2054: expected '(' to follow 'inline' c:\magma\include\magma_types.h 626 1 magmaTest
Error 145 error C2054: expected '(' to follow 'inline' c:\magma\include\magma_types.h 627 1 magmaTest
Error 148 error C2054: expected '(' to follow 'inline' c:\magma\include\magma_types.h 628 1 magmaTest
Error 151 error C2054: expected '(' to follow 'inline' c:\magma\include\magmablas.h 192 1 magmaTest
Error 154 error C2054: expected '(' to follow 'inline' c:\magma\include\magmablas.h 199 1 magmaTest
Error 157 error C2054: expected '(' to follow 'inline' c:\magma\include\magmablas.h 206 1 magmaTest
Error 160 error C2054: expected '(' to follow 'inline' c:\magma\include\magmablas.h 213 1 magmaTest
Error 163 error C2054: expected '(' to follow 'inline' c:\magma\include\magmablas.h 221 1 magmaTest
Error 166 error C2054: expected '(' to follow 'inline' c:\magma\include\magmablas.h 229 1 magmaTest
Error 169 error C2054: expected '(' to follow 'inline' c:\magma\include\magmablas.h 259 1 magmaTest
Error 172 error C2054: expected '(' to follow 'inline' c:\magma\include\magmablas.h 266 1 magmaTest
Error 175 error C2054: expected '(' to follow 'inline' c:\magma\include\magmablas.h 273 1 magmaTest
Error 178 error C2054: expected '(' to follow 'inline' c:\magma\include\magmablas.h 280 1 magmaTest
Error 181 error C2054: expected '(' to follow 'inline' c:\magma\include\magmablas.h 288 1 magmaTest
Error 184 error C2054: expected '(' to follow 'inline' c:\magma\include\magmablas.h 296 1 magmaTest
Error 187 error C2054: expected '(' to follow 'inline' c:\magma\include\magmablas.h 326 1 magmaTest
Error 190 error C2054: expected '(' to follow 'inline' c:\magma\include\magmablas.h 333 1 magmaTest
Error 193 error C2054: expected '(' to follow 'inline' c:\magma\include\magmablas.h 340 1 magmaTest
Error 196 error C2054: expected '(' to follow 'inline' c:\magma\include\magmablas.h 347 1 magmaTest
Error 199 error C2054: expected '(' to follow 'inline' c:\magma\include\magmablas.h 355 1 magmaTest
Error 202 error C2054: expected '(' to follow 'inline' c:\magma\include\magmablas.h 363 1 magmaTest
Error 5 error C2085: 'lapacke_bool_const' : not in formal parameter list c:\magma\include\magma_types.h
614 1 magmaTest
Error 107 error C2085: 'lapacke_bool_const' : not in formal parameter list c:\magma\include\magma_types.h
614 1 magmaTest
Error 2 error C2085: 'lapacke_const' : not in formal parameter list c:\magma\include\magma_types.h 613 1
magmaTest
Error 104 error C2085: 'lapacke_const' : not in formal parameter list c:\magma\include\magma_types.h 613 1
magmaTest
Error 17 error C2085: 'lapacke_diag_const' : not in formal parameter list c:\magma\include\magma_types.h
618 1 magmaTest
Error 119 error C2085: 'lapacke_diag_const' : not in formal parameter list c:\magma\include\magma_types.h
618 1 magmaTest
Error 44 error C2085: 'lapacke_direct_const' : not in formal parameter list c:\magma\include\magma_types.h
627 1 magmaTest
Error 146 error C2085: 'lapacke_direct_const' : not in formal parameter list c:\magma\include\magma_types.h
627 1 magmaTest
Error 26 error C2085: 'lapacke_dist_const' : not in formal parameter list c:\magma\include\magma_types.h
621 1 magmaTest
Error 128 error C2085: 'lapacke_dist_const' : not in formal parameter list c:\magma\include\magma_types.h
621 1 magmaTest
Error 23 error C2085: 'lapacke_norm_const' : not in formal parameter list c:\magma\include\magma_types.h
620 1 magmaTest
Error 125 error C2085: 'lapacke_norm_const' : not in formal parameter list c:\magma\include\magma_types.h
620 1 magmaTest
Error 8 error C2085: 'lapacke_order_const' : not in formal parameter list c:\magma\include\magma_types.h
615 1 magmaTest
Error 110 error C2085: 'lapacke_order_const' : not in formal parameter list c:\magma\include\magma_types.h
615 1 magmaTest
Error 32 error C2085: 'lapacke_pack_const' : not in formal parameter list c:\magma\include\magma_types.h
623 1 magmaTest
Error 134 error C2085: 'lapacke_pack_const' : not in formal parameter list c:\magma\include\magma_types.h
623 1 magmaTest
Error 38 error C2085: 'lapacke_range_const' : not in formal parameter list c:\magma\include\magma_types.h
625 1 magmaTest
Error 140 error C2085: 'lapacke_range_const' : not in formal parameter list c:\magma\include\magma_types.h
625 1 magmaTest
Error 20 error C2085: 'lapacke_side_const' : not in formal parameter list c:\magma\include\magma_types.h
619 1 magmaTest
Error 122 error C2085: 'lapacke_side_const' : not in formal parameter list c:\magma\include\magma_types.h
619 1 magmaTest
Error 47 error C2085: 'lapacke_storev_const' : not in formal parameter list c:\magma\include\magma_types.h
628 1 magmaTest
Error 149 error C2085: 'lapacke_storev_const' : not in formal parameter list c:\magma\include\magma_types.h
628 1 magmaTest
Error 29 error C2085: 'lapacke_sym_const' : not in formal parameter list c:\magma\include\magma_types.h 622 1
magmaTest
Error 131 error C2085: 'lapacke_sym_const' : not in formal parameter list c:\magma\include\magma_types.h 622 1
magmaTest
Error 11 error C2085: 'lapacke_trans_const' : not in formal parameter list c:\magma\include\magma_types.h
616 1 magmaTest
Error 113 error C2085: 'lapacke_trans_const' : not in formal parameter list c:\magma\include\magma_types.h
616 1 magmaTest
Error 14 error C2085: 'lapacke_uplo_const' : not in formal parameter list c:\magma\include\magma_types.h
617 1 magmaTest
Error 116 error C2085: 'lapacke_uplo_const' : not in formal parameter list c:\magma\include\magma_types.h
617 1 magmaTest
Error 35 error C2085: 'lapacke_vec_const' : not in formal parameter list c:\magma\include\magma_types.h 624 1
magmaTest
Error 137 error C2085: 'lapacke_vec_const' : not in formal parameter list c:\magma\include\magma_types.h 624 1
magmaTest
Error 41 error C2085: 'lapacke_vect_const' : not in formal parameter list c:\magma\include\magma_types.h
626 1 magmaTest
Error 143 error C2085: 'lapacke_vect_const' : not in formal parameter list c:\magma\include\magma_types.h
626 1 magmaTest
Error 83 error C2085: 'magma_icopymatrix_async_internal' : not in formal parameter list c:\magma\include
\magmablas.h 302 1 magmaTest
Error 185 error C2085: 'magma_icopymatrix_async_internal' : not in formal parameter list c:\magma\include
\magmablas.h 302 1 magmaTest
Error 74 error C2085: 'magma_icopymatrix_internal' : not in formal parameter list c:\magma\include
\magmablas.h 278 1 magmaTest
Error 176 error C2085: 'magma_icopymatrix_internal' : not in formal parameter list c:\magma\include
\magmablas.h 278 1 magmaTest
Error 65 error C2085: 'magma_icopyvector_async_internal' : not in formal parameter list c:\magma\include
\magmablas.h 235 1 magmaTest
Error 167 error C2085: 'magma_icopyvector_async_internal' : not in formal parameter list c:\magma\include
\magmablas.h 235 1 magmaTest
Error 56 error C2085: 'magma_icopyvector_internal' : not in formal parameter list c:\magma\include
\magmablas.h 211 1 magmaTest
Error 158 error C2085: 'magma_icopyvector_internal' : not in formal parameter list c:\magma\include
\magmablas.h 211 1 magmaTest
Error 80 error C2085: 'magma_igetmatrix_async_internal' : not in formal parameter list c:\magma\include
\magmablas.h 294 1 magmaTest
Error 182 error C2085: 'magma_igetmatrix_async_internal' : not in formal parameter list c:\magma\include
\magmablas.h 294 1 magmaTest
Error 71 error C2085: 'magma_igetmatrix_internal' : not in formal parameter list c:\magma\include\magmablas.h
271 1 magmaTest
Error 173 error C2085: 'magma_igetmatrix_internal' : not in formal parameter list c:\magma\include\magmablas.h
271 1 magmaTest
Error 62 error C2085: 'magma_igetvector_async_internal' : not in formal parameter list c:\magma\include
\magmablas.h 227 1 magmaTest
Error 164 error C2085: 'magma_igetvector_async_internal' : not in formal parameter list c:\magma\include
\magmablas.h 227 1 magmaTest
Error 53 error C2085: 'magma_igetvector_internal' : not in formal parameter list c:\magma\include\magmablas.h
204 1 magmaTest
Error 155 error C2085: 'magma_igetvector_internal' : not in formal parameter list c:\magma\include\magmablas.h
204 1 magmaTest
Error 101 error C2085: 'magma_index_copyvector_async_internal' : not in formal parameter list c:\magma\include
\magmablas.h 369 1 magmaTest
Error 203 error C2085: 'magma_index_copyvector_async_internal' : not in formal parameter list c:\magma\include
\magmablas.h 369 1 magmaTest
Error 92 error C2085: 'magma_index_copyvector_internal' : not in formal parameter list c:\magma\include
\magmablas.h 345 1 magmaTest
Error 194 error C2085: 'magma_index_copyvector_internal' : not in formal parameter list c:\magma\include
\magmablas.h 345 1 magmaTest
Error 98 error C2085: 'magma_index_getvector_async_internal' : not in formal parameter list c:\magma\include
\magmablas.h 361 1 magmaTest
Error 200 error C2085: 'magma_index_getvector_async_internal' : not in formal parameter list c:\magma\include
\magmablas.h 361 1 magmaTest
Error 89 error C2085: 'magma_index_getvector_internal' : not in formal parameter list c:\magma\include
\magmablas.h 338 1 magmaTest
Error 191 error C2085: 'magma_index_getvector_internal' : not in formal parameter list c:\magma\include
\magmablas.h 338 1 magmaTest
Error 95 error C2085: 'magma_index_setvector_async_internal' : not in formal parameter list c:\magma\include
\magmablas.h 353 1 magmaTest
Error 197 error C2085: 'magma_index_setvector_async_internal' : not in formal parameter list c:\magma\include
\magmablas.h 353 1 magmaTest
Error 86 error C2085: 'magma_index_setvector_internal' : not in formal parameter list c:\magma\include
\magmablas.h 331 1 magmaTest
Error 188 error C2085: 'magma_index_setvector_internal' : not in formal parameter list c:\magma\include
\magmablas.h 331 1 magmaTest
Error 77 error C2085: 'magma_isetmatrix_async_internal' : not in formal parameter list c:\magma\include
\magmablas.h 286 1 magmaTest
Error 179 error C2085: 'magma_isetmatrix_async_internal' : not in formal parameter list c:\magma\include
\magmablas.h 286 1 magmaTest
Error 68 error C2085: 'magma_isetmatrix_internal' : not in formal parameter list c:\magma\include\magmablas.h
264 1 magmaTest
Error 170 error C2085: 'magma_isetmatrix_internal' : not in formal parameter list c:\magma\include\magmablas.h
264 1 magmaTest
Error 59 error C2085: 'magma_isetvector_async_internal' : not in formal parameter list c:\magma\include
\magmablas.h 219 1 magmaTest
Error 161 error C2085: 'magma_isetvector_async_internal' : not in formal parameter list c:\magma\include
\magmablas.h 219 1 magmaTest
Error 50 error C2085: 'magma_isetvector_internal' : not in formal parameter list c:\magma\include\magmablas.h
197 1 magmaTest
Error 152 error C2085: 'magma_isetvector_internal' : not in formal parameter list c:\magma\include\magmablas.h
197 1 magmaTest
Error 3 error C2143: syntax error : missing ';' before '{' c:\magma\include\magma_types.h 613 1
magmaTest
Error 6 error C2143: syntax error : missing ';' before '{' c:\magma\include\magma_types.h 614 1
magmaTest
Error 9 error C2143: syntax error : missing ';' before '{' c:\magma\include\magma_types.h 615 1
magmaTest
Error 12 error C2143: syntax error : missing ';' before '{' c:\magma\include\magma_types.h 616 1
magmaTest
Error 15 error C2143: syntax error : missing ';' before '{' c:\magma\include\magma_types.h 617 1
magmaTest
Error 18 error C2143: syntax error : missing ';' before '{' c:\magma\include\magma_types.h 618 1
magmaTest
Error 21 error C2143: syntax error : missing ';' before '{' c:\magma\include\magma_types.h 619 1
magmaTest
Error 24 error C2143: syntax error : missing ';' before '{' c:\magma\include\magma_types.h 620 1
magmaTest
Error 27 error C2143: syntax error : missing ';' before '{' c:\magma\include\magma_types.h 621 1
magmaTest
Error 30 error C2143: syntax error : missing ';' before '{' c:\magma\include\magma_types.h 622 1
magmaTest
Error 33 error C2143: syntax error : missing ';' before '{' c:\magma\include\magma_types.h 623 1
magmaTest
Error 36 error C2143: syntax error : missing ';' before '{' c:\magma\include\magma_types.h 624 1
magmaTest
Error 39 error C2143: syntax error : missing ';' before '{' c:\magma\include\magma_types.h 625 1
magmaTest
Error 42 error C2143: syntax error : missing ';' before '{' c:\magma\include\magma_types.h 626 1
magmaTest
Error 45 error C2143: syntax error : missing ';' before '{' c:\magma\include\magma_types.h 627 1
magmaTest
Error 48 error C2143: syntax error : missing ';' before '{' c:\magma\include\magma_types.h 628 1
magmaTest
Error 51 error C2143: syntax error : missing ';' before '{' c:\magma\include\magmablas.h 197 1
magmaTest
Error 54 error C2143: syntax error : missing ';' before '{' c:\magma\include\magmablas.h 204 1
magmaTest
Error 57 error C2143: syntax error : missing ';' before '{' c:\magma\include\magmablas.h 211 1
magmaTest
Error 60 error C2143: syntax error : missing ';' before '{' c:\magma\include\magmablas.h 219 1
magmaTest
Error 63 error C2143: syntax error : missing ';' before '{' c:\magma\include\magmablas.h 227 1
magmaTest
Error 66 error C2143: syntax error : missing ';' before '{' c:\magma\include\magmablas.h 235 1
magmaTest
Error 69 error C2143: syntax error : missing ';' before '{' c:\magma\include\magmablas.h 264 1
magmaTest
Error 72 error C2143: syntax error : missing ';' before '{' c:\magma\include\magmablas.h 271 1
magmaTest
Error 75 error C2143: syntax error : missing ';' before '{' c:\magma\include\magmablas.h 278 1
magmaTest
Error 78 error C2143: syntax error : missing ';' before '{' c:\magma\include\magmablas.h 286 1
magmaTest
Error 81 error C2143: syntax error : missing ';' before '{' c:\magma\include\magmablas.h 294 1
magmaTest
Error 84 error C2143: syntax error : missing ';' before '{' c:\magma\include\magmablas.h 302 1
magmaTest
Error 87 error C2143: syntax error : missing ';' before '{' c:\magma\include\magmablas.h 331 1
magmaTest
Error 90 error C2143: syntax error : missing ';' before '{' c:\magma\include\magmablas.h 338 1
magmaTest
Error 93 error C2143: syntax error : missing ';' before '{' c:\magma\include\magmablas.h 345 1
magmaTest
Error 96 error C2143: syntax error : missing ';' before '{' c:\magma\include\magmablas.h 353 1
magmaTest
Error 99 error C2143: syntax error : missing ';' before '{' c:\magma\include\magmablas.h 361 1
magmaTest
Error 105 error C2143: syntax error : missing ';' before '{' c:\magma\include\magma_types.h 613 1
magmaTest
Error 108 error C2143: syntax error : missing ';' before '{' c:\magma\include\magma_types.h 614 1
magmaTest
Error 111 error C2143: syntax error : missing ';' before '{' c:\magma\include\magma_types.h 615 1
magmaTest
Error 114 error C2143: syntax error : missing ';' before '{' c:\magma\include\magma_types.h 616 1
magmaTest
Error 117 error C2143: syntax error : missing ';' before '{' c:\magma\include\magma_types.h 617 1
magmaTest
Error 120 error C2143: syntax error : missing ';' before '{' c:\magma\include\magma_types.h 618 1
magmaTest
Error 123 error C2143: syntax error : missing ';' before '{' c:\magma\include\magma_types.h 619 1
magmaTest
Error 126 error C2143: syntax error : missing ';' before '{' c:\magma\include\magma_types.h 620 1
magmaTest
Error 129 error C2143: syntax error : missing ';' before '{' c:\magma\include\magma_types.h 621 1
magmaTest
Error 132 error C2143: syntax error : missing ';' before '{' c:\magma\include\magma_types.h 622 1
magmaTest
Error 135 error C2143: syntax error : missing ';' before '{' c:\magma\include\magma_types.h 623 1
magmaTest
Error 138 error C2143: syntax error : missing ';' before '{' c:\magma\include\magma_types.h 624 1
magmaTest
Error 141 error C2143: syntax error : missing ';' before '{' c:\magma\include\magma_types.h 625 1
magmaTest
Error 144 error C2143: syntax error : missing ';' before '{' c:\magma\include\magma_types.h 626 1
magmaTest
Error 147 error C2143: syntax error : missing ';' before '{' c:\magma\include\magma_types.h 627 1
magmaTest
Error 150 error C2143: syntax error : missing ';' before '{' c:\magma\include\magma_types.h 628 1
magmaTest
Error 153 error C2143: syntax error : missing ';' before '{' c:\magma\include\magmablas.h 197 1
magmaTest
Error 156 error C2143: syntax error : missing ';' before '{' c:\magma\include\magmablas.h 204 1
magmaTest
Error 159 error C2143: syntax error : missing ';' before '{' c:\magma\include\magmablas.h 211 1
magmaTest
Error 162 error C2143: syntax error : missing ';' before '{' c:\magma\include\magmablas.h 219 1
magmaTest
Error 165 error C2143: syntax error : missing ';' before '{' c:\magma\include\magmablas.h 227 1
magmaTest
Error 168 error C2143: syntax error : missing ';' before '{' c:\magma\include\magmablas.h 235 1
magmaTest
Error 171 error C2143: syntax error : missing ';' before '{' c:\magma\include\magmablas.h 264 1
magmaTest
Error 174 error C2143: syntax error : missing ';' before '{' c:\magma\include\magmablas.h 271 1
magmaTest
Error 177 error C2143: syntax error : missing ';' before '{' c:\magma\include\magmablas.h 278 1
magmaTest
Error 180 error C2143: syntax error : missing ';' before '{' c:\magma\include\magmablas.h 286 1
magmaTest
Error 183 error C2143: syntax error : missing ';' before '{' c:\magma\include\magmablas.h 294 1
magmaTest
Error 186 error C2143: syntax error : missing ';' before '{' c:\magma\include\magmablas.h 302 1
magmaTest
Error 189 error C2143: syntax error : missing ';' before '{' c:\magma\include\magmablas.h 331 1
magmaTest
Error 192 error C2143: syntax error : missing ';' before '{' c:\magma\include\magmablas.h 338 1
magmaTest
Error 195 error C2143: syntax error : missing ';' before '{' c:\magma\include\magmablas.h 345 1
magmaTest
Error 198 error C2143: syntax error : missing ';' before '{' c:\magma\include\magmablas.h 353 1
magmaTest
Error 201 error C2143: syntax error : missing ';' before '{' c:\magma\include\magmablas.h 361 1
magmaTestI didn't see any missing ';' in either magmablas.h or magma_types.h. It seems like a lot of compile errors occurs in file magma_types.h when running examples or tests.
Re: Running tests fail and visual studio configuration
For example.c, can you please explain how you compiled it? E.g., if you have a Makefile or a CMakeLists.txt, please give that. If you made a VS project file from scratch, please describe how you made it. Did you define anything such as ADD_, as described in example/README.txt? What compiler are you using?
For compiling the sparse library, if a file doesn't exist in that directory's Makefiles (e.g., sparse-iter/blas/Makefile and sparse-iter/blas/Makefile.src), you should omit it. I assumed all the existing .cpp files would be in the Makefile, but apparently some are not. Our solution would be to use CMake to compile the sparse library.
-mark
For compiling the sparse library, if a file doesn't exist in that directory's Makefiles (e.g., sparse-iter/blas/Makefile and sparse-iter/blas/Makefile.src), you should omit it. I assumed all the existing .cpp files would be in the Makefile, but apparently some are not. Our solution would be to use CMake to compile the sparse library.
-mark
Re: Running tests fail and visual studio configuration
After changing the example.c and zfill.c code to .cpp files and it can be compiled successfully.
However, I still get errors when compiling the testing_ctrmm.cpp like I addressed in the previous post. Those errors like you said are caused by my environment is different from yours. Could you please specify your environment settings? Thank you!
However, I still get errors when compiling the testing_ctrmm.cpp like I addressed in the previous post. Those errors like you said are caused by my environment is different from yours. Could you please specify your environment settings? Thank you!
Last edited by dannnnn on Thu Mar 12, 2015 10:57 am, edited 1 time in total.
Re: Running tests fail and visual studio configuration
What I mean by environment differences is
- build mechanism
- operating system
- compiler
- version of CUDA
- BLAS & LAPACK library
and so on. Most of our testing is done in this environment:
- Makefile
- Linux
- gcc or Intel icc
- CUDA 6.5
- Intel MKL
Your CMake, Windows, Visual Studio environment is vastly different, and those differences can cause issues that are hard to track down. I can't debug all those differences immediately. It will take some time to compile and test on Windows. Even then, your version of CMake, Windows, Visual Studio, CUDA, BLAS, and LAPACK may still be different than ours.
For instance, the <sys/time.h> header is a difference between Unix (Linux) and Windows.
As a start, can you list exactly what versions of all the above tools & libraries you are using?
-mark
- build mechanism
- operating system
- compiler
- version of CUDA
- BLAS & LAPACK library
and so on. Most of our testing is done in this environment:
- Makefile
- Linux
- gcc or Intel icc
- CUDA 6.5
- Intel MKL
Your CMake, Windows, Visual Studio environment is vastly different, and those differences can cause issues that are hard to track down. I can't debug all those differences immediately. It will take some time to compile and test on Windows. Even then, your version of CMake, Windows, Visual Studio, CUDA, BLAS, and LAPACK may still be different than ours.
For instance, the <sys/time.h> header is a difference between Unix (Linux) and Windows.
As a start, can you list exactly what versions of all the above tools & libraries you are using?
-mark
Re: Running tests fail and visual studio configuration
For building the sparse-iter module, I got error:
I noticed there is only magma_free_cpu defined in the magma.h file, but not magma_free_CPU. I would like to know whether it is a typo?
I saw you have Magma_ELLPACKT defined in magma_types.h in for the sparse, but not Magma_ELLPACK. I would like to know whether it is a typo?
I saw the function definition of magma_z_mtransfer takes 5 parameters, but it is called only with 4 arguments in C:\magma\sparse-iter\src\magma_zmlumerge.cpp. I would like to know whether the code miss anything?
I saw the function definition of magma_zcheckerr takes 2 parameters, but it is called only with 1 arguments in C:\magma\sparse-iter\control. I would like to know whether the code miss anything?
Thank you very much!
Code: Select all
Error 430 error C3861: 'magma_free_CPU': identifier not found c:\magma\sparse-iter\src\zilu.cppCode: Select all
error C2065: 'Magma_ELLPACK' : undeclared identifier c:\magma\sparse-iter\blas\magma_clag2z.cpp 133 1 sparse_iterCode: Select all
Error 379 error C2660: 'magma_z_mtransfer' : function does not take 4 arguments C:\magma\sparse-iter\src\magma_zmlumerge.cpp 61 1 sparse_iterCode: Select all
Error 213 error C2660: 'magma_zcheckerr' : function does not take 1 arguments C:\magma\sparse-iter\control\magma_zp2p.cpp 169 1 sparse_iterThank you very much!
Last edited by dannnnn on Thu Mar 12, 2015 9:52 am, edited 1 time in total.
-
hartwig anzt
- Posts: 90
- Joined: Tue Sep 02, 2014 5:44 pm
Re: Running tests fail and visual studio configuration
All these are old routines, that should be no longer included in the package. You should just delete them, then you should be fine.
Thanks, Hartwig
Thanks, Hartwig