[Trilinos-Users] [EXTERNAL] stk::io: write out element--process association
Littlewood, David John
djlittl at sandia.gov
Tue Jul 2 10:55:16 MDT 2013
Nico,
Just to follow up on what Greg said, all you need to do is run
epu -p <num_proc> -add_processor_id <output_base_name>
where <num_proc> is the number of processors over which the output files are distributed and <output_base_name> is the base name of your exodus output files. (In your example below, it's "output".)
Then load output.e into Paraview and the processor number will be available as an element variable.
If you build the seacas package within Trilinos, epu will be in the bin directory.
Dave
From: Nico Schlömer <nico.schloemer at gmail.com<mailto:nico.schloemer at gmail.com>>
Date: Monday, July 1, 2013 1:07 PM
To: "Cyr, Eric C" <eccyr at sandia.gov<mailto:eccyr at sandia.gov>>
Cc: "trilinos-users at software.sandia.gov<mailto:trilinos-users at software.sandia.gov>" <trilinos-users at software.sandia.gov<mailto:trilinos-users at software.sandia.gov>>
Subject: Re: [Trilinos-Users] [EXTERNAL] stk::io: write out element--process association
I'm not using epu, all of this happens in the code using stk::io magic. Read in the file, redistribute the cells, do something, write it out.
Eric, how cna I use ParaView to visualize which file out of output.e.{1,2,3,...} a cell belongs to?
--Nico
On Mon, Jul 1, 2013 at 8:58 PM, Cyr, Eric C <eccyr at sandia.gov<mailto:eccyr at sandia.gov>> wrote:
Greg
Thanks, I didn't even know you could do this. Though, how would you suggest doing this on the fly? If you use paraview you don't need to use epu?
Eric
From: <Sjaardema>, Gregory D <gdsjaar at sandia.gov<mailto:gdsjaar at sandia.gov>>
Date: Monday, July 1, 2013 12:56 PM
To: Nico Schlömer <nico.schloemer at gmail.com<mailto:nico.schloemer at gmail.com>>, "trilinos-users at software.sandia.gov<mailto:trilinos-users at software.sandia.gov>" <trilinos-users at software.sandia.gov<mailto:trilinos-users at software.sandia.gov>>
Subject: Re: [Trilinos-Users] [EXTERNAL] stk::io: write out element--process association
Are you looking for a field in the combined file that shows which processor/file the element came from? If so, then if you use epu to combine the files, you can use the option "-add_processor_id"
--Greg
From: Nico Schlömer <nico.schloemer at gmail.com<mailto:nico.schloemer at gmail.com>>
Date: Monday, July 1, 2013 12:45 PM
To: "trilinos-users at software.sandia.gov<mailto:trilinos-users at software.sandia.gov>" <trilinos-users at software.sandia.gov<mailto:trilinos-users at software.sandia.gov>>
Subject: [EXTERNAL] [Trilinos-Users] stk::io: write out element--process association
Hi all,
I'm using stk::io to write out mesh data to ExodusII files, one file per process. Is there a way to write out the info about which elements belongs to which process?
Cheers,
Nico
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://software.sandia.gov/pipermail/trilinos-users/attachments/20130702/6ae70da0/attachment.html
More information about the Trilinos-Users
mailing list