ornladios / ADIOS2

Next generation of ADIOS developed in the Exascale Computing Program
https://adios2.readthedocs.io/en/latest/index.html
Apache License 2.0
274 stars 127 forks source link

Compiling Expression.cpp fails with 2.10.2 on ubuntu 20.4 #4384

Open pnorbert opened 4 weeks ago

pnorbert commented 4 weeks ago

Missing #include <functional> in source/adios2/toolkit/derived/Expression.cpp

Ubuntu 20.04.6 LTS g++ (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0

release_210 branch

source/adios2/toolkit/derived/Expression.cpp:117:10: error: ‘function’ in namespace ‘std’ does not name a template type 117 | std::function<DerivedData(std::vector, DataType)> ComputeFct;

The necessary include is in the master branch.

vicentebolea commented 4 weeks ago

We missed backporting https://github.com/ornladios/ADIOS2/pull/4209 to release_210.