reset number of threads to 1 when using no accelerator or opt
This commit is contained in:
@ -508,6 +508,8 @@ void LammpsGui::update_variables()
|
||||
|
||||
for (const auto &line : doc) {
|
||||
|
||||
if (line.isEmpty()) continue;
|
||||
|
||||
// first find variable definitions.
|
||||
// index variables are special since they can be overridden from the command line
|
||||
auto index = indexvar.match(line);
|
||||
|
||||
Reference in New Issue
Block a user