Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
dynare
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Dynare
dynare
Commits
d7b7ce89
Commit
d7b7ce89
authored
4 years ago
by
Johannes Pfeifer
Browse files
Options
Downloads
Patches
Plain Diff
AnalyseComputationalEnvironment.m: define missing command string used in error message
parent
94adca9a
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!1758
AnalyseComputationalEnvironment.m: define missing command string used in error message
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
matlab/parallel/AnalyseComputationalEnvironment.m
+6
-3
6 additions, 3 deletions
matlab/parallel/AnalyseComputationalEnvironment.m
with
6 additions
and
3 deletions
matlab/parallel/AnalyseComputationalEnvironment.m
+
6
−
3
View file @
d7b7ce89
...
...
@@ -522,13 +522,16 @@ for Node=1:length(DataInput) % To obtain a recoursive function remove the 'for'
if
(
DataInput
(
Node
)
.
Local
==
1
)
if
Environment
if
~
ismac
[
si0
,
de0
]
=
system
(
'nproc'
);
command_string
=
'nproc'
;
[
si0
,
de0
]
=
system
(
command_string
);
else
[
si0
,
de0
]
=
system
(
'sysctl -n hw.ncpu'
);
command_string
=
'sysctl -n hw.ncpu'
;
[
si0
,
de0
]
=
system
(
command_string
);
Environment1
=
2
;
end
else
[
si0
,
de0
]
=
system
([
'psinfo \\'
]);
command_string
=
[
'psinfo \\'
];
[
si0
,
de0
]
=
system
(
command_string
);
end
else
if
Environment
...
...
This diff is collapsed.
Click to expand it.
Johannes Pfeifer
@JohannesPfeifer
mentioned in commit
686f8b23
·
4 years ago
mentioned in commit
686f8b23
mentioned in commit 686f8b238c0eaa0b68a3dc98faef22af55c2d98a
Toggle commit list
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