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

Error when compiling with double precision #53

Open
LudwigBoess opened this issue Jun 25, 2024 · 0 comments · May be fixed by #54
Open

Error when compiling with double precision #53

LudwigBoess opened this issue Jun 25, 2024 · 0 comments · May be fixed by #54
Assignees
Labels
bug Something isn't working compilation Building/compilation errors

Comments

@LudwigBoess
Copy link
Collaborator

When configuring with -D precision=double I get the following error on compiling:

[ 96%] Building CXX object src/framework/CMakeFiles/ntt_framework.dir/domain/metadomain.cpp.o
/project/astroplasmas/ludwig/PIC/ntt_v1.0/entity/src/framework/domain/metadomain.cpp(382): error: no instance of overloaded function "std::min" matches the argument list
            argument types are: (float, const real_t)
          detected during instantiation of "void ntt::Metadomain<S, M>::metricCompatibilityCheck() const [with S=ntt::SimEngine::SRPIC, M=metric::Minkowski<_1D>]" 
(407): here

/project/astroplasmas/ludwig/PIC/ntt_v1.0/entity/src/framework/domain/metadomain.cpp(385): error: no instance of function template "cmp::AlmostEqual" matches the argument list
            argument types are: (const real_t, float)
          detected during instantiation of "void ntt::Metadomain<S, M>::metricCompatibilityCheck() const [with S=ntt::SimEngine::SRPIC, M=metric::Minkowski<_1D>]" 
(407): here

/project/astroplasmas/ludwig/PIC/ntt_v1.0/entity/src/framework/domain/metadomain.cpp(382): error: no instance of overloaded function "std::min" matches the argument list
            argument types are: (float, const real_t)
          detected during instantiation of "void ntt::Metadomain<S, M>::metricCompatibilityCheck() const [with S=ntt::SimEngine::SRPIC, M=metric::Minkowski<_2D>]" 
(408): here

/project/astroplasmas/ludwig/PIC/ntt_v1.0/entity/src/framework/domain/metadomain.cpp(385): error: no instance of function template "cmp::AlmostEqual" matches the argument list
            argument types are: (const real_t, float)
          detected during instantiation of "void ntt::Metadomain<S, M>::metricCompatibilityCheck() const [with S=ntt::SimEngine::SRPIC, M=metric::Minkowski<_2D>]" 
(408): here

/project/astroplasmas/ludwig/PIC/ntt_v1.0/entity/src/framework/domain/metadomain.cpp(382): error: no instance of overloaded function "std::min" matches the argument list
            argument types are: (float, const real_t)
          detected during instantiation of "void ntt::Metadomain<S, M>::metricCompatibilityCheck() const [with S=ntt::SimEngine::SRPIC, M=metric::Minkowski<_3D>]" 
(409): here

/project/astroplasmas/ludwig/PIC/ntt_v1.0/entity/src/framework/domain/metadomain.cpp(385): error: no instance of function template "cmp::AlmostEqual" matches the argument list
            argument types are: (const real_t, float)
          detected during instantiation of "void ntt::Metadomain<S, M>::metricCompatibilityCheck() const [with S=ntt::SimEngine::SRPIC, M=metric::Minkowski<_3D>]" 
(409): here

/project/astroplasmas/ludwig/PIC/ntt_v1.0/entity/src/framework/domain/metadomain.cpp(382): error: no instance of overloaded function "std::min" matches the argument list
            argument types are: (float, const real_t)
          detected during instantiation of "void ntt::Metadomain<S, M>::metricCompatibilityCheck() const [with S=ntt::SimEngine::SRPIC, M=metric::Spherical<_2D>]" 
(410): here

/project/astroplasmas/ludwig/PIC/ntt_v1.0/entity/src/framework/domain/metadomain.cpp(385): error: no instance of function template "cmp::AlmostEqual" matches the argument list
            argument types are: (const real_t, float)
          detected during instantiation of "void ntt::Metadomain<S, M>::metricCompatibilityCheck() const [with S=ntt::SimEngine::SRPIC, M=metric::Spherical<_2D>]" 
(410): here

/project/astroplasmas/ludwig/PIC/ntt_v1.0/entity/src/framework/domain/metadomain.cpp(382): error: no instance of overloaded function "std::min" matches the argument list
            argument types are: (float, const real_t)
          detected during instantiation of "void ntt::Metadomain<S, M>::metricCompatibilityCheck() const [with S=ntt::SimEngine::SRPIC, M=metric::QSpherical<_2D>]" 
(411): here

/project/astroplasmas/ludwig/PIC/ntt_v1.0/entity/src/framework/domain/metadomain.cpp(385): error: no instance of function template "cmp::AlmostEqual" matches the argument list
            argument types are: (const real_t, float)
          detected during instantiation of "void ntt::Metadomain<S, M>::metricCompatibilityCheck() const [with S=ntt::SimEngine::SRPIC, M=metric::QSpherical<_2D>]" 
(411): here

/project/astroplasmas/ludwig/PIC/ntt_v1.0/entity/src/framework/domain/metadomain.cpp(382): error: no instance of overloaded function "std::min" matches the argument list
            argument types are: (float, const real_t)
          detected during instantiation of "void ntt::Metadomain<S, M>::metricCompatibilityCheck() const [with S=ntt::SimEngine::GRPIC, M=metric::KerrSchild<_2D>]" 
(412): here

/project/astroplasmas/ludwig/PIC/ntt_v1.0/entity/src/framework/domain/metadomain.cpp(385): error: no instance of function template "cmp::AlmostEqual" matches the argument list
            argument types are: (const real_t, float)
          detected during instantiation of "void ntt::Metadomain<S, M>::metricCompatibilityCheck() const [with S=ntt::SimEngine::GRPIC, M=metric::KerrSchild<_2D>]" 
(412): here

/project/astroplasmas/ludwig/PIC/ntt_v1.0/entity/src/framework/domain/metadomain.cpp(382): error: no instance of overloaded function "std::min" matches the argument list
            argument types are: (float, const real_t)
          detected during instantiation of "void ntt::Metadomain<S, M>::metricCompatibilityCheck() const [with S=ntt::SimEngine::GRPIC, M=metric::QKerrSchild<_2D>]" 
(413): here

/project/astroplasmas/ludwig/PIC/ntt_v1.0/entity/src/framework/domain/metadomain.cpp(385): error: no instance of function template "cmp::AlmostEqual" matches the argument list
            argument types are: (const real_t, float)
          detected during instantiation of "void ntt::Metadomain<S, M>::metricCompatibilityCheck() const [with S=ntt::SimEngine::GRPIC, M=metric::QKerrSchild<_2D>]" 
(413): here

/project/astroplasmas/ludwig/PIC/ntt_v1.0/entity/src/framework/domain/metadomain.cpp(382): error: no instance of overloaded function "std::min" matches the argument list
            argument types are: (float, const real_t)
          detected during instantiation of "void ntt::Metadomain<S, M>::metricCompatibilityCheck() const [with S=ntt::SimEngine::GRPIC, M=metric::KerrSchild0<_2D>]" 
(414): here

/project/astroplasmas/ludwig/PIC/ntt_v1.0/entity/src/framework/domain/metadomain.cpp(385): error: no instance of function template "cmp::AlmostEqual" matches the argument list
            argument types are: (const real_t, float)
          detected during instantiation of "void ntt::Metadomain<S, M>::metricCompatibilityCheck() const [with S=ntt::SimEngine::GRPIC, M=metric::KerrSchild0<_2D>]" 
(414): here

16 errors detected in the compilation of "/project/astroplasmas/ludwig/PIC/ntt_v1.0/entity/src/framework/domain/metadomain.cpp".
@haykh haykh added the bug Something isn't working label Jun 26, 2024
@haykh haykh self-assigned this Jun 26, 2024
@haykh haykh added the compilation Building/compilation errors label Jun 27, 2024
@haykh haykh linked a pull request Jun 27, 2024 that will close this issue
@haykh haykh linked a pull request Jun 27, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working compilation Building/compilation errors
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants