Benchmarking: Gadget2
Useful Information
http://www.hpcadvisorycouncil.com/pdf/GADGET-2_Best_Practices.pdf
Compilation
= Pre Requisites
- openmpi
- hdf5
- GSL
- fftw (2.1.5 or earlier) - must be configured as below to produce the file: srfftw_mpi.h
./configure --prefix=<path> --enable-float --enable-type-prefix --enable-mpiCompile Gadget2
Edit the makefile to update the paths then run make.
ifeq ($(SYSTYPE),"MPA")
CC = mpicc
OPTIMIZE = -O3 -Wall
GSL_INCL = -I/usr/include/gsl/
GSL_LIBS = -L/usr/lib64/ #/usr/common/pdsoft/lib -Wl,"-R /usr/common/pdsoft/lib"
FFTW_INCL= -I/tmp/ICG/ICG_tender/gadget2/Gadget-2.0.7/fftw-install/include/
FFTW_LIBS= -L/tmp/ICG/ICG_tender/gadget2/Gadget-2.0.7/fftw-install/lib/
MPICHLIB =
HDF5INCL = -I/cm/shared/apps/hdf5/1.6.10/include/
HDF5LIB = -L/cm/shared/apps/hdf5/1.6.10/lib -lhdf5 -lz
endif