On Jan 25, 2011, at 12:08 AM, John W. Eaton wrote:
> On 24-Jan-2011, Richard Campbell wrote:
>
> | > What is in your config.h file? For F77_FUNC, I would expect something
> | > like
> | >
> | > #define F77_FUNC(name,NAME) name ## _
> | >
> | > but it looks like it is not being defined, since there is a
> | > diagnostic about it as if it is not being expanded by the
> | > preprocessor.
> | >
> | > jwe
> |
> | cat config.h | grep -B 2 -i f77_func
> | /* Define to a macro mangling the given C identifier (in lower and upper
> | case), which must not contain underscores, for linking with Fortran. */
> | /* #undef F77_FUNC */
> |
> | /* As F77_FUNC, but for C identifiers containing underscores. */
> | /* #undef F77_FUNC_ */
>
> That should not happen.
>
> In your config.log file, there should be a line like this:
>
> configure:28708: checking for Fortran 77 name-mangling scheme
>
> followed by the compile commands tried, information about failed
> tests, and then the result What do you have for that? Send
> the config.log output to the list if you like, or just this section.
> If you send the whole file, please gzip it before you send it as the
> config.log file itself is about 1.8MB, but the compressed file is only
> about 100k.
>
> jwe
The BLAS I am trying to compile against is the one built into OSX (linked to by "-framework vecLib". If I try to compile with "-arch x86_64" but without "--enable-64" I get the following error:
configure: error: A BLAS library was detected but found incompatible with your Fortran 77 compiler settings.
With "-arch x86_64" and "--enable-64" I get:
checking whether the integer size is correct... no
configure: error: BLAS doesn't seem to support 64-bit integers. This is incompatible with --enable-64.