jharno / cubep3m

cosmological n-body code
https://wiki.cita.utoronto.ca/index.php/CubePM
35 stars 11 forks source link

[Question] Is ARM64 a supported architecture? #11

Closed julien-faye closed 1 year ago

julien-faye commented 2 years ago

Hello,

I’d like to ask whether cubep3m is supported on Linux/Mac ARM64 systems ? Any concerns ? Any positive/negative experience ?

Thank you!

jharno commented 2 years ago

Hi, cubep3m has been successfully installed on all machines we've tried, with various architectures including IBM BlueGene and Linux machines with all of the Intel processors we could find. The Makefile needs to be modified in each case to update the compilation flags, but the code itself usually needs no modifications.

julien-faye commented 2 years ago

Thanks for the quick answer! I guess you mean the Makefiles in https://github.com/jharno/cubep3m/tree/master/source_threads ? Is there a HowTo build document somewhere ?

jharno commented 2 years ago

There are a number of Makefiles in that directory, hopefully you can get some inspiration by looking at some of these?

martin-g commented 1 year ago

This issue could be closed now! PR #13 added a Github Actions based CI that builds on Linux ARM64 via QEMU - https://github.com/jharno/cubep3m/actions/runs/3411354435/jobs/5675445778