ORNL / TASMANIAN

The Toolkit for Adaptive Stochastic Modeling and Non-Intrusive ApproximatioN
https://ornl.github.io/TASMANIAN/
Other
65 stars 24 forks source link

Tests fail in gcc 11.2.0 #654

Closed tribe01 closed 2 years ago

tribe01 commented 3 years ago

All the tests fail while building with gcc-11.2.0 Here are the cmake options used. Same options works well for 9.3.0

cmake -D CMAKE_INSTALL_PREFIX:PATH=/home/TASMANIAN/install_prefix -D Tasmanian_ENABLE_PYTHON:BOOL=ON -D CMAKE_BUILD_TYPE:STRING=Release ..

mkstoyanov commented 3 years ago

That's odd. I'll try to reproduce tomorrow, in the mean time can you pass in the output of:

./SparseGrids/gridtest

It should show an error if the problem is as simple as missing to link to some system library or if it is mixing the libstdc and libstc++ versions at runtime.

mkstoyanov commented 2 years ago

@tribe01 Just tested with gcc 11.2 on Ubuntu 21.10 and had no issues, so it is not as simple as the compiler.

I would need more information in order to help.

Which system are you using? Is this your own laptop? it's hard to imagine a large cluster has already migrated to gcc 11.2.

Have you tried to compiler and run a "hello world" program?

mkstoyanov commented 2 years ago

Stale, reopen if the problem is still there.