STEllAR-GROUP / octotiger

Astrophysics program simulating the evolution of star systems based on the fast multipole method on adaptive Octrees
http://octotiger.stellar-group.org/
Boost Software License 1.0
48 stars 17 forks source link

Allow different SVE lengths (128, 256 and 512 bit) #484

Closed G-071 closed 5 months ago

G-071 commented 6 months ago

This PR slightly changes the build system to allow for SVE lengths other than 512 bit (specifically 128 and 256 bit, as those SIMD lengths have previously been tested with Octo-Tiger).

This still needs some testing on an actual SVE machine and some adaptions to the octotiger Spack recipe, hence me opening this as a draft PR for now.

G-071 commented 5 months ago

I tested it on a Grace-Grace preproduction system and it seems to work as intended with a SVE length of 128. I think this is good to go!