AMBER Archive (2007)

Subject: Re: AMBER: amber9 parralel compiling

From: Seaclear Theory (oceanclear_at_gmail.com)
Date: Sat Jan 27 2007 - 12:59:23 CST


When I did "> *> nm liblamf77mpi.a | grep bcast"
I got
bcast_f.o:
0000000000000000 T mpi_bcast__

The compiling error is :
 ../lmod/lmod.a ../lapack/lapack.a ../blas/blas.a \
 ../lib/nxtsec.o ../lib/sys.a -L/usr/local/lib -L/usr/local/lib -llammpio
-llamf77mpi -lmpi -llam -lutil -lpthread
evb_init.o(.text+0x4f7): In function `evb_init_':
: undefined reference to `mpi_bcast_'
evb_init.o(.text+0x549): In function `evb_init_':
: undefined reference to `mpi_bcast_'
evb_init.o(.text+0xb31): In function `evb_init_':
: undefined reference to `mpi_bcast_'
evb_init.o(.text+0xbca): In function `evb_init_':
: undefined reference to `mpi_bcast_'
evb_init.o(.text+0xc81): In function `evb_init_':
: undefined reference to `mpi_bcast_'
evb_init.o(.text+0xcfe): more undefined references to `mpi_bcast_' follow
evb_init.o(.data+0x840): undefined reference to `mpi_comm_dup_fn_'
evb_init.o(.data+0x848): undefined reference to `mpi_comm_null_delete_fn_'
evb_init.o(.data+0x850): undefined reference to `mpi_comm_null_copy_fn_'
evb_init.o(.data+0x858): undefined reference to `mpi_dup_fn_'
evb_init.o(.data+0x860): undefined reference to `mpi_null_copy_fn_'
evb_init.o(.data+0x868): undefined reference to `mpi_null_delete_fn_'
evb_init.o(.data+0x870): undefined reference to `mpi_type_dup_fn_'
evb_init.o(.data+0x878): undefined reference to `mpi_type_null_delete_fn_'
evb_init.o(.data+0x880): undefined reference to `mpi_type_null_copy_fn_'
evb_init.o(.data+0x888): undefined reference to `mpi_win_dup_fn_'
evb_init.o(.data+0x890): undefined reference to `mpi_win_null_delete_fn_'
evb_init.o(.data+0x898): undefined reference to `mpi_win_null_copy_fn_'
evb_init.o(.data+0x8a0): undefined reference to `mpi_wtime_'
evb_init.o(.data+0x8a8): undefined reference to `mpi_wtick_'
evb_init.o(.data+0x8b0): undefined reference to `pmpi_wtick_'
evb_init.o(.data+0x8b8): undefined reference to `pmpi_wtime_'
evb_io.o(.data+0x840): undefined reference to `mpi_comm_null_copy_fn_'
......
......

Thanks.

Ocean

On 1/26/07, David A. Case < case_at_scripps.edu> wrote:
>
> On Thu, Jan 25, 2007, Seaclear Theory wrote:
>
> >
> > I have the exactly same problem. However, I cannot resolve it following
> this
> > email. Could you do me a favor provide a detial instruction for this
> issue?
> > I have the same compiler, installation directory and error meesage as
> > Nikola's. Thanks for your help very much!
> >
>
> But what happens when you do the debugging that was suggested?
>
>
> > *> Try this: *
>
> > *> cd /usr/local/lam_amber/lib
> > *> nm liblamf77mpi.a | grep bcast
>
> ....dac
> -----------------------------------------------------------------------
> The AMBER Mail Reflector
> To post, send mail to amber_at_scripps.edu
> To unsubscribe, send "unsubscribe amber" to majordomo_at_scripps.edu
>

-----------------------------------------------------------------------
The AMBER Mail Reflector
To post, send mail to amber_at_scripps.edu
To unsubscribe, send "unsubscribe amber" to majordomo_at_scripps.edu