[torquedev] [Bug 176] torque-4.0.0: HWLOC_CFLAGS and HWLOC_LIBS ignored

bugzilla-daemon at supercluster.org bugzilla-daemon at supercluster.org
Tue May 22 18:46:15 MDT 2012


http://www.clusterresources.com/bugzilla/show_bug.cgi?id=176

--- Comment #5 from Martin Siegert <siegert at sfu.ca> 2012-05-22 18:46:14 MDT ---
This still is not quite right with torque-4.0.2. Let's say that hwloc is
installed in /usr/local, i.e., include files in /usr/local/include and
libraries in /usr/local/lib64. Both /usr/local/lib64 and  /usr/local/include
are searched by the compiler by default, i.e., -I and -L flags are unnecessary.
I set HWLOC_LIBS="-lhwloc" and run configure:
...
checking for HWLOC... no
configure: error: cpuset support requires the hwloc package

No package 'hwloc' found

Perhaps you should add the directory containing 'hwloc.pc'
to the PKG_CONFIG_PATH environment variable.

Alternatively, you may set the environment variables
HWLOC_CFLAGS and HWLOC_LIBS before running configure.

Example:
export HWLOC_CFLAGS='-I/usr/local/hwloc-1.1/include'
export HWLOC_LIBS='-L/usr/local/hwloc-1.1/lib -lhwloc'

The problem is that HWLOC_CFLAGS is empty and in that case configure checks for
pkg-config which fails in my case; configure does not consider the case that
the code would compile without pkg-config and without any additional CFLAGS.

-- 
Configure bugmail: http://www.clusterresources.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the torquedev mailing list