LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: Jeff Squyres (jsquyres_at_[hidden])
Date: 2003-12-11 08:42:48


I downloaded GROMACS and ran its configure script -- it does seem to use
mpicc by default when you specify the "--enable-mpi" option.

Can you see if -n32 (or other related flags) are getting added anywhere?
(I don't have a convenient IRIX machine to test on)

I find it interesting that it's only complaining about some of LAM's
internal types (referred to by LAM's <mpi.h>), but it's *not* complaining
about any of the top-level MPI API functions. This indicates to me that
you might be somehow linking to the wrong libmpi (is there one in
/usr/lib, or somewhere else in the default linker path?).

On Thu, 11 Dec 2003, amay wrote:

> hi,
> Yes, I am using mpicc. When i installed the Lam7.0.3, steps i took were as follows:
> 1. setenv CC cc
> 2. setenv CXX CC
> 3. setenv FC f77
> 4. setenv CXXFLAGS -LANG:std
> 5. ./configure --prefix=/sjtu2/users/amay1975/cxm/lam
>
> It stalles the Lam7.0.3 successfully. Then i installed GROMACS:
> 1. setenv CPPFLAGS -I/sjtu2/users/amay1975/cxm/fftw/include
> 2. setenv LDFALGS -L/sjtu2/users/amay1975/cxm/fftw/lib
> 3. setenv PATH "$PATH":/sjtu2/users/amay1975/cxm/lam/bin
> 4. ./configure --enable-float --enable-mpi --prefix=/sjtu2/users/amay1975/cxm/gromacs
>
> Then it appears following errors:
> ld32: ERROR 33 : Unresolved data symbol "lam_mpi_byte" -- 1st referenced by ../gmxlib/.libs/libgmx_mpi.a(network.o).
> Use linker option -v to see when and which objects, archives and dsos are loaded.
> ld32: ERROR 33 : Unresolved data symbol "lam_mpi_comm_world" -- 1st referenced by ../gmxlib/.libs/libgmx_mpi.a(network.o).
> Use linker option -v to see when and which objects, archives and dsos are loaded.
> ld32: ERROR 33 : Unresolved data symbol "lam_mpi_float" -- 1st referenced by ../gmxlib/.libs/libgmx_mpi.a(network.o).
> Use linker option -v to see when and which objects, archives and dsos are loaded.
> ld32: INFO 152: Output file removed because of error.
> mpicc: No such file or directory
> *** Error code 2 (bu21)
> *** Error code 1 (bu21)
> *** Error code 1 (bu21)
> *** Error code 1 (bu21)
>
> Thanks for helping me.
>
>
> amay
> amay1975_at_[hidden]
>
>
> _______________________________________________
> This list is archived at http://www.lam-mpi.org/MailArchives/lam/
>

-- 
{+} Jeff Squyres
{+} jsquyres_at_[hidden]
{+} http://www.lam-mpi.org/