-
Notifications
You must be signed in to change notification settings - Fork 572
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
Configuration with float and complex #12750
Comments
@trilinos/kokkos-kernels and @trilinos/tpetra |
I think the issue is that the combination of |
See #12755. |
@marcfehling Can you try again with the current develop branch? |
Thank you for the quick response. I tried the following combinations:
The error message introduced with #12755 was not triggered in either configuration. So the configuration of these packages is consistent. I guess the problem was rather that we expected that |
@marcfehling Whoops, sorry. I'll try this again. #12756 |
With
This is helpful! Thank you! Do you think a similar warning would be useful for kokkos-kernels as well? |
@marcfehling We do actually need one change in KokkosKernels, see kokkos/kokkos-kernels#2115. Unlike Tpetra, it's fine to build KokkosKernels with a complex type enabled, and its corresponding real type not enabled. |
I noticed differences in the configuration when enabling complex numbers and float datatypes with the following set of parameters:
Trilinos_ENABLE_COMPLEX_DOUBLE=ON
andTrilinos_ENABLE_COMPLEX_FLOAT=ON
Trilinos_ENABLE_COMPLEX=ON
andTrilinos_ENABLE_FLOAT=ON
In the deal.II library, we advised its users to use parameter set 1 (in this readme).
I noticed that Trilinos will not provide instantions for
std::complex<float>
in Tpetra classes and functions with the parameter set 1. If I read the documentation correctly, both options schould work.The affected packages seem to be kokkos-kernels and tpetra, so I'll mark @ndellingwood and @csiefer2. Maybe other packages are affected as well.
Steps to Reproduce
The following Cmake configurations were generated with Trilinos 15.0.0. I get the same results with Trilinos 14.4.0 and 13.4.1.
cmake -DTrilinos_ENABLE_ALL_PACKAGES=ON -DTPL_ENABLE_Netcdf=OFF -DTrilinos_ENABLE_COMPLEX_DOUBLE=ON -DTrilinos_ENABLE_COMPLEX_FLOAT=ON ..
CMakeCache.txt
cmake -DTrilinos_ENABLE_ALL_PACKAGES=ON -DTPL_ENABLE_Netcdf=OFF -DTrilinos_ENABLE_COMPLEX=ON -DTrilinos_ENABLE_FLOAT=ON ..
CMakeCache.txt
The text was updated successfully, but these errors were encountered: