Picongpu: Compile error upon changing precision in collisions.param

Created on 12 Apr 2021  路  5Comments  路  Source: ComputationalRadiationPhysics/picongpu

concerning the newly merged PR #3416 - actually the changes that resolved issue #3461

in collisions.param the parameter float_COLL for the precision can be set. My paramset compiles with this value set to float_64 (the default), but the compilation breaks when changing that value to float_X or float_32.
This seems to be a minor issue, since using float_64 is beneficial anyways, but just wanted to mention.

The error is:
error: no suitable user-defined conversion from "pmacc::math::Vector<picongpu::precision32Bit::float_X, 3, pmacc::math::StandardAccessor, pmacc::math::StandardNavigator, pmacc::math::detail::Vector_components>" to "const picongpu::particles::collision::precision::float3_COLL" exists

my complete output from pic-build:
compile.log

bug user input

Most helpful comment

All 5 comments

@pordyna I assigned you. I think it will be not so hard to fix.

Oh, missed that. Thank you! :smile:

The bug should be solved with #3585, I was able to reproduce the issue with tests/CollisionsBeamRelaxation

closed with #3585

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ax3l picture ax3l  路  4Comments

HighIander picture HighIander  路  4Comments

ax3l picture ax3l  路  4Comments

berceanu picture berceanu  路  3Comments

psychocoderHPC picture psychocoderHPC  路  4Comments