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
e3fae00f
Commit
e3fae00f
authored
21 years ago
by
Moe Jette
Browse files
Options
Downloads
Patches
Plain Diff
Add note about getting the real memory size on AIX.
Leaving the work to someone else for now...
parent
a26bb003
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/slurmd/get_mach_stat.c
+5
-0
5 additions, 0 deletions
src/slurmd/get_mach_stat.c
with
5 additions
and
0 deletions
src/slurmd/get_mach_stat.c
+
5
−
0
View file @
e3fae00f
...
...
@@ -169,6 +169,11 @@ get_memory(uint32_t *real_memory)
*
real_memory
=
1
;
pages
=
sysconf
(
_SC_PHYS_PAGES
);
if
(
pages
<
1
)
{
/* This error is expected on AIX and the real memory size is
* available only from /dev/kmem at this time, which involves
* a fair bit of code to use. If anyone is interested in
* adding this support, take a look at the program "monitor":
* http://www.mesa.nl/monitor */
error
(
"get_memory: error running sysconf(_SC_PHYS_PAGES)
\n
"
);
return
EINVAL
;
}
...
...
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