Open MPI logo

Hardware Locality Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Hardware Locality Development mailing list

Subject: Re: [hwloc-devel] -lpicl on Solaris
From: Brice Goglin (Brice.Goglin_at_[hidden])
Date: 2012-06-12 10:28:23

The current -lpicl in src/ comes from Terry's initial Solaris
CPUModel detection patch. If Terry is ok, I am fine with your change as


Le 12/06/2012 16:19, Jeff Squyres a écrit :
> I recently upgraded OMPI's SVN trunk to hwloc 1.4.2, and immediately broke builds on Solaris. After some hunting around, here's what our friends at Oracle have found:
> - Building hwloc 1.4.2 standalone on Solaris works fine.
> - Building OMPI SVN trunk (with hwloc 1.4.2 embedded) on Solaris fails due to a missing -lpicl.
> - The issue seems to be in hwloc's src/
> ldflags += -lpicl
> Specifically, -lpicl gets added to standalone builds but not embedded builds.
> Shouldn't the check for -lpicl be in hwloc.m4 so that it gets added to HWLOC_EMBEDDED_LIBS? See the attached patch.
> Or is there a deeper reason we didn't use AC_CHECK_LIB and used HWLOC_HAVE_SOLARIS instead? (e.g., is -lpicl Bad on other platforms?)
> _______________________________________________
> hwloc-devel mailing list
> hwloc-devel_at_[hidden]