Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Laurell, Pontus Bengt Johan
dmrgpp
Commits
9dce72e9
Commit
9dce72e9
authored
Aug 28, 2019
by
Alvarez, Gonzalo
Browse files
observe honors ThreadsStackSize=
parent
b33078cd
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/observe.cpp
View file @
9dce72e9
...
...
@@ -196,7 +196,16 @@ int main(int argc,char **argv)
bool
setAffinities
=
(
dmrgSolverParams
.
options
.
find
(
"setAffinities"
)
!=
PsimagLite
::
String
::
npos
);
PsimagLite
::
CodeSectionParams
codeSectionParams
(
dmrgSolverParams
.
nthreads
,
setAffinities
);
SizeType
threadsStackSize
=
0
;
try
{
io
.
readline
(
threadsStackSize
,
"ThreadsStackSize="
);
}
catch
(
std
::
exception
&
)
{}
PsimagLite
::
CodeSectionParams
codeSectionParams
(
dmrgSolverParams
.
nthreads
,
setAffinities
,
threadsStackSize
);
ConcurrencyType
::
setOptions
(
codeSectionParams
);
bool
isComplex
=
(
dmrgSolverParams
.
options
.
find
(
"useComplex"
)
!=
PsimagLite
::
String
::
npos
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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