Error when doing make

From: Dimitry Ayzenberg <dayzenbe_at_andrew.cmu.edu>
Date: Wed, 9 Sep 2009 17:20:44 -0400

So I think I have all the libraries and whatever else I need properly
installed and linked. But when I run make I get an odd error that I have
no idea how to fix. This is the full display when I do "make":

dimitry_at_Phoenix:~/Desktop/Gadget-2.0.4/Gadget2$ sudo make
mpicc -O3 -Wall -DPERIODIC -DUNEQUALSOFTENINGS -DPEANOHILBERT
-DWALLCLOCK -DPMGRID=128 -DSYNCHRONIZATION -DHAVE_HDF5
-I/usr/local/include -I/usr/local/include
-I/home/dimitry/Desktop/hdf5-1.8.3/hdf5/include -c -o main.o main.c
mpicc -O3 -Wall -DPERIODIC -DUNEQUALSOFTENINGS -DPEANOHILBERT
-DWALLCLOCK -DPMGRID=128 -DSYNCHRONIZATION -DHAVE_HDF5
-I/usr/local/include -I/usr/local/include
-I/home/dimitry/Desktop/hdf5-1.8.3/hdf5/include -c -o run.o run.c
run.c: In function ‘run’:
run.c:102: warning: ignoring return value of ‘system’, declared with
attribute warn_unused_result
mpicc -O3 -Wall -DPERIODIC -DUNEQUALSOFTENINGS -DPEANOHILBERT
-DWALLCLOCK -DPMGRID=128 -DSYNCHRONIZATION -DHAVE_HDF5
-I/usr/local/include -I/usr/local/include
-I/home/dimitry/Desktop/hdf5-1.8.3/hdf5/include -c -o predict.o
predict.c
mpicc -O3 -Wall -DPERIODIC -DUNEQUALSOFTENINGS -DPEANOHILBERT
-DWALLCLOCK -DPMGRID=128 -DSYNCHRONIZATION -DHAVE_HDF5
-I/usr/local/include -I/usr/local/include
-I/home/dimitry/Desktop/hdf5-1.8.3/hdf5/include -c -o begrun.o begrun.c
begrun.c: In function ‘read_parameter_file’:
begrun.c:602: warning: ignoring return value of ‘fgets’, declared with
attribute warn_unused_result
begrun.c:653: warning: ignoring return value of ‘system’, declared with
attribute warn_unused_result
mpicc -O3 -Wall -DPERIODIC -DUNEQUALSOFTENINGS -DPEANOHILBERT
-DWALLCLOCK -DPMGRID=128 -DSYNCHRONIZATION -DHAVE_HDF5
-I/usr/local/include -I/usr/local/include
-I/home/dimitry/Desktop/hdf5-1.8.3/hdf5/include -c -o endrun.o endrun.c
mpicc -O3 -Wall -DPERIODIC -DUNEQUALSOFTENINGS -DPEANOHILBERT
-DWALLCLOCK -DPMGRID=128 -DSYNCHRONIZATION -DHAVE_HDF5
-I/usr/local/include -I/usr/local/include
-I/home/dimitry/Desktop/hdf5-1.8.3/hdf5/include -c -o global.o global.c
mpicc -O3 -Wall -DPERIODIC -DUNEQUALSOFTENINGS -DPEANOHILBERT
-DWALLCLOCK -DPMGRID=128 -DSYNCHRONIZATION -DHAVE_HDF5
-I/usr/local/include -I/usr/local/include
-I/home/dimitry/Desktop/hdf5-1.8.3/hdf5/include -c -o timestep.o
timestep.c
mpicc -O3 -Wall -DPERIODIC -DUNEQUALSOFTENINGS -DPEANOHILBERT
-DWALLCLOCK -DPMGRID=128 -DSYNCHRONIZATION -DHAVE_HDF5
-I/usr/local/include -I/usr/local/include
-I/home/dimitry/Desktop/hdf5-1.8.3/hdf5/include -c -o init.o init.c
mpicc -O3 -Wall -DPERIODIC -DUNEQUALSOFTENINGS -DPEANOHILBERT
-DWALLCLOCK -DPMGRID=128 -DSYNCHRONIZATION -DHAVE_HDF5
-I/usr/local/include -I/usr/local/include
-I/home/dimitry/Desktop/hdf5-1.8.3/hdf5/include -c -o restart.o
restart.c
restart.c: In function ‘restart’:
restart.c:78: warning: ignoring return value of ‘system’, declared with
attribute warn_unused_result
mpicc -O3 -Wall -DPERIODIC -DUNEQUALSOFTENINGS -DPEANOHILBERT
-DWALLCLOCK -DPMGRID=128 -DSYNCHRONIZATION -DHAVE_HDF5
-I/usr/local/include -I/usr/local/include
-I/home/dimitry/Desktop/hdf5-1.8.3/hdf5/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

Can someone please help me?
Thanks,
Dimitry
Received on 2009-09-09 23:39:01

This archive was generated by hypermail 2.3.0 : 2022-09-01 14:03:42 CEST