~ubuntu-branches/ubuntu/vivid/slurm-llnl/vivid

« back to all changes in this revision

Viewing changes to auxdir/x_ac_affinity.m4

  • Committer: Bazaar Package Importer
  • Author(s): Gennaro Oliva
  • Date: 2009-09-24 23:28:15 UTC
  • mfrom: (1.1.11 upstream) (3.2.4 sid)
  • Revision ID: james.westby@ubuntu.com-20090924232815-enh65jn32q1ebg07
Tags: 2.0.5-1
* New upstream release 
* Changed dependecy from lib-mysqlclient15 to lib-mysqlclient 
* Added Default-Start for runlevel 2 and 4 and $remote_fs requirement in
  init.d scripts (Closes: #541252)
* Postinst checks for wrong runlevels 2 and 4 links
* Upgraded to standard version 3.8.3
* Add lintian overrides for missing slurm-llnl-configurator.html in doc
  base registration
* modified postrm scripts to ignore pkill return value in order to avoid
  postrm failure when no slurm process is running
* Checking for slurmctld.pid before cancelling running and pending
  jobs during package removal 

Show diffs side-by-side

added added

removed removed

Lines of Context:
61
61
  fi
62
62
 
63
63
#
64
 
# Test for cpusets
65
 
#
66
 
  if test -d "/dev/cpuset" ; then
67
 
     have_sched_setaffinity=yes
68
 
  fi
69
 
 
70
 
#
71
 
# Test for other affinity functions as appropriate
72
 
# TBD
73
 
#
 
64
# Test for cpuset directory
 
65
#
 
66
  cpuset_default_dir="/dev/cpuset"
 
67
  AC_ARG_WITH([cpusetdir],
 
68
              AS_HELP_STRING(--with-cpusetdir=PATH,specify path to cpuset directory default is /dev/cpuset),
 
69
              [try_path=$withval])
 
70
  for cpuset_dir in $try_path "" $cpuset_default_dir; do
 
71
    if test -d "$cpuset_dir" ; then
 
72
      AC_DEFINE_UNQUOTED(CPUSET_DIR, "$cpuset_dir", [Define location of cpuset directory])
 
73
      have_sched_setaffinity=yes
 
74
      break
 
75
    fi
 
76
  done
74
77
 
75
78
#
76
79
# Set HAVE_SCHED_SETAFFINITY if any task affinity supported