Hi folks, Just want to check with you all. I find the --with-libctl-flag a bit strange. Why should you point to the .../share/libctl-directory with this? Is this documented somewhere? I don't think it is the usual way -- with-foo works. I expected that it should point to just the base path.
Further I have a problem compiling meep. I installed libctl and friends in /scratch where also ompi and hdf5 reside (hdf5 is compiled with parallel support). Now, to compile meep I do ./configure --prefix=/scratch --with-libctl=/scratch/share/libctl -- with-mpi MPICXX=/scratch/bin/mpiCC MPICC=/scratch/bin/mpicc LDFLAGS="- L/scratch/lib -L/usr/lib" CFLAGS="-I/scratch/include -I/usr/include" PKG_CONFIG_PATH=/scratch/lib/pkgconfig CPPFLAGS="-I/scratch/include - I/usr/include" --with-hdf5 which works, but then when doing make I get: ... /bin/sh ../libtool --tag=CXX --mode=compile /scratch/bin/mpiCC - DHAVE_CONFIG_H -I. -I.. -I../src -I/scratch/include -I/usr/include - O2 -malign-double -march=pentium3 -MT h5file.lo -MD -MP - MF .deps/h5file.Tpo -c -o h5file.lo h5file.cpp /scratch/bin/mpiCC - DHAVE_CONFIG_H -I. -I.. -I../src -I/scratch/include -I/usr/include -O2 - malign-double -march=pentium3 -MT h5file.lo -MD -MP -MF .deps/h5file.Tpo -c h5file.cpp -o h5file.o h5file.cpp: In function `bool dataset_exists(hid_t, const char*)': h5file.cpp:97: error: invalid conversion from `herr_t (**)(hid_t, void*)' to `hid_t' h5file.cpp:97: error: invalid conversion from `void**' to `herr_t (**)(hid_t, void*)' /scratch/include/H5Epublic.h:173: error: too few arguments to function `herr_t H5Eget_auto2(hid_t, herr_t (**)(hid_t, void*), void**)' h5file.cpp:97: error: at this point in file h5file.cpp:97: warning: converting to non-pointer type `int' from NULL /scratch/include/H5Epublic.h:174: error: too few arguments to function `herr_t H5Eset_auto2(hid_t, herr_t (*)(hid_t, void*), void*)' h5file.cpp:97: error: at this point in file /scratch/include/H5Dpublic.h:98: error: too few arguments to function `hid_t H5Dopen2(hid_t, const char*, hid_t)' h5file.cpp:97: error: at this point in file h5file.cpp:97: error: invalid conversion from `herr_t (*)(hid_t, void*)' to `hid_t' h5file.cpp:97: error: invalid conversion from `void*' to `herr_t (*)(hid_t, void*)' /scratch/include/H5Epublic.h:174: error: too few arguments to function `herr_t H5Eset_auto2(hid_t, herr_t (*)(hid_t, void*), void*)' h5file.cpp:97: error: at this point in file h5file.cpp: In member function `void meep::h5file::read_size(const char*, int*, int*, int)': /scratch/include/H5Dpublic.h:98: error: too few arguments to function `hid_t H5Dopen2(hid_t, const char*, hid_t)' h5file.cpp:256: error: at this point in file h5file.cpp: In member function `double* meep::h5file::read(const char*, int*, int*, int)': /scratch/include/H5Dpublic.h:98: error: too few arguments to function `hid_t H5Dopen2(hid_t, const char*, hid_t)' h5file.cpp:299: error: at this point in file h5file.cpp: In member function `char* meep::h5file::read(const char*)': /scratch/include/H5Dpublic.h:98: error: too few arguments to function `hid_t H5Dopen2(hid_t, const char*, hid_t)' h5file.cpp:359: error: at this point in file h5file.cpp: In member function `void meep::h5file::create_data(const char*, int, const int*, bool, bool)': /scratch/include/H5Dpublic.h:95: error: too few arguments to function `hid_t H5Dcreate2(hid_t, const char*, hid_t, hid_t, hid_t, hid_t, hid_t)' h5file.cpp:480: error: at this point in file /scratch/include/H5Dpublic.h:98: error: too few arguments to function `hid_t H5Dopen2(hid_t, const char*, hid_t)' h5file.cpp:486: error: at this point in file h5file.cpp: In member function `void meep::h5file::extend_data(const char*, int, const int*)': /scratch/include/H5Dpublic.h:98: error: too few arguments to function `hid_t H5Dopen2(hid_t, const char*, hid_t)' h5file.cpp:538: error: at this point in file h5file.cpp: In member function `void meep::h5file::write(const char*, const char*)': /scratch/include/H5Dpublic.h:95: error: too few arguments to function `hid_t H5Dcreate2(hid_t, const char*, hid_t, hid_t, hid_t, hid_t, hid_t)' h5file.cpp:717: error: at this point in file make[3]: *** [h5file.lo] Error 1 make[3]: Leaving directory `/scratch/src/meep-0.10.1/src' make[2]: *** [all] Error 2 make[2]: Leaving directory `/scratch/src/meep-0.10.1/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/scratch/src/meep-0.10.1' make: *** [all] Error 2 Any input is highly appreciated! Regards, Robert -- Robert Rehammar PhD-Student Applied Physics, Chalmers University of Technology Department of Physics, Göteborg University SE-421 96 Göteborg Sweden Tel +46 (0)31 772 3156 Fax +46 (0)31 416 984 Cel +46 (0)738 328834 Web fy.chalmers.se/~e9ravn _______________________________________________ meep-discuss mailing list [email protected] http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

