Hi, 

is it possible that the boundary_ids have something to do with my
problem?
During the calculation I manually set the boundary ids by: 

mesh.boundary_info->add_node (nod, idval);              
mesh.boundary_info->add_side (elem,s, idval);

If I write the mesh before everything works fine. In contrast, if I do
it after setting the boundary ids, I can't write it any more (except
with gmv). 

Robert

Am Freitag, den 26.08.2011, 12:49 +0200 schrieb robert:
> Hello, 
> 
> My calculation consists of several parts. For each part the geometry
> changes and I create a new mesh. I want to save the old mesh in a file
> by: 
>       new_equation_systems.write("../bgscratch/old_equation_systems.xdr");
> new_mesh.write("../bgscratch/old_mesh.xdr");
> 
> If I run this code in serial there is no problem at all. However, if I
> run it in parallel on a BlueGeneP using mpirun and a partition with 32
> processors then, writing the equation system works fine but, writing the
> mesh doesn't seem to work. For 
> 
> 'new_mesh.write("../bgscratch/old_mesh.xdr");'
> 
> the  program gets stuck. There is no error and it doesn't abort, it just
> seems to take quite a long time. In contrast, the 
> 
> new_equation_systems.write("../bgscratch/old_equation_systems.xdr");
> 
> takes some miliseconds. 
> What am I doing wrong?
> 
> Thanks, 
> Robert
> 
> 
> 
> ------------------------------------------------------------------------------
> EMC VNX: the world's simplest storage, starting under $10K
> The only unified storage solution that offers unified management 
> Up to 160% more powerful than alternatives and 25% more efficient. 
> Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
> _______________________________________________
> Libmesh-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/libmesh-users



------------------------------------------------------------------------------
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management 
Up to 160% more powerful than alternatives and 25% more efficient. 
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to