|
From: Sohail S. <soh...@gm...> - 2012-03-20 06:20:48
|
Hi, I've tried to compile valgrind via the usual "./configure->make->(hopefully)make install" routine. At this point, however, I get stuck with the following message: mpicc -g -O -fno-omit-frame-pointer -Wall -dynamic -arch i386 -dynamic -dynamiclib -all_load -o libmpiwrap-x86-darwin.so libmpiwrap_x86_darwin_so-libmpiwrap.o ld: warning: ignoring file /usr/local/lib/libpmpich.dylib, file was built for unsupported file format which is not the architecture being linked (i386) ld: warning: ignoring file /usr/local/lib/libmpich.dylib, file was built for unsupported file format which is not the architecture being linked (i386) ld: warning: ignoring file /usr/local/lib/libopa.dylib, file was built for unsupported file format which is not the architecture being linked (i386) ld: warning: ignoring file /usr/local/lib/libmpl.dylib, file was built for unsupported file format which is not the architecture being linked (i386) Undefined symbols for architecture i386: "_PMPI_Type_extent", referenced from: ---- Is it trying to build a 32-bit application? Can I force 64-bit? There are other undefined symbols listed below, such as _PMPI_Type_get_envelope, _PMPI_Type_free, and generally anything with _PMPI_ in front of it. Do I need to set my $DYLD_LIBRARY_PATH to something special? Thanks, Sohail |
|
From: Julian S. <js...@ac...> - 2012-03-20 09:11:56
|
On Tuesday, March 20, 2012, Sohail Shafii wrote: > Undefined symbols for architecture i386: > "_PMPI_Type_extent", referenced from: > ---- Are you trying to build w/ the MPI checking library, or is that just an unintended side effect? If the latter, you can disable the build of libmpiwrap.dylib by configuring with --with-mpicc=/some/path/that/doesnt/exist J |
|
From: Sohail S. <soh...@gm...> - 2012-03-20 19:24:52
|
I believe that it's an unintended side effect. I did have mpich installed on this machine for another program. I suppose I should figure out how the compiling/linking is handled on this OS (in relation to architecture type). Anyway, your suggestion worked out -- thanks. I just have to see how things work out from here. 2012/3/20 Julian Seward <js...@ac...> > On Tuesday, March 20, 2012, Sohail Shafii wrote: > > > Undefined symbols for architecture i386: > > "_PMPI_Type_extent", referenced from: > > ---- > > Are you trying to build w/ the MPI checking library, or is that > just an unintended side effect? If the latter, you can disable > the build of libmpiwrap.dylib by configuring with > --with-mpicc=/some/path/that/doesnt/exist > > J > |