[torqueusers] Torque 4.1.4 with CPUSETS and BLCR = problems.

Johny johny2015 at wp.pl
Thu Mar 7 00:51:29 MST 2013


W dniu 2013-03-05 19:29, Michael Jennings pisze:
> On Mon, Mar 4, 2013 at 2:15 AM, Johny <johny2015 at wp.pl> wrote:
>
> If you have patched configure.ac and/or buildutils/torque.spec.in,
> please provide the patches so that we can review them.
>
> Michael
Thank you for your reply and sorry for my delay...

For*configure.ac* the patch just adds one line (without that line torque 
didn't compile):

--- configure.ac.orig	2012-06-27 04:00:06.000000000 +0200
+++ configure.ac	2012-06-29 09:54:16.000000000 +0200
@@ -38,6 +38,7 @@
  AC_CONFIG_MACRO_DIR([buildutils])
  
  LT_INIT
+PKG_PROG_PKG_CONFIG
  
  
  AC_CHECK_PROGS(MAKE,$MAKE make gmake,error)

And for *torque.spec* it just sets correct options:

--- torque.spec.orig	2012-11-23 12:08:46.000000000 +0100
+++ torque.spec	2012-11-23 12:10:46.000000000 +0100
@@ -14,14 +14,11 @@
  %endif
  
  ### Features disabled by default
-%bcond_with    blcr
-%bcond_with    cpuset
  %bcond_with    drmaa
  %bcond_with    gui
  %bcond_with    libcpuset
  %bcond_with    memacct
  %bcond_with    munge
-%bcond_with    numa
  %bcond_with    pam
  %bcond_with    top
  
@@ -29,6 +26,10 @@
  %bcond_without scp
  %bcond_without spool
  %bcond_without syslog
+%bcond_without blcr
+%bcond_without cpuset
+%bcond_without numa
+%bcond_without nvidia
  
  ### Autoconf macro expansions
  %define ac_with_blcr       --%{?with_blcr:en}%{!?with_blcr:dis}able-blcr
@@ -44,6 +45,7 @@
  %define ac_with_scp        --with-rcp=%{?with_scp:scp}%{!?with_scp:pbs_rcp}
  %define ac_with_spool      --%{?with_spool:en}%{!?with_spool:dis}able-spool
  %define ac_with_syslog     --%{?with_syslog:en}%{!?with_syslog:dis}able-syslog
+%define ac_with_nvidia     --%{?with_syslog:en}%{!?with_syslog:dis}able-nvidia-gpus
  
  ### Build Requirements
  %define breq_gui   %{?with_gui:tcl-devel tk-devel tclx}
@@ -175,7 +177,7 @@
      --with-server-home=%{torque_home} --with-sendmail=%{sendmail_path} \
      --disable-dependency-tracking %{ac_with_gui} %{ac_with_scp} %{ac_with_syslog} \
      --disable-gcc-warnings %{ac_with_munge} %{ac_with_pam} %{ac_with_drmaa} \
-    --disable-qsub-keep-override %{ac_with_blcr} %{ac_with_cpuset} %{ac_with_spool} %{?acflags}
+    --disable-qsub-keep-override %{ac_with_blcr} %{ac_with_cpuset} %{ac_with_spool} %{ac_with_nvidia} %{?acflags}
  %{__make} %{?_smp_mflags} %{?mflags}
  
  %install

Regards, Peter.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.supercluster.org/pipermail/torqueusers/attachments/20130307/aea2c5a8/attachment-0001.html 


More information about the torqueusers mailing list