Re: Installation Issue

mahmoud hamoud <[email protected]>
Newsgroups gmane.comp.science.photonic-bands
Message-ID <[email protected]>
HI,
 the error became that the hdf5 is bad installed, you may to uniinstall it and try to reinstall it with the following steps:
1) download hdf5-1.6.5 
2) ./configure --prefix= /usr/local/hdf5-1.6.5, make, make check, make install, make check-install
3) in your bachrc, put the following linges:
     export LDFLAGS=" -L/usr/local/hdf5-1.6.5/lib"
     export CPPFLAGS=" -I/usr/local/hdf5-1.6.5/include"
     export LD_LIBRARY_PATH=" /usr/local/hdf5-1.6.5/lib:$LD_LIBRARY_PATH"
4)  in etc/ld.so.conf, put the following lines:
     /usr/local/hdf5-1.6.5/lib
     /usr/local/hdf5-1.6.5/include
5)  run /sbin/ldconfig
6) install mpb and it should detect the hdf5 
   hope this help you
  best regards
--- On Thu, 7/24/08, Rakesh Mote <[email protected]> wrote:
From: Rakesh Mote <[email protected]>
Subject: [MPB-discuss] Installation Issue
To: [email protected]
Date: Thursday, July 24, 2008, 9:49 PM

Dear users,
 
I am facing following problem with MPB installation. I use Cygwin on windows.
 
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:754: error: too few arguments to function `H5Eset_auto2'
matrixio.c:754: error: too few arguments to function `H5Dopen2'
matrixio.c:754: warning: passing arg 1 of `H5Eset_auto2' makes integer from poi

ter without a cast
matrixio.c:754: warning: ISO C forbids passing arg 2 of `H5Eset_auto2' between
unction 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 arg 3 of `H5Sselect_hypersl
b' differ in signedness
matrixio.c:827: warning: pointer targets in passing arg 3 of `H5Sselect_hypersl
b' differ in signedness

matrixio.c: In function `matrixio_create_sub':
matrixio.c:424: warning: statement with no effect
matrixio.c:427: warning: statement with no effect
matrixio.c: In function `matrixio_create_dataset':
matrixio.c:502: warning: statement with no effect

make[1]: *** [matrixio.o] Error 1
make[1]: Leaving directory `/home/PEN/mpb-1.4.2/src/matrixio'
make: *** [all-recursive] Error 1
 
 
I believe same problem was reported in discussion but could not locate solution.
 
Also please let me know the way to check whether required installation are done for MPB.
 
thanks in advance
 
Rakesh
_______________________________________________
mpb-discuss mailing list
[email protected]
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/mpb-discuss

_______________________________________________
mpb-discuss mailing list
[email protected]
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/mpb-discuss
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.