[MOAB-dev] missing headers for tests, one failing
Jed Brown
jed at 59A2.org
Sun May 17 11:06:01 CDT 2009
gcc-4.4 requires the headers in the patch below. Also, this one test has
been failing for ages.
Testing parallel...
load_file returned error:
Number of procs greater than number of partitions.
[brakk:00551] *** Process received signal ***
[brakk:00551] Signal: Segmentation fault (11)
[brakk:00551] Signal code: Address not mapped (1)
[brakk:00551] Failing at address: 0x2ac26392edd8
[brakk:00551] [ 0] /lib/libpthread.so.0 [0x2ac261297560]
[brakk:00551] [ 1] /lib/libc.so.6 [0x2ac261515c4d]
[brakk:00551] [ 2] /lib/libc.so.6 [0x2ac261517188]
[brakk:00551] [ 3] /lib/libc.so.6(cfree+0xb5) [0x2ac261517545]
[brakk:00551] [ 4] /usr/lib/libhdf5.so.5(H5MM_xfree+0xe) [0x2ac25f65c8de]
[brakk:00551] [ 5] /usr/lib/libhdf5.so.5 [0x2ac25f6069c0]
[brakk:00551] [ 6] /usr/lib/libhdf5.so.5 [0x2ac25f606be2]
[brakk:00551] [ 7] /usr/lib/libhdf5.so.5(H5FL_garbage_coll+0xd7) [0x2ac25f607251]
[brakk:00551] [ 8] /usr/lib/libhdf5.so.5(H5FL_term_interface+0xf) [0x2ac25f6072c8]
[brakk:00551] [ 9] /usr/lib/libhdf5.so.5(H5_term_library+0xa3d) [0x2ac25f56fc5b]
[brakk:00551] [10] /lib/libc.so.6(__cxa_finalize+0xa8) [0x2ac2614d9ce8]
[brakk:00551] [11] /usr/lib/libhdf5.so.5 [0x2ac25f56eee6]
[brakk:00551] *** End of error message ***
/bin/sh: line 4: 551 Segmentation fault (core dumped) ${dir}$tst
FAIL: tqdcfr
My configuration is
../configure --prefix=/home/jed/usr --enable-imesh=nofortran --enable-mbconvert --enable-mbsize --enable-mbtagprop --enable-mbzoltan --with-hdf5 --with-netcdf --with-zoltan=/usr --with-parmetis=/usr --with-mpi=/usr --enable-shared --enable-debug CC=/usr/bin/mpicc CXX=/usr/bin/mpiCC F77=/usr/bin/mpif77 FC=/usr/bin/mpif90
and my HDF5 is built against MPI. I assume you are not seeing it.
commit 3e7b0561d7dd2660efbeb63291fa279b3b59cda5
Author: Jed Brown <jed at 59A2.org>
Date: Mon May 4 14:24:52 2009 +0200
Include headers required by gcc-4.4.0, only affects 'make check'
diff --git a/MBTest.cpp b/MBTest.cpp
index edc9b2d..e9d1e6c 100644
--- a/MBTest.cpp
+++ b/MBTest.cpp
@@ -32,6 +32,7 @@
#include <time.h>
#include <assert.h>
#include <math.h>
+#include <cstdio>
#include "MBInterface.hpp"
#include "MBTagConventions.hpp"
#include "MBRange.hpp"
diff --git a/kd_tree_test.cpp b/kd_tree_test.cpp
index 63cbbf0..4941b65 100644
--- a/kd_tree_test.cpp
+++ b/kd_tree_test.cpp
@@ -5,6 +5,7 @@
#include <math.h>
#include <assert.h>
#include <float.h>
+#include <fstream>
#include "MBCartVect.hpp"
diff --git a/kd_tree_tool.cpp b/kd_tree_tool.cpp
index 472e855..79939c3 100644
--- a/kd_tree_tool.cpp
+++ b/kd_tree_tool.cpp
@@ -8,6 +8,7 @@
#include <iomanip>
#include <cstdio>
#include <limits>
+#include <cstdio>
#include <stdlib.h>
#include <time.h>
#if !defined(_MSC_VER) && !defined(__MINGW32__)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
URL: <http://lists.mcs.anl.gov/pipermail/moab-dev/attachments/20090517/8dac535a/attachment-0001.pgp>
More information about the moab-dev
mailing list