[Trilinos-Users] Exodus and MPI

Kevin Long kevin.long at ttu.edu
Tue Dec 13 15:20:46 MST 2011


Hi Andrea,

There are the python scripts that Shota mentioned, and also a program 
partitionExo.cpp in Sundance/tests-std-mesh/Readers. Both require you to 
install the Chaco mesh partitioner.

Let me know if I can help.

Kevin

On 12/13/2011 04:01 PM, Shota Soga wrote:
> HI Andrea,
>
> When you run Sundance with multi-dore, it asks to distributed mesh by 
> default for parallel computing.
>
> I do not know how to generate distributed mesh with exodus (probably 
> Cubit can do this?), but in the source directory, I thought there is 
> python script to convert Exodus file to partitioned triangle mesh. 
> Then, use Triangle Mesh reader for partitioned triangle mesh.
>
> Shota
>
> On Tue, Dec 13, 2011 at 4:43 PM, Andrea Penza <pepe.aero at alice.it 
> <mailto:pepe.aero at alice.it>> wrote:
>
>     Hi all,
>
>     I have problems executing Sundance with ExodusII mesh. I'm trying
>     to run
>     it with MPI on the two processors of my DualCore. I've tested MPI and
>     Exodus separately and everything was working.
>     Now the problem is that my system look for two splitted files for the
>     mesh, particularly it search *.pxo file format.
>     The system reports this message at runtime:
>
>     andrea at andrea-MacBookPro:~/Projects/trilinos-10.8.3-Source/MyApps/LaplaceScalar$
>     time mpirun -np 2 ./LaplaceScalarExo.exe
>     Teuchos::GlobalMPISession::GlobalMPISession(): started processor with
>     name andrea-MacBookPro and rank 0!
>     Teuchos::GlobalMPISession::GlobalMPISession(): started processor with
>     name andrea-MacBookPro and rank 1!
>     Simulation built using Sundance version 2.3.0 (10 May 2008)
>     Sundance is copyright
>      (C) 2005-2008 Sandia National Laboratories
>      (C) 2007-2008 Texas Tech University
>     and is licensed under the GNU Lesser General Public License,
>     version 2.1
>     [1]
>     Sundance detected exception:
>     /home/andrea/Projects/trilinos-10.8.3-Source/packages/Sundance/src-utils/Utilities/SundancePathUtils.cpp:58:
>
>     Throw number = 1
>
>     Throw test that evaluated to true: true
>
>     could not find file ../Mesh/exodusii/square-2-0.pxo in path
>     {.,
>     /home/andrea/Projects/trilinos-10.8.3-Source/BUILD/packages/Sundance/etc,
>     /usr/local/etc, NOTFOUND/Sundance/meshes,
>     /home/andrea/Projects/trilinos-10.8.3-Source/BUILD/packages/Sundance/examples-tutorial/data,
>     /usr/local/examples-tutorial/data}
>     caught
>     in
>     /home/andrea/Projects/trilinos-10.8.3-Source/packages/Sundance/src-std-mesh/Sources/SundanceExodusMeshReader.cpp:474
>
>     caught
>     in
>     /home/andrea/Projects/trilinos-10.8.3-Source/packages/Sundance/src-std-mesh/Sources/SundanceMeshSource.cpp:69
>
>     test FAILED
>     Sundance detected exception:
>     /home/andrea/Projects/trilinos-10.8.3-Source/packages/Sundance/src-utils/Utilities/SundancePathUtils.cpp:58:
>
>     Throw number = 1
>
>     Throw test that evaluated to true: true
>
>     could not find file ../Mesh/exodusii/square-2-1.pxo in path
>     {.,
>     /home/andrea/Projects/trilinos-10.8.3-Source/BUILD/packages/Sundance/etc,
>     /usr/local/etc, NOTFOUND/Sundance/meshes,
>     /home/andrea/Projects/trilinos-10.8.3-Source/BUILD/packages/Sundance/examples-tutorial/data,
>     /usr/local/examples-tutorial/data}
>     caught
>     in
>     /home/andrea/Projects/trilinos-10.8.3-Source/packages/Sundance/src-std-mesh/Sources/SundanceExodusMeshReader.cpp:474
>
>     caught
>     in
>     /home/andrea/Projects/trilinos-10.8.3-Source/packages/Sundance/src-std-mesh/Sources/SundanceMeshSource.cpp:69
>
>     test FAILED
>
>
>     As you can see, my system look for a
>     file ../Mesh/exodusii/square-2-0.pxo for the process with rank 0, and
>     the file ../Mesh/exodusii/square-2-1.pxo for the rank 1.
>     The source mesh file name is square.exo in the dir Mesh/exodusii.
>     Thanks a lot to everyone could help me!
>     Kind regards,
>
>     Andrea
>
>
>     _______________________________________________
>     Trilinos-Users mailing list
>     Trilinos-Users at software.sandia.gov
>     <mailto:Trilinos-Users at software.sandia.gov>
>     http://software.sandia.gov/mailman/listinfo/trilinos-users
>
>
>
>
> -- 
> Shota Soga
> Graduate Assistant at North Carolina State University
>
> Email: ssoga at ncsu.edu <mailto:ssoga at ncsu.edu>
> URL:http://abdelk.ne.ncsu.edu/ 
> <http://abdelk.ne.ncsu.edu/wiki/index.php/Shota_Soga>w/
>
>


-- 
Kevin Long
Associate Professor
Department of Mathematics and Statistics
Texas Tech University

"The end of fear is the beginning of wisdom"
- Bertrand Russell

-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://software.sandia.gov/pipermail/trilinos-users/attachments/20111213/a967d981/attachment.html 


More information about the Trilinos-Users mailing list