LAM/MPI logo

LAM/MPI General User's Mailing List Archives

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

From: Damien Hocking (damien_at_[hidden])
Date: 2003-12-11 01:07:30


Amay,

are you sure you're using mpicc? What you described is what you need to do
to build LAM, but that's not the same as using mpicc to build your other
mpi-compliant tools. Once you've completed your LAM build, you should have
mpicc and possibly mpif77 in /sjtu2/users/amay1975/cxm/lam/bin. You use
those wrapper compilers to build your other tools. In the makefile for
GROMACS (or in an included make.inc or similar) there should be options to
specify CC and F77. Set those to CC =
/sjtu2/users/amay1975/cxm/lam/bin/mpicc and similar for Fortran. Then
rebuild GROMACS.

Damien

----- Original Message -----
From: "amay" <amay1975_at_[hidden]>
To: <lam_at_[hidden]>
Sent: Wednesday, December 10, 2003 6:50 PM
Subject: LAM: install problems

> 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/g
romacs
>
> 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/
>