Thanks for the suggestion, Doug - but I can't seem to find the missing
function ompi_mpi_byte in any of those other libraries. I'll keep looking!
I wonder if I failed to configure mpich properly when I built it.
Dick


On Tue, Aug 23, 2016 at 4:01 PM, Douglas L Reeder <d...@centurylink.net>
wrote:

> Richard,
>
> It looks like you need to add some -lxxxx arguments to the the specific
> openmpi libraries hat you need (e.g., -lmpi -lmpi_cxx)
>
> Doug
>
> On Aug 23, 2016, at 1:43 PM, Richard G French <rfre...@wellesley.edu>
> wrote:
>
> Hi, all -
> I'm trying to build the SPH code Gadget2 (http://wwwmpa.mpa-garching.
> mpg.de/gadget/) under OS X 10.11.6 and I am getting the following type of
> error:
>
> 222 rfrench@cosmos> make
>
> mpicc main.o  run.o  predict.o begrun.o endrun.o global.o timestep.o
> init.o restart.o  io.o accel.o   read_ic.o  ngb.o system.o  allocate.o
> density.o gravtree.o hydra.o  driftfac.o domain.o  allvars.o potential.o
> forcetree.o   peano.o gravtree_forcetest.o pm_periodic.o pm_nonperiodic.o
> longrange.o   -g  -L/opt/local/lib/mpich-mp  -L/usr/local/lib -lgsl
> -lgslcblas -lm -L/usr/local/lib -lrfftw_mpi -lfftw_mpi -lrfftw -lfftw
> -o  Gadget2
>
> Undefined symbols for architecture x86_64:
>
>   "_ompi_mpi_byte", referenced from:
>
>       _read_parameter_file in begrun.o
>
>       _compute_global_quantities_of_system in global.o
>
>       _restart in restart.o
>
>       _write_file in io.o
>
>       _read_file in read_ic.o
>
>       _find_files in read_ic.o
>       _density in density.o
>
> ......
>
> I built the mpich library using
>
> cd openmpi-2.0.0/
>
> ./configure
>
> sudo make all install
>
> which installed the libraries in
>
> /opt/local/lib/mpich-mp
>
>
> I can't seem to track down the library that contains ompi_mpi_byte.
>
>
> Any suggestions would be welcome. Thanks!
>
> Dick French
>
>
>
> --
> Richard G. French
> McDowell and Whiting Professor of Astrophysics
> Chair of the Astronomy Department, Wellesley College
> Director of the Whitin Observatory
> Cassini Mission to Saturn Radio Science Team Leader
> Wellesley, MA 02481-8203
> (781) 283-3747
> _______________________________________________
> users mailing list
> users@lists.open-mpi.org
> https://rfd.newmexicoconsortium.org/mailman/listinfo/users
>
>
>
> _______________________________________________
> users mailing list
> users@lists.open-mpi.org
> https://rfd.newmexicoconsortium.org/mailman/listinfo/users
>



-- 

Richard G. French

McDowell and Whiting Professor of Astrophysics

Chair of the Astronomy Department, Wellesley College

Director of the Whitin Observatory

Cassini Mission to Saturn Radio Science Team Leader

Wellesley, MA 02481-8203

(781) 283-3747
_______________________________________________
users mailing list
users@lists.open-mpi.org
https://rfd.newmexicoconsortium.org/mailman/listinfo/users

Reply via email to