Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Slurm
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tud-zih-energy
Slurm
Commits
39a5acd1
Commit
39a5acd1
authored
19 years ago
by
Moe Jette
Browse files
Options
Downloads
Patches
Plain Diff
Add test for NUMA functions.
parent
baa6e25c
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
auxdir/Makefile.am
+1
-0
1 addition, 0 deletions
auxdir/Makefile.am
auxdir/x_ac_numa.m4
+25
-0
25 additions, 0 deletions
auxdir/x_ac_numa.m4
configure.ac
+4
-0
4 additions, 0 deletions
configure.ac
with
30 additions
and
0 deletions
auxdir/Makefile.am
+
1
−
0
View file @
39a5acd1
...
@@ -18,6 +18,7 @@ EXTRA_DIST = \
...
@@ -18,6 +18,7 @@ EXTRA_DIST = \
x_ac_gpl_licensed.m4
\
x_ac_gpl_licensed.m4
\
x_ac_munge.m4
\
x_ac_munge.m4
\
x_ac_ncurses.m4
\
x_ac_ncurses.m4
\
x_ac_numa.m4
\
x_ac_ptrace.m4
\
x_ac_ptrace.m4
\
x_ac_readline.m4
\
x_ac_readline.m4
\
x_ac_setproctitle.m4
\
x_ac_setproctitle.m4
\
...
...
This diff is collapsed.
Click to expand it.
auxdir/x_ac_numa.m4
0 → 100644
+
25
−
0
View file @
39a5acd1
##*****************************************************************************
# $Id$
##*****************************************************************************
# AUTHOR:
# Morris Jette <jette1@llnl.gov>
#
# SYNOPSIS:
# X_AC_NUMA
#
# DESCRIPTION:
# Test for NUMA memory afffinity functions and set the definitions.
#
# WARNINGS:
# This macro must be placed after AC_PROG_CC or equivalent.
##*****************************************************************************
AC_DEFUN([X_AC_NUMA], [
# Test if numa_available function exists
save_LIBS="$LIBS"
LIBS="-lnuma $LIBS"
AC_CHECK_FUNCS(numa_available, [have_numa_available=yes], [LIBS="$save_LIBS"])
AM_CONDITIONAL(HAVE_NUMA_AFFINITY, test "x$have_numa_available" = "xyes")
])
This diff is collapsed.
Click to expand it.
configure.ac
+
4
−
0
View file @
39a5acd1
...
@@ -67,6 +67,10 @@ dnl Check of sched_getaffinity exists and it's argument count
...
@@ -67,6 +67,10 @@ dnl Check of sched_getaffinity exists and it's argument count
dnl
dnl
X_AC_AFFINITY
X_AC_AFFINITY
dnl Check if NUMA memory afffinity functions exist
dnl
X_AC_NUMA
dnl Checks for types.
dnl Checks for types.
dnl
dnl
X_AC_SLURM_BIGENDIAN
X_AC_SLURM_BIGENDIAN
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment