[Trilinos-Users] [EXTERNAL] trilinos in MSVC

Mohammad R. Hashemi mrh1390 at gmail.com
Thu May 16 09:53:07 MDT 2013


Hi Brent,

I generated VS solution in clapack/bin via CMade-GUI and just opened
the solution, let it built (release_x64). Then copied the .lib
(blas.lib and lapack.lib) to the root and have BLAS_LIBRARY_DIRS and
LAPACK_LIBRARY_DIRS point to the root.

What is the best way to have clapack installed in windows?

Mohammad

On 5/16/13, Perschbacher, Brent M <bmpersc at sandia.gov> wrote:
> Mohommad,
>  Can you tell me what you set BLAS_LIBRARY_DIRS and LAPACK_LIBRARY_DIRS to
> exactly? On windows we actually search for clapack specifically and in a
> different way than we search for most TPLs that makes most of the variables
> that are intended to help our configure find a TPL not useful. The best way
> to allow the Trilinos configure to find clapack is generally to set
> CLAPACK_DIR to where you have installed clapack. That should allow the
> configure to correctly find your blas and lapack.
>
> Brent
>
> From: "Mohammad R. Hashemi" <mrh1390 at gmail.com<mailto:mrh1390 at gmail.com>>
> Date: Thursday, May 16, 2013 2:57 AM
> To:
> "trilinos-users at software.sandia.gov<mailto:trilinos-users at software.sandia.gov>"
> <trilinos-users at software.sandia.gov<mailto:trilinos-users at software.sandia.gov>>
> Subject: [EXTERNAL] [Trilinos-Users] trilinos in MSVC
>
> Dear Trilinos developers,
>
> Using the VC++ 11.0 (2012) x64 compiler, I successfully
> installed/built CMake/CLAPACK. Then introduced the ".lib" blas and
> lapack files to trilinos cmake config via "BLAS_LIBRARY_DIRS" and
> "LAPACK_LIBRARY_DIRS" keywords.
>
> The next step was in visual studio, where the build process succeeded
> for 47 and failed for 43 projects. Noted that I only activate the
> belos package.
>
> As far as I read the errors they are related to BLAS/LAPACK (eg.
> Epetra_BLAS.obj).
>
> I'd appreciate if you could help me.
>
> Regards,
> Mohammad R. Hashemi
>


More information about the Trilinos-Users mailing list