[MOAB-dev] r5121 - in MOAB/trunk: . doc
Iulian Grindeanu
iulian at mcs.anl.gov
Mon Aug 29 08:49:01 CDT 2011
Please disregard the previous message
the patch I need on 32 bit to compile is
Index: src/parallel/WriteHDF5Parallel.cpp
===================================================================
--- src/parallel/WriteHDF5Parallel.cpp (revision 5128)
+++ src/parallel/WriteHDF5Parallel.cpp (working copy)
@@ -1461,7 +1461,7 @@
assert((unsigned)status.MPI_SOURCE == procs[idx]);
assert(2*recv_buf[idx].front()+1 == recv_buf[idx].size());
- const size_t n = std::min( recv_buf[idx].front(), (recv_buf[idx].size()-1)/2 );
+ const size_t n = std::min( (size_t )(recv_buf[idx].front()), (recv_buf[idx].size()-1)/2 );
dbgOut.printf(5,"Received buffer of size %lu from proc %d\n",
(unsigned long)(2*n+1), (int)status.MPI_SOURCE );
@@ -1658,7 +1658,7 @@
unsigned long* array = reinterpret_cast<unsigned long*>(&tmp[0]);
std::copy( tmp.begin(), tmp.end(), array );
}
- contents = &tmp[0];
+ contents = (long unsigned int *)&tmp[0];
}
}
I still have other errors on mbzoltan (on 32 bit, with mpi, with zoltan)
I don't know what is wrong there
make[3]: Entering directory `/home/iulian/source/MOABpv/tools/mbzoltan'
CXXLD mbpart
mbpart.o: In function `main':
/home/iulian/source/MOABpv/tools/mbzoltan/mbpart.cpp:43: undefined reference to `ProgOptions::ProgOptions(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/home/iulian/source/MOABpv/tools/mbzoltan/mbpart.cpp:43: undefined reference to `ProgOptions::~ProgOptions()'
/home/iulian/source/MOABpv/tools/mbzoltan/mbpart.cpp:43: undefined reference to `ProgOptions::~ProgOptions()'
....
More information about the moab-dev
mailing list