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

Michael Jennings mej at lbl.gov
Fri Mar 8 13:46:28 MST 2013

On Wed, Mar 6, 2013 at 11:51 PM, Johny <johny2015 at wp.pl> wrote:


This is correct and fixes a known issue.  This fix should be present
in 4.2.x but does not appear to have been backported to 4.1-dev yet.

>  ### 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

This is not really the correct way to accomplish this.  You should be
passing --with <feature> and/or --without <feature> to rpmbuild when
building packages in order to adjust the featureset you want.

To add a feature like --enable-nvidia-gpus, It should be disabled by
default except in rare circumstances, and it must be correctly
delineated in the rest of the spec file.  See below.

>  ### 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

You are reusing the value of the "--with syslog" option for nVidia GPU
support.  This will definitely not do the right thing.  :-)


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