Skip to content

Compilation error: template-id qbswap does not match any template declaration #105

@the1sledge

Description

@the1sledge

When compiling ACE on HPC (not Palmetto) CentOS 7.9 using anaconda with the versions of modules below, I get an error:

In file included from ../../src/core/edatastream.h:5,
                 from ../../src/core/edatastream.cpp:1:
../../src/core/edatastream_ext.h:5:26: error: template-id ‘qbswap<float>’ for ‘float qbswap(float)’ does not match any template declaration
    5 | template <> inline float qbswap<float>(float source) { return source; }
      |                          ^~~~~~~~~~~~~
Currently Loaded Modulefiles:
  1) gsl/2.1                 5) nvhpc/12.2              9) qt/6.2.4               13) gcc/12.2.0
  2) openblas/0.2.20_32      6) cuda65/toolkit/6.5.14  10) gmp/6.0.0
  3) openmpi/4.0.5           7) boost/1.79.0           11) mpc/1.0.2
  4) lapack/3.8.0            8) cuda/11.7              12) mpfr/4.0.0

I've changed versions of the module and searched the issues and the wider Internet for solutions but I am missing something or lacking knowledge/experience to uncover the solution.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions