-
Notifications
You must be signed in to change notification settings - Fork 37
Closed
Labels
bugCrashes, freezes, compilation/run-time errors, undesirable behavior, wrong info in help/docsCrashes, freezes, compilation/run-time errors, undesirable behavior, wrong info in help/docsfixedIssues that have been fixedIssues that have been fixed
Description
sgpp fails to build with gcc 9.x:
optimization/src/sgpp/optimization/gridgen/IterativeGridGenerator.cpp: In member function ‘void sgpp::optimization::IterativeGridGenerator::evalFunction(size_t)’:
optimization/src/sgpp/optimization/gridgen/IterativeGridGenerator.cpp:43:25: error: ‘d’ not specified in enclosing ‘parallel’
43 | base::DataVector x(d);
| ^
optimization/src/sgpp/optimization/gridgen/IterativeGridGenerator.cpp:41:9: error: enclosing ‘parallel’
41 | #pragma omp parallel shared(fX, oldGridSize, gridStorage) default(none)
| ^~~
optimization/src/sgpp/optimization/gridgen/IterativeGridGenerator.cpp:55:9: error: ‘curGridSize’ not specified in enclosing ‘parallel’
55 | #pragma omp for
| ^~~
optimization/src/sgpp/optimization/gridgen/IterativeGridGenerator.cpp:41:9: error: enclosing ‘parallel’
41 | #pragma omp parallel shared(fX, oldGridSize, gridStorage) default(none)
| ^~~
scons: *** [optimization/src/sgpp/optimization/gridgen/IterativeGridGenerator.os] Error 1
optimization/src/sgpp/optimization/optimizer/unconstrained/DifferentialEvolution.cpp: In member function ‘virtual void sgpp::optimization::optimizer::DifferentialEvolution::optimize()’:
optimization/src/sgpp/optimization/optimizer/unconstrained/DifferentialEvolution.cpp:135:27: error: ‘d’ not specified in enclosing ‘parallel’
135 | base::DataVector y(d);
| ^
optimization/src/sgpp/optimization/optimizer/unconstrained/DifferentialEvolution.cpp:132:9: error: enclosing ‘parallel’
132 | #pragma omp parallel shared(k, a_k, b_k, c_k, j_k, prob_k, xOld, fx, fCurrentOpt, xOptIndex, \
| ^~~
scons: *** [optimization/src/sgpp/optimization/optimizer/unconstrained/DifferentialEvolution.os] Error 1
scons: building terminated because of errors.
Metadata
Metadata
Assignees
Labels
bugCrashes, freezes, compilation/run-time errors, undesirable behavior, wrong info in help/docsCrashes, freezes, compilation/run-time errors, undesirable behavior, wrong info in help/docsfixedIssues that have been fixedIssues that have been fixed