Re: [Libmesh-users] Run-time dynamic_cast failure on OS X 10.6

2010-06-10 Thread Derek Gaston
BTW: We highly recommend using the GCC compilers from here: http://hpc.sourceforge.net/ Then compiling your own version of MPI (we use MPICH2) using these compilers. Then compiling PetsC then libMesh. This is what we do for all of our Mac laptops (on our workstations we use the Intel compilers

Re: [Libmesh-users] run libMesh on heterogeneous clusters

2010-06-10 Thread Kirk, Benjamin (JSC-EG311)
On 6/10/10 1:50 PM, "John Peterson" wrote: > , I'd just remove it completely. If you do change > the compiler.m4 file, you'll have to rebuild the configure script by > running bootstrap in the top level directory. After running configure as usual you should be able to replace the offending comp

Re: [Libmesh-users] run libMesh on heterogeneous clusters

2010-06-10 Thread John Peterson
On Thu, Jun 10, 2010 at 2:06 PM, Kirk, Benjamin (JSC-EG311) wrote: > On 6/10/10 1:50 PM, "John Peterson" wrote: > >> , I'd just remove it completely.  If you do change >> the compiler.m4 file, you'll have to rebuild the configure script by >> running bootstrap in the top level directory. > > Afte

Re: [Libmesh-users] Run-time dynamic_cast failure on OS X 10.6

2010-06-10 Thread Anna-Lena Gerner
On 10 Jun 2010, at 20:09, Roy Stogner wrote: > > On Thu, 10 Jun 2010, Anna-Lena Gerner wrote: > >> I am trying to install libmesh with petsc and openmpi on OS X 10.6. > > What underlying compilers are your mpicc and mpicxx using? A coworker > here recently discovered a Macports gcc problem th

Re: [Libmesh-users] run libMesh on heterogeneous clusters

2010-06-10 Thread John Peterson
On Thu, Jun 10, 2010 at 12:15 PM, wrote: > Thanks, > so, if I got it right, I should put -axW instead of -aW > Which file do I have to modify? Good question. It would be nice if you could add something to $libmesh_CXXFLAGS to "cancel" a compiler flag, but I'm not sure that's possible. The -xW

Re: [Libmesh-users] Run-time dynamic_cast failure on OS X 10.6

2010-06-10 Thread Roy Stogner
On Thu, 10 Jun 2010, Anna-Lena Gerner wrote: > I am trying to install libmesh with petsc and openmpi on OS X 10.6. What underlying compilers are your mpicc and mpicxx using? A coworker here recently discovered a Macports gcc problem that affected exception handling + dynamic linking in his appl

[Libmesh-users] Run-time dynamic_cast failure on OS X 10.6

2010-06-10 Thread Anna-Lena Gerner
Hi all, I am trying to install libmesh with petsc and openmpi on OS X 10.6. libmesh configuration (exact petsc and libmesh configure options are given below) and compilation worked fine but compiling the examples gives the warnings ld: warning: directory '-L/Users/agerner/Software/slepc-3.0.0

Re: [Libmesh-users] run libMesh on heterogeneous clusters

2010-06-10 Thread bottilorenzo
Thanks, so, if I got it right, I should put -axW instead of -aW Which file do I have to modify? Lorenzo Il giorno , John Peterson ha scritto: > On Thu, Jun 10, 2010 at 11:33 AM, John Peterson > peter...@cfdlab.ae.utexas.edu> wrote: > > On Thu, Jun 10, 2010 at 11:22 AM, Lorenzo Alessio Botti >

Re: [Libmesh-users] run libMesh on heterogeneous clusters

2010-06-10 Thread John Peterson
On Thu, Jun 10, 2010 at 11:33 AM, John Peterson wrote: > On Thu, Jun 10, 2010 at 11:22 AM, Lorenzo Alessio Botti > wrote: >> >> Hi all, >> is there any compiler option to run on heterogeneous clusters? >> >> I'm compiling on the frontend node which is a xeon and on all the xeon nodes >> everythi

Re: [Libmesh-users] run libMesh on heterogeneous clusters

2010-06-10 Thread John Peterson
On Thu, Jun 10, 2010 at 11:22 AM, Lorenzo Alessio Botti wrote: > > Hi all, > is there any compiler option to run on heterogeneous clusters? > > I'm compiling on the frontend node which is a xeon and on all the xeon nodes > everything works, but when I try to run on opteron nodes I just get "Illeg

[Libmesh-users] run libMesh on heterogeneous clusters

2010-06-10 Thread Lorenzo Alessio Botti
Hi all, is there any compiler option to run on heterogeneous clusters? I'm compiling on the frontend node which is a xeon and on all the xeon nodes everything works, but when I try to run on opteron nodes I just get "Illegal instruction". I'm using icpc. Does anyone know how to solve this prob

Re: [Libmesh-users] checking which element a point is in

2010-06-10 Thread Roy Stogner
On Thu, 10 Jun 2010, Karen Lee wrote: > There's PointLocatorTree and PointLocatorList to choose from > that has the function I need implemented. Do you have any advice which one > to stick to and some insight into how they differ? > http://libmesh.sourceforge.net/doxygen/point__locator__base_8C_s

Re: [Libmesh-users] checking which element a point is in

2010-06-10 Thread Karen Lee
Thanks Tim. I looked around and didn't seem to see an example where either MeshFunction or any of the PointLocator classes are used... I couldn't seem to find where in MeshFunction the PointLocatorBase object is used either.. Tried to look at the documentation but the Base class doesn't seem to co