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

Configure SWIFT with VELOCIraptor #46

Open tianninglyu opened 8 months ago

tianninglyu commented 8 months ago

Dear all,

I'm trying to configure SWIFT with VELOCIraptor. I have installed VELOCIraptor(with hdf5 parallel support and mpi), and when I configure SWIFT with it, it could be found well:

checking for InitVelociraptor in -lvelociraptor... yes
checking for VR_NOMASS in -lvelociraptor... no
VELOCIraptor not compiled to so as to *not* store masses per particle.

However, in the configure summary,

VELOCIraptor enabled : no

I've tried to run swift with the label '--velociraptor', the result shows that 'VELOCIraptor is not available'. I don't know why.

Thank you, Tianning

tianninglyu commented 8 months ago

OK I find the reason... if I configure --with-velociraptor-mpi, in the summary it will be no, and the code cannot work correctly, if I configure with --with-velociraptor, in the summary it will be yes, and it can work. But I wonder if it is correct to --with-velociraptor to a mpi-support velociraptor.