Hi, Am 23.08.2016 um 21:43 schrieb Richard G French:
> 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 By default the `mpicc` should add all necessary libraries to compile and link the application. But I wonder why you speak about mpich-mp as this is a different implementation of MPI, not Open MPI. Also the default location of Open MPI isn't mpich-mp. - what does: $ mpicc -show $ which mpicc output? - which MPI library was used to build the parallel FFTW? -- Reuti > 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