[torqueusers] hwloc error torque 4.1.3

Michael Jennings mej at lbl.gov
Tue Jan 15 18:33:48 MST 2013


On Monday, 07 January 2013, at 16:55:20 (+1100),
Craig West wrote:

> > Tracing "bash -x ./configure", I found that the script needs to be
> > told to actually *use* pkg-config, otherwise on gets numerous
> > occasions of "pkg_failed=untried". Thus:
> >
> > PKG_CONFIG=pkg-config ./configure ?
> 
> I tested your method above and it was able to run the configure 
> (followed by a make) without the need for the autogen.
> 
> This seems strange, and something that was not happening with torque 
> 4.1.3. Has anyone raised a bug about this? Does Adaptive have an 
> internal bug?

I'm still unable to reproduce this behavior, but I think I've found
the cause.

Try this patch:

-------------------------------
diff --git a/configure.ac b/configure.ac
index 22a3878..224c8be 100644
--- a/configure.ac
+++ b/configure.ac
@@ -78,7 +78,7 @@ else
   AC_DEFINE_UNQUOTED(SVN_VERSION, ["unknown"], [repository svn version])
 fi
 
-
+PKG_PROG_PKG_CONFIG
 
 dnl
 dnl  ######################################################################
--------------------------------

Let me know if that works.  If so, I'll submit it upstream to Adaptive.

It's poorly documented, but if PKG_CHECK_MODULES() is invoked for the
first time inside a conditional, PKG_PROG_PKG_CONFIG must be invoked
unconditionally prior to any PKG_CHECK_MODULES() calls.

Michael

-- 
Michael Jennings <mej at lbl.gov>
Senior HPC Systems Engineer
High-Performance Computing Services
Lawrence Berkeley National Laboratory
Bldg 50B-3209E        W: 510-495-2687
MS 050B-3209          F: 510-486-8615


More information about the torqueusers mailing list