Skip to content
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

GadgetHDF / Swift support #123

Merged
merged 17 commits into from
Jun 13, 2024
Merged

GadgetHDF / Swift support #123

merged 17 commits into from
Jun 13, 2024

Conversation

apontzen
Copy link
Member

@apontzen apontzen commented Apr 16, 2024

Tests conducted on:

  • Gadget 4 (DMO)
  • SWIFT (DMO)

This loads into pynbody, but is not yet actually tested for initialising a Gadget4/Arepo/Swift sim
Unfortunately using HDF5's own C++ library is very complicated because

i) It is linked against (probably) Apple's own libc++
ii) This means one cannot link it from g++ because g++'s STL expects different ABI
iii) But Apple's own clang does not have OpenMP
iv) If one tries to use homebrew clang, one gets mysterious errors, probably due to slightly different clang libc++ versions

So, instead, I have migrated to a different HDF C++ wrapper (which anyway seems far better written)
@apontzen apontzen changed the title Preliminary GadgetHDF support GadgetHDF support Apr 20, 2024
@apontzen apontzen merged commit e9ef343 into master Jun 13, 2024
8 checks passed
@apontzen apontzen changed the title GadgetHDF support GadgetHDF / Swift support Jun 13, 2024
@apontzen apontzen deleted the gadget-hdf branch June 13, 2024 10:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant