Some problem in Installing

Open discussion for MAGMA library (Matrix Algebra on GPU and Multicore Architectures)

Some problem in Installing

Postby Season » Wed Apr 20, 2016 2:11 am

I have install CMake. We used version 2.8.11.2, available from http://www.cmake.org/files/v2.8/ .
I used "Visual Studio 11 Win64" and because I don't have the Fortran ,so we Set the USE_FORTRAN to off.
I don't know whether this will affect the program ,if I set the USE_FORTRAN to off.
Image

I have add the picture of the Configure the screenshot about Cmake.
I don't know whether it is right about my Configure.
After configured, I open the magma.sln by using VS2012, and then get the magma.lib both in debug and release.But when I run the other test, most of them generate errorsr.
Can anyone give me advice? Thanks for a lot.
Last edited by Season on Sat Apr 23, 2016 4:11 am, edited 1 time in total.
Season
 
Posts: 3
Joined: Wed Apr 20, 2016 1:35 am

Re: Some problem in Installing

Postby mgates3 » Fri Apr 22, 2016 11:24 am

Without Fortran, MAGMA will work, but some of the error checks in the MAGMA testers will not work. Can you show specific output from the testers? Otherwise, there's no way to diagnose the problem.
-mark
mgates3
 
Posts: 738
Joined: Fri Jan 06, 2012 2:13 pm

Re: Some problem in Installing

Postby Season » Sat Apr 23, 2016 4:08 am

Thank you for your reply.

I have add the folder magma/include" , magma/testing, magma/testing , magma/ control,and , magma/interface_cuda to my Include Directories .But when I build the testing_sposv_gpu, I get linking error shown below:
    1>magma.lib(spotrf_batched.obj) : error LNK2001: unresolved external symbol magma_sset_pointer
    1>magma.lib(spotrs_batched.obj) : error LNK2001: unresolved external symbol magma_sset_pointer
    1>magma.lib(strsm_batched.obj) : error LNK2001: unresolved external symbol magma_sset_pointer
    1>testing_sposv_batched.obj : error LNK2019: unresolved external symbol sgemm_,referenced in function main
    1>testing_sposv_batched.obj : error LNK2019: unresolved external symbol slange_,referenced in function main
    1>testing_sposv_batched.obj : error LNK2019: unresolved external symbol slarnv_,referenced in function main
    1>testing_sposv_batched.obj : error LNK2019: unresolved external symbol sposv_,referenced in function main$omp$1
    1>testing_sposv_batched.obj : error LNK2019: unresolved external symbol slamch_,referenced in function main
    1>testing.lib(magma_sutil.obj) : error LNK2019: unresolved external symbol slansy_,referenced in function safe_lapackf77_slansy
    1>magma.lib(spotrf_batched.obj) : error LNK2019: unresolved external symbol magmablas_slaset_q,referenced in function magma_spotrf_lg_batched
    1>magma.lib(spotrs_batched.obj) : error LNK2001: unresolved external symbol magmablas_slaset_q
    1>magma.lib(strsm_batched.obj) : error LNK2001: unresolved external symbol magmablas_slaset_q
    1>magma.lib(spotrf_batched.obj) : error LNK2019: unresolved external symbol magma_sdisplace_pointers,referenced in function magma_spotrf_lg_batched
    1>magma.lib(spotrf_panel_batched.obj) : error LNK2001: unresolved external symbol magma_sdisplace_pointers
    1>magma.lib(strsm_batched.obj) : error LNK2001: unresolved external symbol magma_sdisplace_pointers
    1>magma.lib(spotf2_batched.obj) : error LNK2001: unresolved external symbol magma_sdisplace_pointers
    1>magma.lib(spotrf_batched.obj) : error LNK2019: unresolved external symbol magmablas_ssyrk_batched,referenced in function magma_spotrf_lg_batched
    1>magma.lib(spotrf_batched.obj) : error LNK2019: unresolved external symbol magma_spotrf_lpout_batched,referenced in function magma_spotrf_batched
    1>magma.lib(spotf2_batched.obj) : error LNK2001: unresolved external symbol magma_spotrf_lpout_batched
    1>magma.lib(spotrs_batched.obj) : error LNK2019: unresolved external symbol magmablas_strsv_outofplace_batched,referenced in function magma_spotrs_batched
    1>magma.lib(strsm_batched.obj) : error LNK2019: unresolved external symbol magmablas_strtri_diag_batched,referenced in function magmablas_strsm_outofplace_batched
    1>magma.lib(strsm_batched.obj) : error LNK2019: unresolved external symbol magmablas_slacpy_batched,referenced in function magmablas_strsm_work_batched
    1>magma.lib(sgemm_batched.obj) : error LNK2019: unresolved external symbol magmablas_sgemm_batched,referenced in function magma_sgemm_batched
    1>magma.lib(spotf2_batched.obj) : error LNK2019: unresolved external symbol magma_spotf2_tile_batched,referenced in function magma_spotf2_batched
    1>magma.lib(spotf2_batched.obj) : error LNK2019: unresolved external symbol magma_spotf2_sscal_batched,referenced in function magma_spotf2_strsm_batched
    1>magma.lib(spotf2_batched.obj) : error LNK2019: unresolved external symbol magma_spotf2_sdot_batched,referenced in function magma_spotf2_strsm_batched
    1>magma.lib(spotf2_batched.obj) : error LNK2019: unresolved external symbol magmablas_sgemv_batched,referenced in function magma_spotf2_strsm_batched

So what should I do ? Can you tell me how many folders should add to the Library Directories and Include Directories ?
And Before installing the MAGMA whether must have Lapack Library ?
Season
 
Posts: 3
Joined: Wed Apr 20, 2016 1:35 am

Re: Some problem in Installing

Postby Season » Wed Apr 27, 2016 8:56 pm

Before installing the MAGMA whether must have Lapack Library ?
Season
 
Posts: 3
Joined: Wed Apr 20, 2016 1:35 am

Re: Some problem in Installing

Postby mgates3 » Thu Apr 28, 2016 10:22 am

Yes, LAPACK and BLAS are prerequisites. We've used Intel MKL, AMD ACML, and OpenBLAS, all of which package both LAPACK and optimized BLAS routines. There's also ATLAS for BLAS, which requires obtaining LAPACK separately.
-mark
mgates3
 
Posts: 738
Joined: Fri Jan 06, 2012 2:13 pm


Return to User discussion

Who is online

Users browsing this forum: No registered users and 3 guests

cron