Difference between revisions of "Benchmarking: Gadget2"
Jump to navigation
Jump to search
| Line 9: | Line 9: | ||
* openmpi | * openmpi | ||
| − | * hdf5 | + | * hdf5 (1.6.x) |
* GSL | * GSL | ||
* fftw (2.1.5 or earlier) - must be configured as below to produce the file: srfftw_mpi.h | * fftw (2.1.5 or earlier) - must be configured as below to produce the file: srfftw_mpi.h | ||
Latest revision as of 15:33, 27 January 2014
Useful Information
http://www.hpcadvisorycouncil.com/pdf/GADGET-2_Best_Practices.pdf
Compilation
Pre Requisites
- openmpi
- hdf5 (1.6.x)
- 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