SWIFTSIM / SWIFT

Modern astrophysics and cosmology particle-based code. Mirror of gitlab developments at https://gitlab.cosma.dur.ac.uk/swift/swiftsim
http://www.swiftsim.com
GNU Lesser General Public License v3.0
88 stars 58 forks source link

SIDM Branch not compiling due to parallel issues #37

Closed davidharvey1986 closed 8 months ago

davidharvey1986 commented 1 year ago

When trying to compile the SIDM branch of Swift to a large machine it has issues with the parallel_io.c. I have attached the configuration of SWIFT and the error log configure.log file.

error.log

davidharvey1986 commented 1 year ago

Hi there, so following this I have made some hacks at parallel_io.c and now it compiles (plus some extra indentation and print statement complaints), I haven't test this yet though. So let me know what you want me to do with this changes.

MatthieuSchaller commented 1 year ago

You can also run without parallel-hdf5 as a backup option?

davidharvey1986 commented 1 year ago

I guess this only effects the writing the snap shots? And wont massively impact the speed?

MatthieuSchaller commented 1 year ago

Snapshots only, yes. Whether the parallel-io is faster than the distributed one is dependant on your file-system.

davidharvey1986 commented 1 year ago

Well, its compiled and seems to be running, so I will pass these changes past Camila as they could be committed.