Hi,
Can you please send the config.log file from lamtests? It will make
clear why the lamtests configure decided that the Fortran MPI bindings are
absent.
Amey S. Dharurkar
----------------------------------------------------------
Graduate Student, Indiana University
Ph. O:(812)855-3609, H:(812)331-8203
On Sun, 4 Apr 2004 gburton_at_[hidden] wrote:
>
> I am having a similar, but not identical problem configuring the LAM test
> suite. In my case the configure script fails when it tries to find the
> Fortran bindings, which have been built and installed, and which I believe
> have been properly added to my PATH. The configure output gives:
>
> checking for mpif77... yes
> checking whether we are using the GNU Fortran 77 compiler... no
> checking whether mpif77 accepts -g... yes
> checking for ranlib... ranlib
> checking for mpi.h... yes
> checking for MPI_Initialized in -lmpi... yes
> checking if have Fortran MPI bindings... no
> checking if supposed to have Fortran MPI bindings... yes
> configure: error: Cannot continue
>
>
> However, my PATH variable has been set to :
>
> /lamtests-7.0.4$ echo $PATH
> /bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/bin/:
> /opt/ibmcmp/xlf/8.1/bin:/usr/local/lam-7.0.4/bin:/usr/local/lam-7.0.4/share:
> /usr/local/lib:/usr/local/lib/lam:
>
> This suggests to me that both the LAM executables and the fortran compiler
> are properly in the PATH. In addition, I checked the actual mpif77 executable
> and got:
>
> /lamtests-7.0.4$ mpif77 --showme
> xlf90 -I/usr/local/include -L/usr/local/lib -llammpio -llamf77mpi -lmpi -llam
>
> Finally, when I try to compile an actual fortran script (a copy of the
> hello.f script) which is given by:
>
> program hello_world
> include 'mpif.h'
> integer rank, size, ierr
> call MPI_INIT(ierr)
> call MPI_COMM_RANK(MPI_COMM_WORLD,rank,ierr)
> call MPI_COMM_SIZE(MPI_COMM_WORLD,size,ierr)
> print *, 'Hello, world! I am ', rank,'of', size
> call MPI_FINALIZE(ierr)
> stop
> end program hello_world
>
>
> I get the proper results:
> /lamtests-7.0.4$ mpirun -np 4 hello.out
> Hello, world! I am 2 of 4
> Hello, world! I am 3 of 4
> Hello, world! I am 0 of 4
> Hello, world! I am 1 of 4
>
> Finally, I also checked that the bindings were properly built. This too
> seems to have been done correctly:
>
> /lamtests-7.0.4$ laminfo
> LAM/MPI: 7.0.4
> Prefix: /usr/local
> Architecture: powerpc-apple-darwin7.3.0
> Configured by: root
> Configured on: Mon Mar 29 00:04:54 PST 2004
> Configure host: localhost
> C bindings: yes
> C++ bindings: yes
> Fortran bindings: yes
> C profiling: yes
> C++ profiling: yes
> Fortran profiling: yes
> ROMIO support: yes
> IMPI support: no
> Debug support: no
> Purify clean: no
> SSI boot: globus (Module v0.5)
> SSI boot: rsh (Module v1.0)
> SSI coll: lam_basic (Module v7.0)
> SSI coll: smp (Module v1.0)
> SSI rpi: crtcp (Module v1.0.1)
> SSI rpi: lamd (Module v7.0)
> SSI rpi: sysv (Module v7.0)
> SSI rpi: tcp (Module v7.0)
> SSI rpi: usysv (Module v7.0)
>
>
> I still want to run the test suite but can't configure it. This despite
> all of the info above. Any suggestions would be greatly appreciated.
>
> Thanks!
> Greg Burton
>
>
> ---------------------------------
> Gregory C. Burton
> ---------------------------------
>
>
> _______________________________________________
> This list is archived at http://www.lam-mpi.org/MailArchives/lam/
>
|