Hi everybody, 

I'm trying to install libMesh on a Mac OS X (Snow Leopard) and I'm getting some 
runtime errors I don't understand. In dbg mode, 
everything seems to be alright (make run_examples reports no error), but in opt 
mode, I get the following error in examples 8, 9 and 10:

----------------------------------------------------------------------------------------------------------------------------
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x0000000000000000
0x000000010170fab0 in libMesh::GMVIO::write_ascii_old_impl ()
(gdb) bt
#0  0x000000010170fab0 in libMesh::GMVIO::write_ascii_old_impl ()
#1  0x0000000101715185 in libMesh::GMVIO::write_nodal_data ()
#2  0x0000000100007212 in main () 
----------------------------------------------------------------------------------------------------------------------------

and this error in examples 13 and 18:

----------------------------------------------------------------------------------------------------------------------------
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x0000000000000001
0x00000001016f1f2b in libMesh::ExodusII_IO::write_nodal_data ()
(gdb) bt
#0  0x00000001016f1f2b in libMesh::ExodusII_IO::write_nodal_data ()
#1  0x00000001000074ca in main ()
----------------------------------------------------------------------------------------------------------------------------

I'm using the GCC 4.6 from http://hpc.sourceforge.net and build the libraries 
with the following configure options:

== LibMesh == 
CXX=mpicxx CC=mpicc FCFLAGS=-m64 FFLAGS=-m64 ./configure 
--enable-everything 
--enable-slepc 
--with-glpk-include=/opt/local/include 
--with-glpk-lib=/opt/local/lib

== PETSc 3.0.0-p12 ====
./config/configure.py --FFLAGS=-m64 -FCFLAGS=-m64
--with-shared=1
--with-debug=0 
--download-umfpack=1 
--download-mumps=1 --download-parmetis=ifneeded --download-scalapack=ifneeded 
--download-blacs=ifneeded 

== OpenMPI 1.4.2 (from http://www.open-mpi.org/ )====
./configure --prefix=/usr/local FFLAGS=-m64 FCFLAGS=-m64

Both PETSc and SLEPc tests ran through without errors (only with the -m64 
flags, though).

Do you know what might be wrong here? I'd be grateful for any help!

Many thanks in advance,
Kristina
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to