medyan-dev / medyan-public

Repo for issue tracking, documents and release. Learn more about MEDYAN at medyan.org.
https://medyan.org
Other
0 stars 0 forks source link

Add Apptainer #13

Closed nhz2 closed 1 year ago

nhz2 commented 1 year ago

This should hopefully make it easier to use older versions of medyan on HPC clusters.

I copied over

    # Use avx2 (default avx512 causes trouble in UMEsimd)
    sed -i 's/-mtune=native -march=native/-mavx2 -mno-avx512f/g' CMakeLists.txt

from the github CI. I'm also setting MEDYAN_NO_GUI="true". Do you know if there are other cmake or compiler flag things I should be using to make the executable more portable?

drelatgithub commented 1 year ago

Looks good. Thank you! Currently, the compile-time parameters seem okay. I'll also try whether this can be automatically built on GitHub linux environments.