[torqueusers] help! torque-2.2.1 will not build

Garrick Staples garrick at usc.edu
Sat Nov 3 22:20:55 MDT 2007


On Sat, Nov 03, 2007 at 08:05:30PM -0700, Steven DuChene alleged:
> Garrick Staples wrote:
> >On Sat, Nov 03, 2007 at 06:14:39PM -0700, Garrick Staples alleged:
> >  
> >>Looks like something wrong with the Makefile.  Can you change:
> >>   SUBDIRS = $(cpuset)
> >>to:
> >>   SUBDIRS = $(cpusetdir)
> >>in src/resmom/linux/Makefile.in and run configure again?
> >>    
> >
> >
> >Err, that should be:
> >   SUBDIRS = $(csetsubdir)
> >  
> >------------------------------------------------------------------------
> >
> >
> >  
> Nope, seems to have made things worse

No, that's good.  At least cpuset code is being compiled now.  Once that compiles, the original linking problem will work.

Index: src/resmom/linux/cpuset/cpuset.c
===================================================================
--- src/resmom/linux/cpuset/cpuset.c    (revision 1610)
+++ src/resmom/linux/cpuset/cpuset.c    (working copy)
@@ -4,6 +4,7 @@
 #include <cpuset.h>
 #include <sys/stat.h>
 #include <dirent.h>
+#include <stdio.h>
 
 #include "libpbs.h"
 #include "attribute.h"
@@ -36,7 +37,7 @@
 
     if (cpuset_query(torque_set, "/torque") == -1)
     {
-        sprintf (log_buffer, "Torque cpuset /dev/cpuset%s does not exist, creating it now.\n", torque_set);
+        sprintf (log_buffer, "Torque cpuset %s does not exist, creating it now.\n",dir_path);
         log_err(-1,id,log_buffer);
 
         cpu_map_size = cpuset_cpus_nbits();

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.supercluster.org/pipermail/torqueusers/attachments/20071103/c1bed39e/attachment-0001.bin


More information about the torqueusers mailing list