Thanks to visit codestin.com
Credit goes to github.com

Skip to content

CheapMeow/VTSWriter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Usage

The repository is used to demonstrate a VTS writer, which uses vtkXMLPStructuredGridWriter to support MPI.

Most of code comes from https://stackoverflow.com/questions/24123432/composing-vtk-file-from-multiple-mpi-outputs

Build

The repository depends on VTK, you should have compiled VTK and configed VTK_DIR in your .bashrc.

Another dependency is MPI. You should add mpicxx and mpirun to your .bashrc.

To build this repository:

source build.sh

Run program:

mpirun -np 2 ./test

Debug program:

mpirun -np 2 -gtool "gdb-oneapi:0,1=attach" ./test

About

VTS writer using VTK. Supports MPI.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published