Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SWIFT
SWIFTsim
Commits
8155dd74
Commit
8155dd74
authored
Aug 10, 2017
by
Peter W. Draper
Browse files
Stop when affinity is requested but not available
parent
b33f414d
Changes
1
Hide whitespace changes
Inline
Side-by-side
examples/main.c
View file @
8155dd74
...
...
@@ -190,7 +190,11 @@ int main(int argc, char *argv[]) {
while
((
c
=
getopt
(
argc
,
argv
,
"acCdDef:FgGhMn:P:sSt:Tv:y:Y:"
))
!=
-
1
)
switch
(
c
)
{
case
'a'
:
#if defined(HAVE_SETAFFINITY) && defined(HAVE_LIBNUMA)
with_aff
=
1
;
#else
error
(
"Need NUMA support for thread affinity"
);
#endif
break
;
case
'c'
:
with_cosmology
=
1
;
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment