ERROS in compiling LAPACK in Visual studio

Post here if you have a question about the installation process

ERROS in compiling LAPACK in Visual studio

Postby helios21 » Tue Sep 24, 2013 3:44 am

Hello,

I am trying to compile LAPACK under windows 7 pro x64. I am following these instructions: http://icl.cs.utk.edu/lapack-for-windows/lapack/index.html#build

First, I tried with Microsoft Visual Studio 2005 and Intel Fortran 9.1.
Unfortunately, when I tried to build the "ALL_BUILD" project I got the following errors:
Error 1 error LNK2019: unresolved external symbol _LSAME referenced in function _ZTRMM G:\My_staff\Programming\LAPACK\lapack-3.4.2\BLAS\SRC\ztrmm.f 1
Error 2 error LNK2019: unresolved external symbol _XERBLA referenced in function _ZTRMM G:\My_staff\Programming\LAPACK\lapack-3.4.2\BLAS\SRC\ztrmm.f 1
Error 3 error LNK2019: unresolved external symbol _MAIN__ referenced in function _main G:\My_staff\Programming\LAPACK\lapack-3.4.2\BLAS\SRC\ztrmm.f 1

end other errors like that.


Then I tried with Microsoft Visual Studio 2008 and Intel Fortran 11.0. Here I the BLAS library builded successfully. The LAPACK subroutines also compiled successfully but unfortunately there was an error at the linking process:
Error 1 error #10037: could not find 'lib' (in file xilib)
Error 2 error spawn_errno_default: spawn('C:\PROGRA~2\Intel\Compiler\11.0\061\fortran\bin\ia32\xilink.exe') failed, errno=0 (in file Lib)

I've tried everything that I found on the web for these linking errors, but unfortunately no solution was proper for me.

Can anyone help me please?

Thanks in advanced,
Ilias
helios21
 
Posts: 2
Joined: Mon Sep 23, 2013 7:51 am

Re: ERROS in compiling LAPACK in Visual studio

Postby sunmooner » Thu Feb 13, 2014 10:00 pm

I met the same error when linking LAPACK 3.1, and the problem only appears in win32 release mode.
My Enviroment is:
windows 7 64 bit
Visual Stuido 2008 sp1
Intel Fortran 11.061

The error message is:
error #10037: could not find 'lib' xilib
error spawn_errno_default: spawn('C:\PROGRA~2\Intel\Compiler\11.0\061\fortran\bin\ia32\xilink.exe') failed, errno=0 Lib

Can anyone give me some hints? Thanks.
sunmooner
 
Posts: 1
Joined: Thu Feb 13, 2014 9:53 pm


Return to Installation

Who is online

Users browsing this forum: No registered users and 1 guest