<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:10pt">I use clang compilers. Haven't seen the error that you see.<br><div><br></div><div>==> gcc -v<br>Using built-in specs.<br>Target: i686-apple-darwin11<br>Configured with: /private/var/tmp/llvmgcc42/llvmgcc42-2336.11~182/src/configure --disable-checking --enable-werror --prefix=/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2 --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-prefix=llvm- --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin11 --enable-llvm=/private/var/tmp/llvmgcc42/llvmgcc42-2336.11~182/dst-llvmCore/Developer/usr/local --program-prefix=i686-apple-darwin11- --host=x86_64-apple-darwin11 --target=i686-apple-darwin11 --with-gxx-include-dir=/usr/include/c++/4.2.1<br>Thread model: posix<br>gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build
 2336.11.00)<br><span></span></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;"><span><br></span></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;"><span>==> mpiexec -Version<br>mpiexec (OpenRTE) 1.6.4<br></span><br></div><div><font style="font-family:arial, helvetica, sans-serif;" size="2">Rajeev</font><br><br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; margin-top: 5px; padding-left: 5px;">  <div style="font-family: arial, helvetica, sans-serif; font-size: 10pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <hr size="1">  <font face="Arial" size="2"> <b><span style="font-weight:bold;">From:</span></b> Barry Smith <bsmith@mcs.anl.gov><br> <b><span
 style="font-weight: bold;">To:</span></b> "moab-dev@mcs.anl.gov" <moab-dev@mcs.anl.gov> <br> <b><span style="font-weight: bold;">Sent:</span></b> Monday, June 3, 2013 2:06 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> [MOAB-dev] crash with clang compiler<br> </font> </div> <div class="y_msg_container"><br><br>  This is with the nightly version of moab. <br><br>   Do any of you guys build on the Mac with the clang compilers?<br><br>   Barry<br><br>===============================================================================                                                                                                                 
                                                 Running make on MOAB; this may take several minutes                                                                                                                                                                                  ===============================================================================           
                                                                                                                                                                                                                                                                                    
                                                                                                        *******************************************************************************<br>         UNABLE to CONFIGURE with GIVEN OPTIONS    (see configure.log for details):<br>-------------------------------------------------------------------------------<br>Error running make; make install on MOAB: Could not execute "cd /Users/barrysmith/Src/PETSc/externalpackages/moab-4.7.0pre && make && make install":<br>make  all-recursive<br>Making all in src<br>make  all-recursive<br>Making all in parallel<br>make  all-am<br>/bin/sh ../../libtool 
 --tag=CXX   --mode=compile /Users/barrysmith/Src/PETSc/arch-xolotl/bin/mpicxx -DHAVE_CONFIG_H -I. -I../.. -I../../src/moab -I../../src  -I/Users/barrysmith/Src/PETSc/arch-xolotl/include    -I/Users/barrysmith/Src/PETSc/arch-xolotl/include -isystem /Users/barrysmith/Src/PETSc/arch-xolotl/include  -DTEMPLATE_SPECIALIZATION -DTEMPLATE_FUNC_SPECIALIZATION -DHAVE_VSNPRINTF -D_FILE_OFFSET_BITS=64   -DUSE_MPI -DHDF5_FILE -DHDF5_PARALLEL -DNETCDF_FILE -DIS_BUILDING_MB -DSRCDIR=. -I./.. -I.. -I./../io -I./../io/mhdf/include -DUNORDERED_MAP_NS=std::tr1 -DHAVE_UNORDERED_MAP=tr1/unordered_map -DHAVE_UNORDERED_SET=tr1/unordered_set  -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g  -fPIC   -Wall -pipe -pedantic -Wno-long-long -Wextra -Wcast-align  -Wpointer-arith -Wformat -Wformat-security -Wshadow -Wunused-parameter -MT ParallelComm.lo -MD -MP -MF .deps/ParallelComm.Tpo -c -o ParallelComm.lo
 ParallelComm.cpp<br>libtool: compile:  /Users/barrysmith/Src/PETSc/arch-xolotl/bin/mpicxx -DHAVE_CONFIG_H -I. -I../.. -I../../src/moab -I../../src -I/Users/barrysmith/Src/PETSc/arch-xolotl/include -I/Users/barrysmith/Src/PETSc/arch-xolotl/include -isystem /Users/barrysmith/Src/PETSc/arch-xolotl/include -DTEMPLATE_SPECIALIZATION -DTEMPLATE_FUNC_SPECIALIZATION -DHAVE_VSNPRINTF -D_FILE_OFFSET_BITS=64 -DUSE_MPI -DHDF5_FILE -DHDF5_PARALLEL -DNETCDF_FILE -DIS_BUILDING_MB -DSRCDIR=. -I./.. -I.. -I./../io -I./../io/mhdf/include -DUNORDERED_MAP_NS=std::tr1 -DHAVE_UNORDERED_MAP=tr1/unordered_map -DHAVE_UNORDERED_SET=tr1/unordered_set -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g -fPIC -Wall -pipe -pedantic -Wno-long-long -Wextra -Wcast-align -Wpointer-arith -Wformat -Wformat-security -Wshadow -Wunused-parameter -MT ParallelComm.lo -MD -MP -MF .deps/ParallelComm.Tpo -c ParallelComm.cpp  -fno-common -DPIC -o
 .libs/ParallelComm.o<br>libtool: compile:  /Users/barrysmith/Src/PETSc/arch-xolotl/bin/mpicxx -DHAVE_CONFIG_H -I. -I../.. -I../../src/moab -I../../src -I/Users/barrysmith/Src/PETSc/arch-xolotl/include -I/Users/barrysmith/Src/PETSc/arch-xolotl/include -isystem /Users/barrysmith/Src/PETSc/arch-xolotl/include -DTEMPLATE_SPECIALIZATION -DTEMPLATE_FUNC_SPECIALIZATION -DHAVE_VSNPRINTF -D_FILE_OFFSET_BITS=64 -DUSE_MPI -DHDF5_FILE -DHDF5_PARALLEL -DNETCDF_FILE -DIS_BUILDING_MB -DSRCDIR=. -I./.. -I.. -I./../io -I./../io/mhdf/include -DUNORDERED_MAP_NS=std::tr1 -DHAVE_UNORDERED_MAP=tr1/unordered_map -DHAVE_UNORDERED_SET=tr1/unordered_set -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g -fPIC -Wall -pipe -pedantic -Wno-long-long -Wextra -Wcast-align -Wpointer-arith -Wformat -Wformat-security -Wshadow -Wunused-parameter -MT ParallelComm.lo -MD -MP -MF .deps/ParallelComm.Tpo -c ParallelComm.cpp -o ParallelComm.o >/dev/null 2>&1<br>mv
 -f .deps/ParallelComm.Tpo .deps/ParallelComm.Plo<br>/bin/sh ../../libtool  --tag=CXX   --mode=compile /Users/barrysmith/Src/PETSc/arch-xolotl/bin/mpicxx -DHAVE_CONFIG_H -I. -I../.. -I../../src/moab -I../../src  -I/Users/barrysmith/Src/PETSc/arch-xolotl/include    -I/Users/barrysmith/Src/PETSc/arch-xolotl/include -isystem /Users/barrysmith/Src/PETSc/arch-xolotl/include  -DTEMPLATE_SPECIALIZATION -DTEMPLATE_FUNC_SPECIALIZATION -DHAVE_VSNPRINTF -D_FILE_OFFSET_BITS=64   -DUSE_MPI -DHDF5_FILE -DHDF5_PARALLEL -DNETCDF_FILE -DIS_BUILDING_MB -DSRCDIR=. -I./.. -I.. -I./../io -I./../io/mhdf/include -DUNORDERED_MAP_NS=std::tr1 -DHAVE_UNORDERED_MAP=tr1/unordered_map -DHAVE_UNORDERED_SET=tr1/unordered_set  -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g  -fPIC   -Wall -pipe -pedantic -Wno-long-long -Wextra -Wcast-align  -Wpointer-arith -Wformat -Wformat-security -Wshadow -Wunused-parameter -MT
 ProcConfig.lo -MD -MP -MF .deps/ProcConfig.Tpo -c -o ProcConfig.lo ProcConfig.cpp<br>libtool: compile:  /Users/barrysmith/Src/PETSc/arch-xolotl/bin/mpicxx -DHAVE_CONFIG_H -I. -I../.. -I../../src/moab -I../../src -I/Users/barrysmith/Src/PETSc/arch-xolotl/include -I/Users/barrysmith/Src/PETSc/arch-xolotl/include -isystem /Users/barrysmith/Src/PETSc/arch-xolotl/include -DTEMPLATE_SPECIALIZATION -DTEMPLATE_FUNC_SPECIALIZATION -DHAVE_VSNPRINTF -D_FILE_OFFSET_BITS=64 -DUSE_MPI -DHDF5_FILE -DHDF5_PARALLEL -DNETCDF_FILE -DIS_BUILDING_MB -DSRCDIR=. -I./.. -I.. -I./../io -I./../io/mhdf/include -DUNORDERED_MAP_NS=std::tr1 -DHAVE_UNORDERED_MAP=tr1/unordered_map -DHAVE_UNORDERED_SET=tr1/unordered_set -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g -fPIC -Wall -pipe -pedantic -Wno-long-long -Wextra -Wcast-align -Wpointer-arith -Wformat -Wformat-security -Wshadow -Wunused-parameter -MT ProcConfig.lo -MD -MP -MF .deps/ProcConfig.Tpo -c
 ProcConfig.cpp  -fno-common -DPIC -o .libs/ProcConfig.o<br>libtool: compile:  /Users/barrysmith/Src/PETSc/arch-xolotl/bin/mpicxx -DHAVE_CONFIG_H -I. -I../.. -I../../src/moab -I../../src -I/Users/barrysmith/Src/PETSc/arch-xolotl/include -I/Users/barrysmith/Src/PETSc/arch-xolotl/include -isystem /Users/barrysmith/Src/PETSc/arch-xolotl/include -DTEMPLATE_SPECIALIZATION -DTEMPLATE_FUNC_SPECIALIZATION -DHAVE_VSNPRINTF -D_FILE_OFFSET_BITS=64 -DUSE_MPI -DHDF5_FILE -DHDF5_PARALLEL -DNETCDF_FILE -DIS_BUILDING_MB -DSRCDIR=. -I./.. -I.. -I./../io -I./../io/mhdf/include -DUNORDERED_MAP_NS=std::tr1 -DHAVE_UNORDERED_MAP=tr1/unordered_map -DHAVE_UNORDERED_SET=tr1/unordered_set -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g -fPIC -Wall -pipe -pedantic -Wno-long-long -Wextra -Wcast-align -Wpointer-arith -Wformat -Wformat-security -Wshadow -Wunused-parameter -MT ProcConfig.lo -MD -MP -MF .deps/ProcConfig.Tpo -c ProcConfig.cpp -o ProcConfig.o
 >/dev/null 2>&1<br>mv -f .deps/ProcConfig.Tpo .deps/ProcConfig.Plo<br>/bin/sh ../../libtool  --tag=CXX   --mode=compile /Users/barrysmith/Src/PETSc/arch-xolotl/bin/mpicxx -DHAVE_CONFIG_H -I. -I../.. -I../../src/moab -I../../src  -I/Users/barrysmith/Src/PETSc/arch-xolotl/include    -I/Users/barrysmith/Src/PETSc/arch-xolotl/include -isystem /Users/barrysmith/Src/PETSc/arch-xolotl/include  -DTEMPLATE_SPECIALIZATION -DTEMPLATE_FUNC_SPECIALIZATION -DHAVE_VSNPRINTF -D_FILE_OFFSET_BITS=64   -DUSE_MPI -DHDF5_FILE -DHDF5_PARALLEL -DNETCDF_FILE -DIS_BUILDING_MB -DSRCDIR=. -I./.. -I.. -I./../io -I./../io/mhdf/include -DUNORDERED_MAP_NS=std::tr1 -DHAVE_UNORDERED_MAP=tr1/unordered_map -DHAVE_UNORDERED_SET=tr1/unordered_set  -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g  -fPIC   -Wall -pipe -pedantic -Wno-long-long -Wextra -Wcast-align  -Wpointer-arith -Wformat -Wformat-security
 -Wshadow -Wunused-parameter -MT ParallelData.lo -MD -MP -MF .deps/ParallelData.Tpo -c -o ParallelData.lo ParallelData.cpp<br>libtool: compile:  /Users/barrysmith/Src/PETSc/arch-xolotl/bin/mpicxx -DHAVE_CONFIG_H -I. -I../.. -I../../src/moab -I../../src -I/Users/barrysmith/Src/PETSc/arch-xolotl/include -I/Users/barrysmith/Src/PETSc/arch-xolotl/include -isystem /Users/barrysmith/Src/PETSc/arch-xolotl/include -DTEMPLATE_SPECIALIZATION -DTEMPLATE_FUNC_SPECIALIZATION -DHAVE_VSNPRINTF -D_FILE_OFFSET_BITS=64 -DUSE_MPI -DHDF5_FILE -DHDF5_PARALLEL -DNETCDF_FILE -DIS_BUILDING_MB -DSRCDIR=. -I./.. -I.. -I./../io -I./../io/mhdf/include -DUNORDERED_MAP_NS=std::tr1 -DHAVE_UNORDERED_MAP=tr1/unordered_map -DHAVE_UNORDERED_SET=tr1/unordered_set -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g -fPIC -Wall -pipe -pedantic -Wno-long-long -Wextra -Wcast-align -Wpointer-arith -Wformat -Wformat-security -Wshadow -Wunused-parameter -MT ParallelData.lo -MD
 -MP -MF .deps/ParallelData.Tpo -c ParallelData.cpp  -fno-common -DPIC -o .libs/ParallelData.o<br>libtool: compile:  /Users/barrysmith/Src/PETSc/arch-xolotl/bin/mpicxx -DHAVE_CONFIG_H -I. -I../.. -I../../src/moab -I../../src -I/Users/barrysmith/Src/PETSc/arch-xolotl/include -I/Users/barrysmith/Src/PETSc/arch-xolotl/include -isystem /Users/barrysmith/Src/PETSc/arch-xolotl/include -DTEMPLATE_SPECIALIZATION -DTEMPLATE_FUNC_SPECIALIZATION -DHAVE_VSNPRINTF -D_FILE_OFFSET_BITS=64 -DUSE_MPI -DHDF5_FILE -DHDF5_PARALLEL -DNETCDF_FILE -DIS_BUILDING_MB -DSRCDIR=. -I./.. -I.. -I./../io -I./../io/mhdf/include -DUNORDERED_MAP_NS=std::tr1 -DHAVE_UNORDERED_MAP=tr1/unordered_map -DHAVE_UNORDERED_SET=tr1/unordered_set -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g -fPIC -Wall -pipe -pedantic -Wno-long-long -Wextra -Wcast-align -Wpointer-arith -Wformat -Wformat-security -Wshadow -Wunused-parameter -MT ParallelData.lo -MD -MP -MF
 .deps/ParallelData.Tpo -c ParallelData.cpp -o ParallelData.o >/dev/null 2>&1<br>mv -f .deps/ParallelData.Tpo .deps/ParallelData.Plo<br>/bin/sh ../../libtool  --tag=CXX   --mode=compile /Users/barrysmith/Src/PETSc/arch-xolotl/bin/mpicxx -DHAVE_CONFIG_H -I. -I../.. -I../../src/moab -I../../src  -I/Users/barrysmith/Src/PETSc/arch-xolotl/include    -I/Users/barrysmith/Src/PETSc/arch-xolotl/include -isystem /Users/barrysmith/Src/PETSc/arch-xolotl/include  -DTEMPLATE_SPECIALIZATION -DTEMPLATE_FUNC_SPECIALIZATION -DHAVE_VSNPRINTF -D_FILE_OFFSET_BITS=64   -DUSE_MPI -DHDF5_FILE -DHDF5_PARALLEL -DNETCDF_FILE -DIS_BUILDING_MB -DSRCDIR=. -I./.. -I.. -I./../io -I./../io/mhdf/include -DUNORDERED_MAP_NS=std::tr1 -DHAVE_UNORDERED_MAP=tr1/unordered_map -DHAVE_UNORDERED_SET=tr1/unordered_set  -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g  -fPIC   -Wall -pipe -pedantic -Wno-long-long -Wextra
 -Wcast-align  -Wpointer-arith -Wformat -Wformat-security -Wshadow -Wunused-parameter -MT ParallelMergeMesh.lo -MD -MP -MF .deps/ParallelMergeMesh.Tpo -c -o ParallelMergeMesh.lo ParallelMergeMesh.cpp<br>libtool: compile:  /Users/barrysmith/Src/PETSc/arch-xolotl/bin/mpicxx -DHAVE_CONFIG_H -I. -I../.. -I../../src/moab -I../../src -I/Users/barrysmith/Src/PETSc/arch-xolotl/include -I/Users/barrysmith/Src/PETSc/arch-xolotl/include -isystem /Users/barrysmith/Src/PETSc/arch-xolotl/include -DTEMPLATE_SPECIALIZATION -DTEMPLATE_FUNC_SPECIALIZATION -DHAVE_VSNPRINTF -D_FILE_OFFSET_BITS=64 -DUSE_MPI -DHDF5_FILE -DHDF5_PARALLEL -DNETCDF_FILE -DIS_BUILDING_MB -DSRCDIR=. -I./.. -I.. -I./../io -I./../io/mhdf/include -DUNORDERED_MAP_NS=std::tr1 -DHAVE_UNORDERED_MAP=tr1/unordered_map -DHAVE_UNORDERED_SET=tr1/unordered_set -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g -fPIC -Wall -pipe -pedantic -Wno-long-long -Wextra -Wcast-align
 -Wpointer-arith -Wformat -Wformat-security -Wshadow -Wunused-parameter -MT ParallelMergeMesh.lo -MD -MP -MF .deps/ParallelMergeMesh.Tpo -c ParallelMergeMesh.cpp  -fno-common -DPIC -o .libs/ParallelMergeMesh.o<br>libtool: compile:  /Users/barrysmith/Src/PETSc/arch-xolotl/bin/mpicxx -DHAVE_CONFIG_H -I. -I../.. -I../../src/moab -I../../src -I/Users/barrysmith/Src/PETSc/arch-xolotl/include -I/Users/barrysmith/Src/PETSc/arch-xolotl/include -isystem /Users/barrysmith/Src/PETSc/arch-xolotl/include -DTEMPLATE_SPECIALIZATION -DTEMPLATE_FUNC_SPECIALIZATION -DHAVE_VSNPRINTF -D_FILE_OFFSET_BITS=64 -DUSE_MPI -DHDF5_FILE -DHDF5_PARALLEL -DNETCDF_FILE -DIS_BUILDING_MB -DSRCDIR=. -I./.. -I.. -I./../io -I./../io/mhdf/include -DUNORDERED_MAP_NS=std::tr1 -DHAVE_UNORDERED_MAP=tr1/unordered_map -DHAVE_UNORDERED_SET=tr1/unordered_set -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g -fPIC -Wall -pipe -pedantic -Wno-long-long -Wextra -Wcast-align
 -Wpointer-arith -Wformat -Wformat-security -Wshadow -Wunused-parameter -MT ParallelMergeMesh.lo -MD -MP -MF .deps/ParallelMergeMesh.Tpo -c ParallelMergeMesh.cpp -o ParallelMergeMesh.o >/dev/null 2>&1<br>mv -f .deps/ParallelMergeMesh.Tpo .deps/ParallelMergeMesh.Plo<br>/bin/sh ../../libtool  --tag=CXX   --mode=compile /Users/barrysmith/Src/PETSc/arch-xolotl/bin/mpicxx -DHAVE_CONFIG_H -I. -I../.. -I../../src/moab -I../../src  -I/Users/barrysmith/Src/PETSc/arch-xolotl/include    -I/Users/barrysmith/Src/PETSc/arch-xolotl/include -isystem /Users/barrysmith/Src/PETSc/arch-xolotl/include  -DTEMPLATE_SPECIALIZATION -DTEMPLATE_FUNC_SPECIALIZATION -DHAVE_VSNPRINTF -D_FILE_OFFSET_BITS=64   -DUSE_MPI -DHDF5_FILE -DHDF5_PARALLEL -DNETCDF_FILE -DIS_BUILDING_MB -DSRCDIR=. -I./.. -I.. -I./../io -I./../io/mhdf/include -DUNORDERED_MAP_NS=std::tr1 -DHAVE_UNORDERED_MAP=tr1/unordered_map
 -DHAVE_UNORDERED_SET=tr1/unordered_set  -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g  -fPIC   -Wall -pipe -pedantic -Wno-long-long -Wextra -Wcast-align  -Wpointer-arith -Wformat -Wformat-security -Wshadow -Wunused-parameter -MT ReadParallel.lo -MD -MP -MF .deps/ReadParallel.Tpo -c -o ReadParallel.lo ReadParallel.cpp<br>libtool: compile:  /Users/barrysmith/Src/PETSc/arch-xolotl/bin/mpicxx -DHAVE_CONFIG_H -I. -I../.. -I../../src/moab -I../../src -I/Users/barrysmith/Src/PETSc/arch-xolotl/include -I/Users/barrysmith/Src/PETSc/arch-xolotl/include -isystem /Users/barrysmith/Src/PETSc/arch-xolotl/include -DTEMPLATE_SPECIALIZATION -DTEMPLATE_FUNC_SPECIALIZATION -DHAVE_VSNPRINTF -D_FILE_OFFSET_BITS=64 -DUSE_MPI -DHDF5_FILE -DHDF5_PARALLEL -DNETCDF_FILE -DIS_BUILDING_MB -DSRCDIR=. -I./.. -I.. -I./../io -I./../io/mhdf/include -DUNORDERED_MAP_NS=std::tr1 -DHAVE_UNORDERED_MAP=tr1/unordered_map
 -DHAVE_UNORDERED_SET=tr1/unordered_set -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g -fPIC -Wall -pipe -pedantic -Wno-long-long -Wextra -Wcast-align -Wpointer-arith -Wformat -Wformat-security -Wshadow -Wunused-parameter -MT ReadParallel.lo -MD -MP -MF .deps/ReadParallel.Tpo -c ReadParallel.cpp  -fno-common -DPIC -o .libs/ReadParallel.o<br>In file included from ParallelComm.cpp:2:<br>./moab/ParallelComm.hpp:737:33: warning: cast from 'unsigned char *' to 'int *' increases required alignment from 1 to 4 [-Wcast-align]<br>      void set_stored_size() {*((int*)mem_ptr) = (int)(buff_ptr - mem_ptr);}<br>                                ^~~~~~~~~~~~~<br>./moab/ParallelComm.hpp:738:39: warning: cast from 'unsigned char *' to 'int *' increases required alignment from 1 to 4 [-Wcast-align]<br>      int get_stored_size() {return
 *((int*)mem_ptr);}<br>                                      ^~~~~~~~~~~~~<br>ParallelComm.cpp:605:11: warning: cast from 'unsigned char *' to 'int *' increases required alignment from 1 to 4 [-Wcast-align]<br>        *((int*)(buff.mem_ptr + prev_size)) = buff_size;<br>          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>ParallelComm.cpp:692:26: warning: cast from 'unsigned char *' to 'int *' increases required alignment from 1 to 4 [-Wcast-align]<br>                         (int*)(remoteOwnedBuffs[ind]->mem_ptr),<br>                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>ParallelComm.cpp:1137:30: warning: cast from 'unsigned char *' to 'int *' increases required alignment from 1 to 4
 [-Wcast-align]<br>                             (int*)(localOwnedBuffs[ind2/2]->mem_ptr),<br>                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>ParallelComm.cpp:3734:53: warning: cast from 'int *' to 'long *' increases required alignment from 4 to 8 [-Wcast-align]<br>      result = gsd->initialize(skin_ents[0].size(), (long*)&gid_data[0], <br>                                                    ^~~~~~~~~~~~~~~~~~~<br>ParallelComm.cpp:5469:27: warning: argument type 'int *' doesn't match specified 'MPI' type tag that requires 'unsigned char *' [-Wtype-safety]<br>      success = MPI_Irecv(ack_buff, sizeof(int), <br>   
                       ^~~~~~~~<br>ParallelComm.cpp:5561:16: warning: cast from 'unsigned char *' to 'size_t *' (aka 'unsigned long *') increases required alignment from 1 to 8 [-Wcast-align]<br>      assert(*((size_t*)send_buff->mem_ptr) > INITIAL_BUFF_SIZE);<br>               ^~~~~~~~~~~~~~~~~~~~~~~~~~~<br>/usr/include/assert.h:93:25: note: expanded from macro 'assert'<br>    (__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE__, #e) : (void)0)<br>                        ^<br>ParallelComm.cpp:8183:25: warning: argument type 'moab::ParallelComm::SharedEntityData *' doesn't match specified 'MPI' type tag that requires 'unsigned char *' [-Wtype-safety]<br>      ierr = MPI_Irecv( &result[i][0], <br>           
             ^~~~~~~~~~~~~<br>ParallelComm.cpp:8193:25: warning: argument type 'moab::ParallelComm::SharedEntityData *' doesn't match specified 'MPI' type tag that requires 'unsigned char *' [-Wtype-safety]<br>      ierr = MPI_Isend( &send_data[i][0], <br>                        ^~~~~~~~~~~~~~~~<br>ParallelComm.cpp:8588:17: warning: cast from 'char *' to 'int *' increases required alignment from 1 to 4 [-Wcast-align]<br>        int numents = *(int*)(((char*)recvbuf)+displs[i]);<br>                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>ParallelComm.cpp:8589:16: warning: cast from 'char *' to 'int *' increases required alignment from 1 to 4 [-Wcast-align]<br>        int* id_ptr = (int*)(((char*)recvbuf)+displs[i]+sizeof(int));<br>     
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>ParallelComm.cpp:8715:70: warning: cast from 'unsigned char *' to 'double *' increases required alignment from 1 to 8 [-Wcast-align]<br>      result = mbImpl->get_coords(&intx_nodes[0], intx_nodes.size(), (double*)buff->buff_ptr);<br>                                                                     ^~~~~~~~~~~~~~~~~~~~~~~<br>13 warnings generated.<br>In file included from ParallelData.cpp:2:<br>./moab/ParallelComm.hpp:737:33: warning: cast from 'unsigned char *' to 'int *' increases required alignment from 1 to 4 [-Wcast-align]<br>      void set_stored_size() {*((int*)mem_ptr) = (int)(buff_ptr - mem_ptr);}<br>       
                         ^~~~~~~~~~~~~<br>./moab/ParallelComm.hpp:738:39: warning: cast from 'unsigned char *' to 'int *' increases required alignment from 1 to 4 [-Wcast-align]<br>      int get_stored_size() {return *((int*)mem_ptr);}<br>                                      ^~~~~~~~~~~~~<br>2 warnings generated.<br>In file included from ParallelMergeMesh.cpp:1:<br>In file included from ./moab/ParallelMergeMesh.hpp:7:<br>./moab/ParallelComm.hpp:737:33: warning: cast from 'unsigned char *' to 'int *' increases required alignment from 1 to 4 [-Wcast-align]<br>      void set_stored_size() {*((int*)mem_ptr) = (int)(buff_ptr - mem_ptr);}<br>                               
 ^~~~~~~~~~~~~<br>./moab/ParallelComm.hpp:738:39: warning: cast from 'unsigned char *' to 'int *' increases required alignment from 1 to 4 [-Wcast-align]<br>      int get_stored_size() {return *((int*)mem_ptr);}<br>                                      ^~~~~~~~~~~~~<br>2 warnings generated.<br>In file included from ReadParallel.cpp:8:<br>./moab/ParallelComm.hpp:737:33: warning: cast from 'unsigned char *' to 'int *' increases required alignment from 1 to 4 [-Wcast-align]<br>      void set_stored_size() {*((int*)mem_ptr) = (int)(buff_ptr - mem_ptr);}<br>                                ^~~~~~~~~~~~~<br>./moab/ParallelComm.hpp:738:39: warning: cast from 'unsigned char *' to 'int *' increases required alignment from 1 to 4 [-Wcast-align]<br>   
   int get_stored_size() {return *((int*)mem_ptr);}<br>                                      ^~~~~~~~~~~~~<br>0  clang 0x0000000100c57bb2 main + 12932498<br>Stack dump:<br>0.      Program arguments: /usr/bin/clang -cc1 -triple x86_64-apple-macosx10.8.0 -emit-obj -mrelax-all -disable-free -disable-llvm-verifier -main-file-name ReadParallel.cpp -pic-level 2 -mdisable-fp-elim -masm-verbose -munwind-tables -target-cpu core2 -target-linker-version 136 -g -coverage-file /Users/barrysmith/Src/PETSc/externalpackages/moab-4.7.0pre/src/parallel/.libs/ReadParallel.o -resource-dir /usr/bin/../lib/clang/4.2 -dependency-file .deps/ReadParallel.Tpo -sys-header-deps -MP -MT ReadParallel.lo -isystem /Users/barrysmith/Src/PETSc/arch-xolotl/include -D HAVE_CONFIG_H -D TEMPLATE_SPECIALIZATION -D TEMPLATE_FUNC_SPECIALIZATION -D HAVE_VSNPRINTF -D
 _FILE_OFFSET_BITS=64 -D USE_MPI -D HDF5_FILE -D HDF5_PARALLEL -D NETCDF_FILE -D IS_BUILDING_MB -D SRCDIR=. -D UNORDERED_MAP_NS=std::tr1 -D HAVE_UNORDERED_MAP=tr1/unordered_map -D HAVE_UNORDERED_SET=tr1/unordered_set -D PIC -I . -I ../.. -I ../../src/moab -I ../../src -I /Users/barrysmith/Src/PETSc/arch-xolotl/include -I /Users/barrysmith/Src/PETSc/arch-xolotl/include -I ./.. -I .. -I ./../io -I ./../io/mhdf/include -I /Users/barrysmith/Src/PETSc/arch-xolotl/include -fmodule-cache-path /var/folders/c1/ldz_dt8n2r3dtwv_chp5pfr40000gq/T/clang-module-cache -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -Wall -Wno-long-long -Wextra -Wcast-align -Wpointer-arith -Wformat -Wformat-security -Wshadow -Wunused-parameter -pedantic -fconst-strings -fdeprecated-macro -fdebug-compilation-dir /Users/barrysmith/Src/PETSc/externalpackages/moab-4.7.0pre/src/parallel -ferror-limit 19
 -fmessage-length 0 -stack-protector 1 -mstackrealign -fblocks -fobjc-runtime=macosx-10.8.0 -fobjc-dispatch-method=mixed -fobjc-default-synthesize-properties -fcxx-exceptions -fexceptions -fno-common -fdiagnostics-show-option -o .libs/ReadParallel.o -x c++ ReadParallel.cpp <br>1.      ReadParallel.cpp:549:56: current parser token ')'<br>2.      ReadParallel.cpp:18:1: parsing namespace 'moab'<br>3.      ReadParallel.cpp:264:1: parsing function body 'load_file'<br>4.      ReadParallel.cpp:264:1: in compound statement ('{}')<br>5.      ReadParallel.cpp:540:16: in compound statement ('{}')<br>6.      ReadParallel.cpp:547:50: in compound statement ('{}')<br>clang: error: unable to execute command: Segmentation fault: 11<br>clang: error: clang frontend command failed due to signal (use -v to see invocation)<br>Apple LLVM version 4.2 (clang-425.0.28) (based on LLVM
 3.2svn)<br>Target: x86_64-apple-darwin12.3.0<br>Thread model: posix<br>clang: note: diagnostic msg: PLEASE submit a bug report to <a href="http://developer.apple.com/bugreporter/" target="_blank">http://developer.apple.com/bugreporter/ </a>and include the crash backtrace, preprocessed source, and associated run script.<br>clang: note: diagnostic msg: <br>********************<br><br>PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:<br>Preprocessed source(s) and associated run script(s) are located at:<br>clang: note: diagnostic msg: /var/folders/c1/ldz_dt8n2r3dtwv_chp5pfr40000gq/T/ReadParallel-EE94m9.cpp<br>clang: note: diagnostic msg: /var/folders/c1/ldz_dt8n2r3dtwv_chp5pfr40000gq/T/ReadParallel-EE94m9.sh<br>clang: note: diagnostic msg: <br><br>********************<br>make[5]: *** [ReadParallel.lo] Error 1<br>make[4]: *** [all] Error 2<br>make[3]: *** [all-recursive] Error 1<br>make[2]: *** [all] Error 2<br>make[1]: *** [all-recursive] Error
 1<br>make: *** [all] Error 2<br>*******************************************************************************<br><br><br><br></div> </div> </div> </blockquote></div>   </div></body></html>