Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests failing when running "make check" - simulationfactorytest.h #79

Open
dvalters opened this issue Mar 3, 2022 · 0 comments
Open

Comments

@dvalters
Copy link

dvalters commented Mar 3, 2022

Summary

When I am running the make check step of libgeodecomp installation (v 0.4.0) I cannot run all the tests to completion, specifically some of the ones in simulationfactorytest.h. I am using GCC version 8.5.0 20210514 (Red Hat 8.5.0-10).

The first error is:

Consolidate compiler generated dependencies of target test__src_misc_test_parallel_openmp_1
[ 94%] Building CXX object src/misc/test/parallel_openmp_1/CMakeFiles/test__src_misc_test_parallel_openmp_1.dir/simulationfactorytest.cpp.o
In file included from /usr/lib/libgeodecomp-0.4.0/src/misc/test/parallel_openmp_1/simulationfactorytest.cpp:23:
/usr/lib/libgeodecomp-0.4.0/src/misc/test/parallel_openmp_1/simulationfactorytest.h:17:51: error: expected template-name before ‘<’ token
         public APITraits::HasPredefinedMPIDataType<double>
                                                   ^
/usr/lib/libgeodecomp-0.4.0/src/misc/test/parallel_openmp_1/simulationfactorytest.h:17:51: error: expected ‘{’ before ‘<’ token
/usr/lib/libgeodecomp-0.4.0/src/misc/test/parallel_openmp_1/simulationfactorytest.h:17:51: error: expected unqualified-id before ‘<’ token
/usr/lib/libgeodecomp-0.4.0/src/misc/test/parallel_openmp_1/simulationfactorytest.h: In constructor ‘LibGeoDecomp::SimFabTestInitializer::SimFabTestInitializer(LibGeoDecomp::Coord<3>, unsigned int)’:
/usr/lib/libgeodecomp-0.4.0/src/misc/test/parallel_openmp_1/simulationfactorytest.h:41:68: error: no matching function for call to ‘LibGeoDecomp::SimpleInitializer<LibGeoDecomp::SimFabTestCell>::SimpleInitializer(LibGeoDecomp::Coord<3>&, unsigned int&)’
         SimpleInitializer<SimFabTestCell>(gridDimensions, timeSteps)

Then later on:

In file included from /usr/lib/libgeodecomp-0.4.0/src/misc/test/parallel_openmp_1/simulationfactorytest.cpp:23:
/usr/lib/libgeodecomp-0.4.0/src/misc/test/parallel_openmp_1/simulationfactorytest.h: In member function ‘void LibGeoDecomp::SimulationFactoryTest::testBasic()’:
/usr/lib/libgeodecomp-0.4.0/src/misc/test/parallel_openmp_1/simulationfactorytest.h:67:85: error: invalid new-expression of abstract class type ‘LibGeoDecomp::SimFabTestInitializer’
         Simulator<SimFabTestCell> *sim = fab(new SimFabTestInitializer(dim, maxSteps));
                                                                                     ^

This may be something I have missed in the installtion process, but I have been following the instructions on the documentation site with regards to requirements etc. (as far as I know.)

@dvalters dvalters changed the title Tests failing when running "make check" Tests failing when running "make check" - simulationfactorytest.h Mar 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant