Hi!

When I try to solve a problem with subdomains I receive the following error:

*** Solving time step 2, time = 200 ***
 Mesh Information:
  mesh_dimension()=3
  spatial_dimension()=3
  n_nodes()=1331
    n_local_nodes()=1331
  n_elem()=1000
    n_local_elem()=1000
    n_active_elem()=1000
  n_subdomains()=2
  n_partitions()=1
  n_processors()=1
  n_threads()=1
  processor_id()=0



*** Beginning solving Navier-Stokes problem
[0]PETSC ERROR: 
------------------------------------------------------------------------
[0]PETSC ERROR: Caught signal number 10 BUS: Bus Error, possibly illegal memory 
access
[0]PETSC ERROR: Try option -start_in_debugger or -on_error_attach_debugger
[0]PETSC ERROR: or see 
http://www.mcs.anl.gov/petsc/petsc-as/documentation/faq.html#valgrind[0]PETSC 
ERROR: or try http://valgrind.org on GNU/linux and Apple Mac OS X to find 
memory corruption errors
[0]PETSC ERROR: likely location of problem given in stack below
[0]PETSC ERROR: ---------------------  Stack Frames 
------------------------------------
[0]PETSC ERROR: Note: The EXACT line numbers in the stack are not available,
[0]PETSC ERROR:       INSTEAD the line number of the start of the function
[0]PETSC ERROR:       is given.
[0]PETSC ERROR: --------------------- Error Message 
------------------------------------
[0]PETSC ERROR: Signal received!
[0]PETSC ERROR: 
------------------------------------------------------------------------
[0]PETSC ERROR: Petsc Release Version 3.2.0, Patch 6, Wed Jan 11 09:28:45 CST 
2012 
[0]PETSC ERROR: See docs/changes/index.html for recent updates.
[0]PETSC ERROR: See docs/faq.html for hints about trouble shooting.
[0]PETSC ERROR: See docs/index.html for manual pages.
[0]PETSC ERROR: 
------------------------------------------------------------------------
[0]PETSC ERROR: run-dbg on a linux-gnu named MacBook-Pro-de-Daniel.local by 
root Fri Nov 23 01:33:51 2012
[0]PETSC ERROR: Libraries linked from /Users/daniel/Dev/petsc-3.2-p6/lib
[0]PETSC ERROR: Configure run at Tue Feb 28 22:00:36 2012
[0]PETSC ERROR: Configure options --prefix=/Users/daniel/Dev/petsc-3.2-p6 
--with-cxx=mpicxx --with-cc=mpicc --with-fc=mpif90 --download-f-blas-lapack=1 
--download-hypre=1 --with-shared-libraries=0
[0]PETSC ERROR: 
------------------------------------------------------------------------
[0]PETSC ERROR: User provided function() line 0 in unknown directory unknown 
file
--------------------------------------------------------------------------
MPI_ABORT was invoked on rank 0 in communicator MPI COMMUNICATOR 3 DUP FROM 0 
with errorcode 59.

NOTE: invoking MPI_ABORT causes Open MPI to kill all MPI processes.
You may or may not see output from other processes, depending on
exactly when Open MPI kills them.
--------------------------------------------------------------------------
--------------------------------------------------------------------------
mpirun has exited due to process rank 0 with PID 3799 on
node MacBook-Pro-de-Daniel.local exiting without calling "finalize". This may
have caused other processes in the application to be
terminated by signals sent by mpirun (as reported here).
--------------------------------------------------------------------------

I have four equations at all and for each one I have a similar piece of code 
when I solve it:

                 if(time > dt ){
                      std::set<subdomain_id_type> id_list;
                      id_list.insert(1);
                      SystemSubsetBySubdomain::SubdomainSelectionByList 
selection(id_list);
                      SystemSubsetBySubdomain subset(navier_stokes_system, 
selection);
                      navier_stokes_system.restrict_solve_to(&subset, 
SUBSET_ZERO);
                  }
                  equation_systems.get_system("Navier-Stokes").solve();

I defined two subdomains.

Any idea of what is the cause of this error?

Best regards,

Daniel.
------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to