Dear Mr.Johnson and MPB users: I am a new MPB user. I installed MPB without HDF5 first and it worked well. Later I tried to install MPB with HDF5, but there comes error when I type make. Here is the log:
Making all in src/util make[1]: Entering directory `/home/lab-101/mpb-1.4.2/src/util' cc -DHAVE_CONFIG_H -I. -I/usr/local/include -pthread -c -g -O2 -Wall -W -Wbad -function-cast -Wcast-qual -Wpointer-arith -Wcast-align -pedantic debug_malloc.c -o debug_malloc.o debug_malloc.c:35: warning: ‘my_malloc_hook’ initialized and declared ‘extern’ cc -DHAVE_CONFIG_H -I. -I/usr/local/include -pthread -c -g -O2 -Wall -W -Wbad -function-cast -Wcast-qual -Wpointer-arith -Wcast-align -pedantic mpi_utils.c -o mpi_utils.o mpi_utils.c: In function ‘mpi_assert_equal’: mpi_utils.c:72: warning: unused parameter ‘x’ mpi_utils.c: In function ‘mpi_begin_critical_section’: mpi_utils.c:99: warning: unused variable ‘status’ mpi_utils.c: In function ‘mpi_end_critical_section’: mpi_utils.c:107: warning: unused parameter ‘tag’ rm -f util.a ar r util.a debug_malloc.o mpi_utils.o ar: creating util.a ranlib util.a make[1]: Leaving directory `/home/lab-101/mpb-1.4.2/src/util' Making all in src/matrices make[1]: Entering directory `/home/lab-101/mpb-1.4.2/src/matrices' cc -DHAVE_CONFIG_H -I../util -I. -I/usr/local/include -pthread -c -g -O2 -Wall -W -Wbad-function-cast -Wcast-qual -Wpointer-arith -Wcast-align -pedantic eigensolver.c -o eigensolver.o cc -DHAVE_CONFIG_H -I../util -I. -I/usr/local/include -pthread -c -g -O2 -Wall -W -Wbad-function-cast -Wcast-qual -Wpointer-arith -Wcast-align -pedantic eigensolver_utils.c -o eigensolver_utils.o cc -DHAVE_CONFIG_H -I../util -I. -I/usr/local/include -pthread -c -g -O2 -Wall -W -Wbad-function-cast -Wcast-qual -Wpointer-arith -Wcast-align -pedantic evectmatrix.c -o evectmatrix.o evectmatrix.c:29: warning: ‘evectmatrix_flops’ initialized and declared ‘extern’ evectmatrix.c: In function ‘evectmatrix_copy_slice’: evectmatrix.c:56: warning: statement with no effect evectmatrix.c:56: warning: ‘i’ is used uninitialized in this function cc -DHAVE_CONFIG_H -I../util -I. -I/usr/local/include -pthread -c -g -O2 -Wall -W -Wbad-function-cast -Wcast-qual -Wpointer-arith -Wcast-align -pedantic sqmatrix.c -o sqmatrix.o cc -DHAVE_CONFIG_H -I../util -I. -I/usr/local/include -pthread -c -g -O2 -Wall -W -Wbad-function-cast -Wcast-qual -Wpointer-arith -Wcast-align -pedantic matrices.c -o matrices.o cc -DHAVE_CONFIG_H -I../util -I. -I/usr/local/include -pthread -c -g -O2 -Wall -W -Wbad-function-cast -Wcast-qual -Wpointer-arith -Wcast-align -pedantic blasglue.c -o blasglue.o cc -DHAVE_CONFIG_H -I../util -I. -I/usr/local/include -pthread -c -g -O2 -Wall -W -Wbad-function-cast -Wcast-qual -Wpointer-arith -Wcast-align -pedantic minpack2-linmin.c -o minpack2-linmin.o cc -DHAVE_CONFIG_H -I../util -I. -I/usr/local/include -pthread -c -g -O2 -Wall -W -Wbad-function-cast -Wcast-qual -Wpointer-arith -Wcast-align -pedantic linmin.c -o linmin.o cc -DHAVE_CONFIG_H -I../util -I. -I/usr/local/include -pthread -c -g -O2 -Wall -W -Wbad-function-cast -Wcast-qual -Wpointer-arith -Wcast-align -pedantic eigensolver_davidson.c -o eigensolver_davidson.o rm -f matrices.a ar r matrices.a eigensolver.o eigensolver_utils.o evectmatrix.o sqmatrix.o matrices.o blasglue.o minpack2-linmin.o linmin.o eigensolver_davidson.o ar: creating matrices.a ranlib matrices.a make[1]: Leaving directory `/home/lab-101/mpb-1.4.2/src/matrices' Making all in src/maxwell make[1]: Entering directory `/home/lab-101/mpb-1.4.2/src/maxwell' cc -DHAVE_CONFIG_H -I../util -I../matrices -I/usr/local/include -pthread -c -g -O2 -Wall -W -Wbad-function-cast -Wcast-qual -Wpointer-arith -Wcast-align -pedantic maxwell.c -o maxwell.o cc -DHAVE_CONFIG_H -I../util -I../matrices -I/usr/local/include -pthread -c -g -O2 -Wall -W -Wbad-function-cast -Wcast-qual -Wpointer-arith -Wcast-align -pedantic maxwell_op.c -o maxwell_op.o maxwell_op.c: In function ‘maxwell_vectorfield_otherhalf’: maxwell_op.c:461: warning: unused parameter ‘d’ maxwell_op.c:461: warning: unused parameter ‘field’ maxwell_op.c:462: warning: unused parameter ‘phasex’ maxwell_op.c:462: warning: unused parameter ‘phasey’ maxwell_op.c:462: warning: unused parameter ‘phasez’ maxwell_op.c: In function ‘maxwell_scalarfield_otherhalf’: maxwell_op.c:667: warning: unused parameter ‘d’ maxwell_op.c:667: warning: unused parameter ‘field’ cc -DHAVE_CONFIG_H -I../util -I../matrices -I/usr/local/include -pthread -c -g -O2 -Wall -W -Wbad-function-cast -Wcast-qual -Wpointer-arith -Wcast-align -pedantic maxwell_pre.c -o maxwell_pre.o maxwell_pre.c: In function ‘maxwell_simple_precondition’: maxwell_pre.c:38: warning: unused parameter ‘eigenvals’ maxwell_pre.c: In function ‘maxwell_preconditioner’: maxwell_pre.c:72: warning: unused parameter ‘Y’ maxwell_pre.c: In function ‘maxwell_target_preconditioner’: maxwell_pre.c:85: warning: unused variable ‘omega_sqr’ maxwell_pre.c:80: warning: unused parameter ‘Y’ maxwell_pre.c:80: warning: unused parameter ‘eigenvals’ maxwell_pre.c: In function ‘maxwell_preconditioner2’: maxwell_pre.c:201: warning: unused parameter ‘Y’ maxwell_pre.c:201: warning: unused parameter ‘eigenvals’ cc -DHAVE_CONFIG_H -I../util -I../matrices -I/usr/local/include -pthread -c -g -O2 -Wall -W -Wbad-function-cast -Wcast-qual -Wpointer-arith -Wcast-align -pedantic maxwell_eps.c -o maxwell_eps.o cc -DHAVE_CONFIG_H -I../util -I../matrices -I/usr/local/include -pthread -c -g -O2 -Wall -W -Wbad-function-cast -Wcast-qual -Wpointer-arith -Wcast-align -pedantic maxwell_constraints.c -o maxwell_constraints.o rm -f maxwell.a ar r maxwell.a maxwell.o maxwell_op.o maxwell_pre.o maxwell_eps.o maxwell_constraints.o ar: creating maxwell.a ranlib maxwell.a make[1]: Leaving directory `/home/lab-101/mpb-1.4.2/src/maxwell' Making all in src/matrixio make[1]: Entering directory `/home/lab-101/mpb-1.4.2/src/matrixio' cc -DHAVE_CONFIG_H -I../util -I../matrices -I. -I/usr/local/include -pthread -c -g -O2 -Wall -W -Wbad-function-cast -Wcast-qual -Wpointer-arith -Wcast-align -pedantic fieldio.c -o fieldio.o cc -DHAVE_CONFIG_H -I../util -I../matrices -I. -I/usr/local/include -pthread -c -g -O2 -Wall -W -Wbad-function-cast -Wcast-qual -Wpointer-arith -Wcast-align -pedantic evectmatrixio.c -o evectmatrixio.o cc -DHAVE_CONFIG_H -I../util -I../matrices -I. -I/usr/local/include -pthread -c -g -O2 -Wall -W -Wbad-function-cast -Wcast-qual -Wpointer-arith -Wcast-align -pedantic matrixio.c -o matrixio.o matrixio.c: In function ‘write_attr’: matrixio.c:91: error: too few arguments to function ‘H5Dcreate2’ matrixio.c:97: error: too few arguments to function ‘H5Acreate2’ matrixio.c: In function ‘open_attr’: matrixio.c:112: warning: passing argument 1 of ‘H5Eget_auto2’ makes integer from pointer without a cast matrixio.c:112: warning: passing argument 2 of ‘H5Eget_auto2’ from incompatible pointer type matrixio.c:112: error: too few arguments to function ‘H5Eget_auto2’ matrixio.c:112: warning: passing argument 1 of ‘H5Eset_auto2’ makes integer from pointer without a cast matrixio.c:112: error: too few arguments to function ‘H5Eset_auto2’ matrixio.c:112: error: too few arguments to function ‘H5Dopen2’ matrixio.c:112: warning: passing argument 1 of ‘H5Eset_auto2’ makes integer from pointer without a cast matrixio.c:112: warning: ISO C forbids passing argument 2 of ‘H5Eset_auto2’ between function pointer and ‘void *’ matrixio.c:112: error: too few arguments to function ‘H5Eset_auto2’ matrixio.c:119: warning: passing argument 1 of ‘H5Eget_auto2’ makes integer from pointer without a cast matrixio.c:119: warning: passing argument 2 of ‘H5Eget_auto2’ from incompatible pointer type matrixio.c:119: error: too few arguments to function ‘H5Eget_auto2’ matrixio.c:119: warning: passing argument 1 of ‘H5Eset_auto2’ makes integer from pointer without a cast matrixio.c:119: error: too few arguments to function ‘H5Eset_auto2’ matrixio.c:119: warning: passing argument 1 of ‘H5Eset_auto2’ makes integer from pointer without a cast matrixio.c:119: warning: ISO C forbids passing argument 2 of ‘H5Eset_auto2’ between function pointer and ‘void *’ matrixio.c:119: error: too few arguments to function ‘H5Eset_auto2’ matrixio.c: In function ‘matrixio_write_string_attr’: matrixio.c:172: warning: cast discards qualifiers from pointer target type matrixio.c: In function ‘matrixio_write_data_attr’: matrixio.c:207: warning: cast discards qualifiers from pointer target type matrixio.c: In function ‘matrixio_create_sub’: matrixio.c:419: error: too few arguments to function ‘H5Gcreate2’ matrixio.c:429: error: too few arguments to function ‘H5Gopen2’ matrixio.c: In function ‘matrixio_open_dataset’: matrixio.c:456: error: too few arguments to function ‘H5Dopen2’ matrixio.c:458: error: too few arguments to function ‘H5Dopen2’ matrixio.c:471: warning: comparison between signed and unsigned matrixio.c: In function ‘matrixio_create_dataset’: matrixio.c:523: error: too few arguments to function ‘H5Dcreate2’ matrixio.c:523: error: too few arguments to function ‘H5Dopen2’ matrixio.c: In function ‘matrixio_dataset_exists’: matrixio.c:551: warning: passing argument 1 of ‘H5Eget_auto2’ makes integer from pointer without a cast matrixio.c:551: warning: passing argument 2 of ‘H5Eget_auto2’ from incompatible pointer type matrixio.c:551: error: too few arguments to function ‘H5Eget_auto2’ matrixio.c:551: warning: passing argument 1 of ‘H5Eset_auto2’ makes integer from pointer without a cast matrixio.c:551: error: too few arguments to function ‘H5Eset_auto2’ matrixio.c:551: error: too few arguments to function ‘H5Dopen2’ matrixio.c:551: warning: passing argument 1 of ‘H5Eset_auto2’ makes integer from pointer without a cast matrixio.c:551: warning: ISO C forbids passing argument 2 of ‘H5Eset_auto2’ between function pointer and ‘void *’ matrixio.c:551: error: too few arguments to function ‘H5Eset_auto2’ matrixio.c: In function ‘matrixio_write_real_data’: matrixio.c:655: warning: pointer targets in passing argument 3 of ‘H5Sselect_hyperslab’ differ in signedness matrixio.c:665: warning: pointer targets in passing argument 3 of ‘H5Sselect_hyperslab’ differ in signedness matrixio.c: In function ‘matrixio_read_real_data’: matrixio.c:754: warning: passing argument 1 of ‘H5Eget_auto2’ makes integer from pointer without a cast matrixio.c:754: warning: passing argument 2 of ‘H5Eget_auto2’ from incompatible pointer type matrixio.c:754: error: too few arguments to function ‘H5Eget_auto2’ matrixio.c:754: warning: passing argument 1 of ‘H5Eset_auto2’ makes integer from pointer without a cast matrixio.c:754: error: too few arguments to function ‘H5Eset_auto2’ matrixio.c:754: error: too few arguments to function ‘H5Dopen2’ matrixio.c:754: warning: passing argument 1 of ‘H5Eset_auto2’ makes integer from pointer without a cast matrixio.c:754: warning: ISO C forbids passing argument 2 of ‘H5Eset_auto2’ between function pointer and ‘void *’ matrixio.c:754: error: too few arguments to function ‘H5Eset_auto2’ matrixio.c:784: warning: comparison between signed and unsigned matrixio.c:822: warning: pointer targets in passing argument 3 of ‘H5Sselect_hyperslab’ differ in signedness matrixio.c:827: warning: pointer targets in passing argument 3 of ‘H5Sselect_hyperslab’ differ in signedness make[1]: *** [matrixio.o] Error 1 make[1]: Leaving directory `/home/lab-101/mpb-1.4.2/src/matrixio' make: *** [all-recursive] Error 1 I don't know what the problem is since I am a linux newbie. Could anyone help me to find out what I need to do now? _______________________________________________ mpb-discuss mailing list [email protected] http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/mpb-discuss
