Hi Tom, Thanks for the flagging this, now fixed.
The ultimate cause was that your “star” particles had very different smoothing lengths (by several orders of magnitude) between the two snapshots, and all splash was doing was setting the weights to zero on these particles, but still going through the procedure of using them in the interpolation, with huge h values. I therefore fixed the interpolation routines to skip particles with zero weight which fixed the slowdown. But obviously if you did switch your star particles on in the menu you would have the same issue. Changes pushed to GitHub and will be included in v3.6.0 Best wishes, Daniel PS: For reference, just the simple command splash *.hdf5 will work in recent versions, you don’t need gsplash or -gadget_hdf5 flags as this is one of the auto-recognised formats. > On 25 Oct 2022, at 1:14 am, Bending, Tom <[email protected]> wrote: > > Dear Daniel, > > students are using the SWIFT SPH code. It is our first foray into using > splash to read hdf5 files, they are of the equivalent format to gadget files. > The issue does not appear to be directly related to reading the files, this > works fine. It is that the time splash is taking to render plots is > impractically high, but only for some dump files, and we are struggling to > understand why. Below are two similar dump files, the latter takes orders of > magnitude longer to render (y,x,density or 2,1,8). > > output_0065.hdf5 > slow_0065.hdf5 > > We are compiling and running splash as follows on the Exeter supercomputer > ISCA. > We install in our homespace following the instructions at, > https://splash-viz.readthedocs.io/en/latest/getting-started.html. > git clone https://github.com/danieljprice/splash.git > cd splash; git clone https://github.com/danieljprice/giza.git > export HDF5ROOT=/gpfs/ts0/shared/software/Anaconda3/5.2.0 > export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$HDF5ROOT/lib > make SYSTEM=ifort HDF5=yes withgiza > The two lines in bold may be impossible to reproduce at your end. I am > assuming that they will not affect the reproducibility of the problem. > > This is in the bashrc for running splash > export SPLASH_DIR=$HOME/splash > export PATH=$PATH:$SPLASH_DIR/bin > export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$SPLASH_DIR/giza/lib > export HDF5ROOT=/gpfs/ts0/shared/software/Anaconda3/5.2.0 > export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$HDF5ROOT/lib > alias gsplash='splash -gadget_hdf5 ' > > Any light that you can shed on this would be appreciated. > > Best wishes, > Tom Bending > -- You received this message because you are subscribed to the Google Groups "SPLASH users forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/splash-users/B79FCAD6-0306-4CAB-9ED5-DF50232E659C%40monash.edu.
