AMBER: dual xeon mpich compilation problem: sorted

From: Simon Whitehead <SJW084.bham.ac.uk>
Date: Thu, 13 Apr 2006 13:16:53 +0100

Have managed to sort it out. By adding -L/opt/MeSC/mpich-1.2.6/lib -lpmpich -lmpich -lpmpich -lmpich after /include path name in the fPPFLAGS: part of config.h it compiled with no problems and tested ok.

Thanks

simon


-----------------------------------------------------
Dear amber users,
 
I have been attempting to compile a parallel version of amber 8 (mpich) on a dual Xeon cluster using ifort as my compiler. The serial version compiles with now problems but when i attempt to compile the parallel version it starts ok then end with a many errors concerning an undefined reference, the last part of the list is shown below.
 
The config.h was made using the following command and i have attached my config.h;
 
./configure -mpich ifort
 
debug.o(.text+0xde07): In function `force_dump_':
: undefined reference to `mpi_reduce_'
debug.o(.text+0xdea3): In function `force_dump_':
: undefined reference to `mpi_reduce_'
ew_dipole_recip.o(.text+0x6b0): In function `do_pmesh_dipole_kspace_':
: undefined reference to `mpi_barrier_'
ew_dipole_recip.o(.text+0x836): In function `do_pmesh_dipole_kspace_':
: undefined reference to `mpi_barrier_'
ew_dipole_recip.o(.text+0xb93): In function `do_pmesh_dipole_kspace_':
: undefined reference to `mpi_barrier_'
mexit.o(.text+0x28): In function `mexit_':
: undefined reference to `mpi_abort_'
mexit.o(.text+0x4e): In function `mexit_':
: undefined reference to `mpi_finalize_'
new_time.o(.text+0x20c): In function `timer_barrier_':
: undefined reference to `mpi_barrier_'
new_time.o(.text+0x6d0): In function `profile_time_':
: undefined reference to `mpi_send_'
new_time.o(.text+0xae7): In function `profile_time_':
: undefined reference to `mpi_recv_'
make[1]: *** [sander] Error 1
make[1]: Leaving directory `/home/filer2/bcm/sjw084/amber8_MPI/amber8/src/sander'
make: *** [parallel] Error 2

 

If anyone could advise me i would be most grateful.

Many regards

simon

-----------------------------------------------------------------------
The AMBER Mail Reflector
To post, send mail to amber.scripps.edu
To unsubscribe, send "unsubscribe amber" to majordomo.scripps.edu
Received on Fri Apr 14 2006 - 03:25:46 PDT
Custom Search