[mvapich-discuss] [mvapich-dis] How to compile without setting -lpciaccess

Jonathan Perkins perkinjo at cse.ohio-state.edu
Sat Jul 6 11:00:45 EDT 2013


On Sat, Jul 06, 2013 at 04:00:23PM +0800, Ju JiaJia wrote:
> New build mvapich2-1.9 uses libpciaccess When i compile previous
> programs i got a lot of undefined references, like below changelog
> says libpciaccess is used to replace libpci.

Yes, this change was introduced by newer versions of hwloc which is used
by mvapich2.  Facing undefined references when compiling programs seems
to indicate that you're not using mpicc but trying to use the correct
commands to compile and link manually.

> I don't want to modify every Makefile to use this new build, any
> convenient way to do this ?

I do not know of anyway around this.  Maybe you can try using sed to do
the heavy lifting.

-- 
Jonathan Perkins
http://www.cse.ohio-state.edu/~perkinjo



More information about the mvapich-discuss mailing list