Re: Gadget2 on NCSA-Ember

From: Christian Schultz <schultz.christian_at_gmail.com>
Date: Mon, 24 Jan 2011 21:33:21 +0100

You need an older version of HDF5. Gadget2 is not compatible with the newest
version of HDF5.

Christian Schultz

2011/1/24 Agarwal, Shankar <sagarwal_at_ku.edu>

>
> Hi,
>
> I am trying to install Gadget2 on NCSA-Ember. I have edited the Makefile
> like this:
>
> CC = gcc -lmpi
> OPTIMIZE = -O3 -Wall
> GSL_INCL = -I/usr/apps/math/gsl/gnu/1.14/include
> GSL_LIBS = -L/usr/apps/math/gsl/gnu/1.14/lib
> FFTW_INCL= -I/usr/apps/math/fftw/gnu/3.2.2/include
> FFTW_LIBS = -L/usr/apps/math/fftw/gnu/3.2.2/lib
> MPICHLIB =
> HDF5INCL = -I/usr/apps/hdf/hdf5/v185-patch1/include
> HDF5LIB = -lhdf5 -lz -L/usr/apps/hdf/szip/lib -lsz
>
> The "make" command crashes at io.c. Please let me know if you can help me
> debug this.
>
> -Shankar
> KU Cosmology Group
>
>
> gcc -lmpi -O3 -Wall -DPERIODIC -DUNEQUALSOFTENINGS -DPEANOHILBERT
> -DWALLCLOCK -DPMGRID=128 -DSYNCHRONIZATION -DHAVE_HDF5
> -I/usr/apps/math/gsl/gnu/1.14/include
> -I/usr/apps/math/fftw/gnu/3.2.2/include
> -I/usr/apps/hdf/hdf5/v185-patch1/include -c -o main.o main.c
> gcc -lmpi -O3 -Wall -DPERIODIC -DUNEQUALSOFTENINGS -DPEANOHILBERT
> -DWALLCLOCK -DPMGRID=128 -DSYNCHRONIZATION -DHAVE_HDF5
> -I/usr/apps/math/gsl/gnu/1.14/include
> -I/usr/apps/math/fftw/gnu/3.2.2/include
> -I/usr/apps/hdf/hdf5/v185-patch1/include -c -o run.o run.c
> gcc -lmpi -O3 -Wall -DPERIODIC -DUNEQUALSOFTENINGS -DPEANOHILBERT
> -DWALLCLOCK -DPMGRID=128 -DSYNCHRONIZATION -DHAVE_HDF5
> -I/usr/apps/math/gsl/gnu/1.14/include
> -I/usr/apps/math/fftw/gnu/3.2.2/include
> -I/usr/apps/hdf/hdf5/v185-patch1/include -c -o predict.o predict.c
> gcc -lmpi -O3 -Wall -DPERIODIC -DUNEQUALSOFTENINGS -DPEANOHILBERT
> -DWALLCLOCK -DPMGRID=128 -DSYNCHRONIZATION -DHAVE_HDF5
> -I/usr/apps/math/gsl/gnu/1.14/include
> -I/usr/apps/math/fftw/gnu/3.2.2/include
> -I/usr/apps/hdf/hdf5/v185-patch1/include -c -o begrun.o begrun.c
> gcc -lmpi -O3 -Wall -DPERIODIC -DUNEQUALSOFTENINGS -DPEANOHILBERT
> -DWALLCLOCK -DPMGRID=128 -DSYNCHRONIZATION -DHAVE_HDF5
> -I/usr/apps/math/gsl/gnu/1.14/include
> -I/usr/apps/math/fftw/gnu/3.2.2/include
> -I/usr/apps/hdf/hdf5/v185-patch1/include -c -o endrun.o endrun.c
> gcc -lmpi -O3 -Wall -DPERIODIC -DUNEQUALSOFTENINGS -DPEANOHILBERT
> -DWALLCLOCK -DPMGRID=128 -DSYNCHRONIZATION -DHAVE_HDF5
> -I/usr/apps/math/gsl/gnu/1.14/include
> -I/usr/apps/math/fftw/gnu/3.2.2/include
> -I/usr/apps/hdf/hdf5/v185-patch1/include -c -o global.o global.c
> gcc -lmpi -O3 -Wall -DPERIODIC -DUNEQUALSOFTENINGS -DPEANOHILBERT
> -DWALLCLOCK -DPMGRID=128 -DSYNCHRONIZATION -DHAVE_HDF5
> -I/usr/apps/math/gsl/gnu/1.14/include
> -I/usr/apps/math/fftw/gnu/3.2.2/include
> -I/usr/apps/hdf/hdf5/v185-patch1/include -c -o timestep.o timestep.c
> gcc -lmpi -O3 -Wall -DPERIODIC -DUNEQUALSOFTENINGS -DPEANOHILBERT
> -DWALLCLOCK -DPMGRID=128 -DSYNCHRONIZATION -DHAVE_HDF5
> -I/usr/apps/math/gsl/gnu/1.14/include
> -I/usr/apps/math/fftw/gnu/3.2.2/include
> -I/usr/apps/hdf/hdf5/v185-patch1/include -c -o init.o init.c
> gcc -lmpi -O3 -Wall -DPERIODIC -DUNEQUALSOFTENINGS -DPEANOHILBERT
> -DWALLCLOCK -DPMGRID=128 -DSYNCHRONIZATION -DHAVE_HDF5
> -I/usr/apps/math/gsl/gnu/1.14/include
> -I/usr/apps/math/fftw/gnu/3.2.2/include
> -I/usr/apps/hdf/hdf5/v185-patch1/include -c -o restart.o restart.c
> gcc -lmpi -O3 -Wall -DPERIODIC -DUNEQUALSOFTENINGS -DPEANOHILBERT
> -DWALLCLOCK -DPMGRID=128 -DSYNCHRONIZATION -DHAVE_HDF5
> -I/usr/apps/math/gsl/gnu/1.14/include
> -I/usr/apps/math/fftw/gnu/3.2.2/include
> -I/usr/apps/hdf/hdf5/v185-patch1/include -c -o io.o io.c
> io.c: In function ‘write_file’:
> io.c:774: error: too few arguments to function ‘H5Gcreate2’
> io.c:781: error: too few arguments to function ‘H5Gcreate2’
> io.c:880: error: too few arguments to function ‘H5Dcreate2’
> io.c: In function ‘write_header_attributes_in_hdf5’:
> io.c:1005: error: too few arguments to function ‘H5Acreate2’
> io.c:1012: error: too few arguments to function ‘H5Acreate2’
> io.c:1019: error: too few arguments to function ‘H5Acreate2’
> io.c:1027: error: too few arguments to function ‘H5Acreate2’
> io.c:1033: error: too few arguments to function ‘H5Acreate2’
> io.c:1039: error: too few arguments to function ‘H5Acreate2’
> io.c:1045: error: too few arguments to function ‘H5Acreate2’
> io.c:1051: error: too few arguments to function ‘H5Acreate2’
> io.c:1057: error: too few arguments to function ‘H5Acreate2’
> io.c:1063: error: too few arguments to function ‘H5Acreate2’
> io.c:1069: error: too few arguments to function ‘H5Acreate2’
> io.c:1075: error: too few arguments to function ‘H5Acreate2’
> io.c:1081: error: too few arguments to function ‘H5Acreate2’
> io.c:1087: error: too few arguments to function ‘H5Acreate2’
> io.c:1093: error: too few arguments to function ‘H5Acreate2’
> io.c:1099: error: too few arguments to function ‘H5Acreate2’
> io.c:1108: error: too few arguments to function ‘H5Acreate2’
> make: *** [io.o] Error 1
>
>
>
>
> -----------------------------------------------------------
>
> If you wish to unsubscribe from this mailing, send mail to
> minimalist_at_MPA-Garching.MPG.de with a subject of: unsubscribe gadget-list
> A web-archive of this mailing list is available here:
> http://www.mpa-garching.mpg.de/gadget/gadget-list
>
Received on 2011-01-24 21:33:24

This archive was generated by hypermail 2.3.0 : 2023-01-10 10:01:31 CET