Sent from my iPhone On Mar 22, 2013, at 9:10 AM, Robert <libm...@robertweidlich.de> wrote:
> Hello, > > I am trying to build current master git version of libMesh with the Intel C++ > Compiler (icpc (ICC) 11.0 20081105) > > CXX src/partitioning/libmesh_dbg_la-centroid_partitioner.lo > ../src/src/partitioning/centroid_partitioner.C(112) (col. 13): internal > error: 0_1504 > > compilation aborted for ../src/src/partitioning/centroid_partitioner.C (code > 4) > > My configure line is > > $ ../src/configure --prefix=/my/build/dir/libmesh/install-para-intel > PETSC_DIR=/my/build/dir/petsc/petsc-3.3-p5/ > PETSC_ARCH=linux-intel-parastation > --with-vtk-include=/my/build/dir/vtk/5.10.1/install/include/vtk-5.10/ > --with-vtk-lib=/my/build/dir/vtk/5.10.1/install/lib/vtk-5.10/ > --with-metis=PETSc --disable-tecio --disable-tecplot --disable-fparser > --disable-gmv --disable-nemesis --disable-sfc --disable-nanoflann > --disable-laspack --disable-pfem --disable-ifem FC=ifort F77=ifort CC=icc > CXX=icpc CXXFLAGS=-O2 CFLAGS=-O2 METHODS=devel opt dbg > > The last revision I build with this configuration was > f78c308425fc7c74d321020e39a28cbcf145c1ce. > A diff to the current version shows some change in the mentioned file > and line: > > - elem->processor_id() = std::min (i / target_size, n-1); > + elem->processor_id() = > + std::min (libmesh_cast_int<processor_id_type>(i / target_size), > + libmesh_cast_int<processor_id_type>(n-1)); > > But I cannot really see any error in there. Has anyone else an idea? > Are you saying that the previous version built ok and that these lines are the culprit? We've seen this error with the Intel compiler for several years, but with no additional information about the error, we've never tracked it down. Instead we've just worked around it with tweaks to our configuration, like building static libraries for instance. I'd be interested if somebody else has a more definitive explanation as to what causes these errors. You can always fall back to GCC or Clang. Cody > Robert > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_d2d_mar > _______________________________________________ > Libmesh-devel mailing list > Libmesh-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/libmesh-devel ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_mar _______________________________________________ Libmesh-devel mailing list Libmesh-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libmesh-devel