Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
SWIFTsim
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SWIFT
SWIFTsim
Commits
8c63b3ed
Commit
8c63b3ed
authored
Feb 2, 2023
by
Matthieu Schaller
Browse files
Options
Downloads
Patches
Plain Diff
Prevent users from running with the EAGLE tracers compiled but without cooling at runtime
parent
231cdd06
No related branches found
No related tags found
2 merge requests
!1715
Update planetary strength after planetary plus's master rebase
,
!1693
More threapool plotting tweaks
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
swift.c
+5
-0
5 additions, 0 deletions
swift.c
with
5 additions
and
0 deletions
swift.c
+
5
−
0
View file @
8c63b3ed
...
...
@@ -642,6 +642,11 @@ int main(int argc, char *argv[]) {
}
#endif
#ifdef TRACERS_EAGLE
if
(
!
with_cooling
&&
!
with_temperature
)
error
(
"Error: Cannot use EAGLE tracers without --cooling or --temperature"
);
#endif
/* Let's pin the main thread, now we know if affinity will be used. */
#if defined(HAVE_SETAFFINITY) && defined(HAVE_LIBNUMA) && defined(_GNU_SOURCE)
if
(
with_aff
&&
...
...
...
...
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
sign in
to comment