[Trilinos-Users] Exodus and MPI

Andrea Penza pepe.aero at alice.it
Tue Dec 13 14:43:36 MST 2011


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




More information about the Trilinos-Users mailing list