[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to build ATLAS libraries with mingw gfortran on cygwin
From: |
Tatsuro MATSUOKA |
Subject: |
Re: How to build ATLAS libraries with mingw gfortran on cygwin |
Date: |
Mon, 15 Jun 2009 09:45:22 +0900 (JST) |
Hello
I have completely mislead the problem.
The main origin is not ATLAS but strange behavior due to conftest linking with
hd5f in checking LSAME
and its friends. I have currently solved this dirty hack of configure script.
I appreciated your suggestions and time your time for this matter.
Regards
Tatsuro
--- Tatsuro MATSUOKA wrote:
> Hello Benjamin
>
> Thank you for your comments.
>
> --- Benjamin Lindner wrote:
>
> > Tatsuro MATSUOKA wrote:
> > > Hello Benjamin
> > >
> > > This is essentially the ATLAS issue but you have already solved this
> > > problem.
> > >
> > > I have been so far used the ATLAS libraries built using the cygwin GCC-4
> > > and used the
> > libf77blas.a and
> > > libatlas.a. This might be illegal because the cygwin complier is not
> > > compatible to Mingw
> one.
> > > However no problem has been occurred in octave 3.0.x.
> >
> > I wouldn't term it illegal and I think that the cygwin compiler is
> > indeed compatible here, since you create a static library i.e. only
> > object code. So you have to just make sure to use the same gcc version,
> > since sytem libraries may be incompatible across different versions.
> > >
> > > I have tried the same procedure on the octave 3.2.0, configure script
> > > reject to use the
> > libf77blas.a
> > > and libatlas.a generated by cygwin GCC-4.
> > >
> >
> > Does it?
> > I seem to have no problems here.
> > What is the error message?
> *******
> configure: WARNING: A BLAS library was detected but found incompatible with
> your Fortran 77
> compiler.
> The reference BLAS implementation will be used. To improve performance,
> consider using a
> different
> Fortran compiler or a switch like -ff2c to make your Fortran compiler use a
> calling convention
> compatible with the way your BLAS library was compiled, or use a different
> BLAS library.
> ********
> > Here is what I did.
> > I built myself a native cygwin gcc of version 4.3.0 and used it to build
> > atlas.
> > The creation of the shared libraries I do with the native mingw gcc.
> > Building a cygwin gcc is straightforward,
> > 1) download gcc-core-4.3.0.tar.bz2 and gcc-fortran-4.3.0.tar.bz2
> > 2) configure and set a useful prefix to have a seprarate installation
> > tree, and configure for gcc and gfortran only (that's all you need for
> > atlas)
> > 3) make && make install
> >
> > Have a look at the attached quick-and-dirty script I used
> >
> > This worked for me so far.
> > What's not considered here yet is a multi-threaded build.
>
> I have already built gcc-4.3.3 (cygwin native) on cygwin and used it for the
> ATLAS building.
> (I am now using GCC-4.3.3-dw2-TDM mingw for octave build.)
>
> I did not carry out dll version of ATLAS. Hopefully it will go well.
>
> Thanks!
>
> Tatsuro
>
>
> --------------------------------------
> Power up the Internet with Yahoo! Toolbar.
> http://pr.mail.yahoo.co.jp/toolbar/
>
--------------------------------------
Power up the Internet with Yahoo! Toolbar.
http://pr.mail.yahoo.co.jp/toolbar/