Commit 9dce72e9 authored by Alvarez, Gonzalo's avatar Alvarez, Gonzalo
Browse files

observe honors ThreadsStackSize=

parent b33078cd
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment