[vtkusers] Trying to use more than one CPU with vtkPProbefilter

Brian Curtis bcurtis3 at masonlive.gmu.edu
Thu Jun 14 16:54:03 EDT 2012


http://aurora.gmu.edu/svn/bcurtis/Dissertation/Differences/CMakeLists.txt
http://aurora.gmu.edu/svn/bcurtis/Dissertation/Differences/InterpPoints.cxx

When I run InterpPoints.cxx I eventually get the following error:
bcurtis at sunspot:~/Desktop/Dissertation/Differences$ ./InterpPoints
This is the beggining of the file
Please enter the first directory to read CDF files from (including the 
final /): /mnt/swd3/Users/bcurtis/OpenGGCM/Run1/CDF/
Please enter the second directory to read CDF files from (including the 
final /): /mnt/swd3/Users/bcurtis/batsrus_rcm/run1/cdf/
Finished Entering Directories Into String Array
There are 27 variables
Variable Number 0 is x
Variable Number 1 is y
Variable Number 2 is z
Variable Number 3 is x_bx
Variable Number 4 is x_by
Variable Number 5 is x_bz
Variable Number 6 is y_bx
Variable Number 7 is y_by
Variable Number 8 is y_bz
Variable Number 9 is z_bx
Variable Number 10 is z_by
Variable Number 11 is z_bz
Variable Number 12 is bx
Variable Number 13 is by
Variable Number 14 is bz
Variable Number 15 is bx1
Variable Number 16 is by1
Variable Number 17 is bz1
Variable Number 18 is ux
Variable Number 19 is uy
Variable Number 20 is uz
Variable Number 21 is jx
Variable Number 22 is jy
Variable Number 23 is jz
Variable Number 24 is rho
Variable Number 25 is eta
Variable Number 26 is p
Please choose which variable number you would like to create difference 
plots from:24
The Chosen Variable Number 24 is rho
Opening File 
/mnt/swd3/Users/bcurtis/OpenGGCM/Run1/CDF/Brian_Curtis_011812_1.3df.007200.cdf 
for reading
There are 511 total values in x
Grab From CDF has completed
Opening File 
/mnt/swd3/Users/bcurtis/OpenGGCM/Run1/CDF/Brian_Curtis_011812_1.3df.007200.cdf 
for reading
There are 120 total values in y
Grab From CDF has completed
Opening File 
/mnt/swd3/Users/bcurtis/OpenGGCM/Run1/CDF/Brian_Curtis_011812_1.3df.007200.cdf 
for reading
There are 120 total values in z
Grab From CDF has completed
Created Source points1
Opening File 
/mnt/swd3/Users/bcurtis/batsrus_rcm/run1/cdf/3d__ful_1_t00000000_n0002000.out.cdf 
for reading
There are 1958688 total values in x
Grab From CDF has completed
Opening File 
/mnt/swd3/Users/bcurtis/batsrus_rcm/run1/cdf/3d__ful_1_t00000000_n0002000.out.cdf 
for reading
There are 1958688 total values in y
Grab From CDF has completed
Opening File 
/mnt/swd3/Users/bcurtis/batsrus_rcm/run1/cdf/3d__ful_1_t00000000_n0002000.out.cdf 
for reading
There are 1958688 total values in z
Grab From CDF has completed
Created Source points2
Opening File 
/mnt/swd3/Users/bcurtis/OpenGGCM/Run1/CDF/Brian_Curtis_011812_1.3df.007200.cdf 
for reading
There are 7358400 total values in rho
Grab From CDF has completed
Created Scalar Array
Opening File 
/mnt/swd3/Users/bcurtis/batsrus_rcm/run1/cdf/3d__ful_1_t00000000_n0002000.out.cdf 
for reading
There are 1958688 total values in rho
Grab From CDF has completed
Created Scalar Array
Inserted source points1 and scalars into structured grid
Inserted source points2 and scalars into structured grid
Started MPI Controller
Creating Probe Filter
ERROR: In 
/home/bcurtis/Desktop/Dissertation/Differences/VTK/Filtering/vtkStreamingDemandDrivenPipeline.cxx, 
line 1009
vtkStreamingDemandDrivenPipeline (0x2b330f0): The update extent 
specified in the information for output port 0 on algorithm 
vtkTrivialProducer(0x2b32db0) is 0 1958687 0 1958687 0 1958687, which is 
outside the whole extent 0 510 0 119 0 119.

I don't understand this error, plus InterpPoints.cxx does not use more 
than one CPU and I can not find any online documents or examples that 
would show how to properly use vtkPProbeFilter to call multiple CPU's 
for use.

Thanks for your help,
~Brian C.





More information about the vtkusers mailing list