[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Atlas and Windows



Hello,

I tried again to use Atlas under Win32. I need some Lapack routines
and they again need of course BLAS. So I downloaded
atlas321_WinNT_PII.zip from netlib, unpacked it and renamed the
library files:

    libatlas.a    -->  atlas.lib
    libcblas.a    -->  cblas.lib
    libf77blas.a  -->  f77blas.lib
    liblapack.a   -->  lapack.lib

then I unpacked lapack-pc.zip also from netlib. I changed make.inc to


HOME = c:\hoel\install_progs\lapack-pc
PLAT = _win32_cref
FORTRAN  = df
OPTS     = -optimize:2 -iface:cref  -I"c:/Programme/Microsoft Visual Studio/DF98/INCLUDE" /nologo
DRVOPTS  = $(OPTS)
NOOPT    = -optimize:0 -iface:cref /nologo
LOADER   = link
LOADOPTS = /libpath:"c:\hoel\WinNT_PII"  /libpath:"c:\Programme\Microsoft Visual Studio\DF98\LIB"
ARCH     = lib
ARCHFLAGS= -out:
RANLIB   = echo
BLASLIB     = f77blas.lib atlas.lib
LAPACKLIB    = lapack$(PLAT).lib
TMGLIB       = tmglib$(PLAT).lib
EIGSRCLIB    = eigsrc$(PLAT).lib
LINSRCLIB    = linsrc$(PLAT).lib


and ran

 nmake

. This worked after some minor changes in the
makefiles. But when I tried

 nmake testing

I got
---- snip ----
Microsoft (R) Incremental Linker Version 6.00.8168
Copyright (C) Microsoft Corp 1992-1998. All rights reserved.

libf77blas.a(

¦) : warning LNK4078: multiple ".text" sections found with different attributes
(E0000020)
NEP: Testing Nonsymmetric Eigenvalue Problem routines
        cd c:\hoel\install_progs\lapack-pc\testing
        xeigtsts.exe < nep.in > snep.out 2>&1
NMAKE : fatal error U1077: 'xeigtsts.exe' : return code '0xc000009d'
Stop.
NMAKE : fatal error U1077: '"C:\Programme\Microsoft Visual Studio\VC98\BIN\NMAKE.EXE"' : return code '0x2'
Stop.
---- snip ----

and snep.out reads:

---- snip ----
 Tests of the Nonsymmetric Eigenvalue Problem routines

 LAPACK VERSION 3.0, released June 30, 1999 

 The following parameter values will be used:
    M:         0     1     2     3     5    10    16
    N:         0     1     2     3     5    10    16
    NB:        1     3     3     3    20
    NBMIN:     2     2     2     2     2
    NX:        1     0     5     9     1
    NS:        2     4     2     4     6
    MAXB:     20    20     6    10    10
 
 Relative machine underflow is taken to be    0.117549E-37
 Relative machine overflow  is taken to be    0.340282E+39
 Relative machine precision is taken to be    0.596046E-07

 Routines pass computational tests if test ratio is less than   20.00

 
 SHS routines passed the tests of the error exits ( 66 tests done)


 NEP:  NB =   1, NBMIN =   2, NX =   1, NS =   2, MAXB =  20
forrtl: severe (157): Program Exception - access violation
Image              PC        Routine            Line        Source             
xeigtsts.exe       0047DDCF  Unknown               Unknown  Unknown
xeigtsts.exe       004695DA  Unknown               Unknown  Unknown
xeigtsts.exe       00411C65  Unknown               Unknown  Unknown
xeigtsts.exe       004043A3  Unknown               Unknown  Unknown
xeigtsts.exe       00534029  Unknown               Unknown  Unknown
xeigtsts.exe       0052FBB4  Unknown               Unknown  Unknown
KERNEL32.dll       77F1B9EA  Unknown               Unknown  Unknown
---- snip ----

Tests do work when I use the reference BLAS. Is there anyone on this
list who successfully uses ATLAS/Lapack under WinNT? What other
compiler switches do I need to make this combination work.

Thanks

Berthold
-- 
       email: hoel@GermanLloyd.org
   )   tel. : +49 (40) 3 61 49 - 73 74
  (
C[_]  These opinions might be mine, but never those of my employer.