On Wed, 2 Jul 2003, Karl Hahn wrote:
> I have successfully installed LAM 7.0 (Solaris 2.8, SUN Workshop
> Compilers 5.0). My MPI programs can be successfully compiled and
> executed.
Excellent. :-)
> The problem is that I can not configure the LAM test suite. Have a look
> at the output (below). I will also attach the config.log. Seems that the
> configure script has problems with compiling conftest.c. I can not find
> that file in the lamtests direcories!
It looks like it is complaining about the fact that it wants the Fortran
bindings to be available, but it can't find them.
> [snipped]
> Fortran bindings: yes
Ok, good. What fortran compile
> [snipped]
> checking if have Fortran MPI bindings... no
> checking if supposed to have Fortran MPI bindings... yes
> configure: error: Cannot continue
This is the problem right here. First it tries to compile a simple
Fortran MPI program to see if the Fortran bindings are there. Then it
tries to compile a LAM-specific C program to see if the Fortran bindings
are *supposed* to be there.
The problem in your case appears to be that it could not find the Fortran
bindings, although they are *supposed* to be there. Here's the relevant
output:
-----
configure:3932: mpif77 -o conftest conftest.f >&5
f771: invalid option `t'
f771: invalid option `t'
mpif77: No such file or directory
configure:3935: $? = 1
configure: failed program was:
| program main
| c
| include 'mpif.h'
| integer ierr
| call MPI_INIT(ierr)
| call MPI_FINALIZE(ierr)
| stop
| end
configure:3957: result: no
-----
What is the output of "mpif77 -showme"? I suspect that it is invoking
"f771" as the compiler, which I'm not familiar with. I see that you used
"cc" (I'm assuming that's the native Sun Forte C compiler); if "f771" is
not also the Forte F77 compiler, it may be getting confused by the "-mt"
option that we're passing in mpif77.
If this is the case, can you use the Forte f77 compiler instead of f771?
--
{+} Jeff Squyres
{+} jsquyres_at_[hidden]
{+} http://www.lam-mpi.org/
|