Re: autoconf, Fortran, LAPACK, and AC_SEARCH_LIBS

2009-03-25 Thread David A. Ventimiglia
Thanks! I will consider contributing fixes...if I manage to create fixes. Cheers, David On Tue, 2009-03-24 at 21:06 -0400, John W. Eaton wrote: > On 24-Mar-2009, David A. Ventimiglia wrote: > > | I think I solved one of my problems. Evidently, there's an Autoconf > | macro AC_LANG. By adding A

Re: autoconf, Fortran, LAPACK, and AC_SEARCH_LIBS

2009-03-24 Thread John W. Eaton
On 24-Mar-2009, David A. Ventimiglia wrote: | I think I solved one of my problems. Evidently, there's an Autoconf | macro AC_LANG. By adding AC_LANG(Fortran) to my configure.ac file, it | ensures that test programs are written in Fortran rather than in C, and | that seems sufficient to find sget

Re: autoconf, Fortran, LAPACK, and AC_SEARCH_LIBS

2009-03-24 Thread David A. Ventimiglia
Hello, I think I solved one of my problems. Evidently, there's an Autoconf macro AC_LANG. By adding AC_LANG(Fortran) to my configure.ac file, it ensures that test programs are written in Fortran rather than in C, and that seems sufficient to find sgetrf in liblapack. Now, onto the next issue!

autoconf, Fortran, LAPACK, and AC_SEARCH_LIBS

2009-03-24 Thread David A. Ventimiglia
Hello, I have a Fortran program that uses LAPACK. Since LAPACK can come from different vendors depending on the platform, and be in different locations (e.g., /usr/lib/liblapack.a with the reference implementation, or in mkl_lapack.a in the Intel compiler tree when using the Intel compiler),