# Problems Running ParMetis

Hello, I am using ParMetis with FreeCFD. I compiled ParMetis and the compilation seemed to work fine but the tests returned some errors. I was curious if someone could help me troubleshoot this issue. Test Output listed below.

Thanks

Scott

mpirun -np 4 ptest rotor.graph

ptest: Symbol `ompi_mpi_int' has different size in shared object, consider re-linking

ptest: Symbol `ompi_mpi_op_min' has different size in shared object, consider re-linking

ptest: Symbol `ompi_mpi_2int' has different size in shared object, consider re-linking

ptest: Symbol `ompi_mpi_op_minloc' has different size in shared object, consider re-linking

ptest: Symbol `ompi_mpi_op_max' has different size in shared object, consider re-linking

ptest: Symbol `ompi_mpi_float_int' has different size in shared object, consider re-linking

ptest: Symbol `ompi_mpi_double' has different size in shared object, consider re-linking

ptest: Symbol `ompi_mpi_comm_world' has different size in shared object, consider re-linking

ptest: Symbol `ompi_mpi_op_sum' has different size in shared object, consider re-linking

ptest: Symbol `ompi_mpi_float' has different size in shared object, consider re-linking

ptest: Symbol `ompi_mpi_int' has different size in shared object, consider re-linking

ptest: Symbol `ompi_mpi_op_min' has different size in shared object, consider re-linking

ptest: Symbol `ompi_mpi_2int' has different size in shared object, consider re-linking

ptest: Symbol `ompi_mpi_op_minloc' has different size in shared object, consider re-linking

ptest: Symbol `ompi_mpi_op_max' has different size in shared object, consider re-linking

ptest: Symbol `ompi_mpi_float_int' has different size in shared object, consider re-linking

ptest: Symbol `ompi_mpi_int' has different size in shared object, consider re-linking

ptest: Symbol `ompi_mpi_op_min' has different size in shared object, consider re-linking

ptest: Symbol `ompi_mpi_2int' has different size in shared object, consider re-linking

ptest: Symbol `ompi_mpi_op_minloc' has different size in shared object, consider re-linking

ptest: Symbol `ompi_mpi_op_max' has different size in shared object, consider re-linking

ptest: Symbol `ompi_mpi_float_int' has different size in shared object, consider re-linking

ptest: Symbol `ompi_mpi_double' has different size in shared object, consider re-linking

ptest: Symbol `ompi_mpi_comm_world' has different size in shared object, consider re-linking

ptest: Symbol `ompi_mpi_op_sum' has different size in shared object, consider re-linking

ptest: Symbol `ompi_mpi_float' has different size in shared object, consider re-linking

ptest: Symbol `ompi_mpi_double' has different size in shared object, consider re-linking

ptest: Symbol `ompi_mpi_comm_world' has different size in shared object, consider re-linking

ptest: Symbol `ompi_mpi_op_sum' has different size in shared object, consider re-linking

ptest: Symbol `ompi_mpi_float' has different size in shared object, consider re-linking

ptest: Symbol `ompi_mpi_int' has different size in shared object, consider re-linking

ptest: Symbol `ompi_mpi_op_min' has different size in shared object, consider re-linking

ptest: Symbol `ompi_mpi_2int' has different size in shared object, consider re-linking

ptest: Symbol `ompi_mpi_op_minloc' has different size in shared object, consider re-linking

ptest: Symbol `ompi_mpi_op_max' has different size in shared object, consider re-linking

ptest: Symbol `ompi_mpi_float_int' has different size in shared object, consider re-linking

ptest: Symbol `ompi_mpi_double' has different size in shared object, consider re-linking

ptest: Symbol `ompi_mpi_comm_world' has different size in shared object, consider re-linking

ptest: Symbol `ompi_mpi_op_sum' has different size in shared object, consider re-linking

ptest: Symbol `ompi_mpi_float' has different size in shared object, consider re-linking

Testing ParMETIS_V3_PartKway with options[1-2] = {3 1}, Ncon: 1, Nparts: 8

Setup: Max: 0.046, Sum: 0.046, Balance: 4.029

Matching: Max: 0.021, Sum: 0.021, Balance: 4.000

Contraction: Max: 0.027, Sum: 0.027, Balance: 4.003

InitPart: Max: 0.002, Sum: 0.002, Balance: 4.000

Project: Max: 0.001, Sum: 0.001, Balance: 4.088

Initialize: Max: 0.010, Sum: 0.010, Balance: 4.086

K-way: Max: 0.021, Sum: 0.021, Balance: 4.002

Total: Max: 0.128, Sum: 0.128, Balance: 4.000

Final 8-way CUT: 2135 Balance: 1.772 avg: 1.772

ParMETIS_V3_PartKway reported a cut of 2135

Testing ParMETIS_V3_PartKway with options[1-2] = {3 2}, Ncon: 1, Nparts: 8

Setup: Max: 0.045, Sum: 0.045, Balance: 4.000

Matching: Max: 0.021, Sum: 0.021, Balance: 4.002

Contraction: Max: 0.027, Sum: 0.027, Balance: 4.000

InitPart: Max: 0.002, Sum: 0.002, Balance: 4.000

Project: Max: 0.001, Sum: 0.001, Balance: 4.250

Initialize: Max: 0.010, Sum: 0.010, Balance: 4.084

K-way: Max: 0.023, Sum: 0.023, Balance: 4.000

Total: Max: 0.128, Sum: 0.128, Balance: 4.000

Final 8-way CUT: 3265 Balance: 3.012 avg: 3.012

ParMETIS_V3_PartKway reported a cut of 3265

Testing ParMETIS_V3_PartKway with options[1-2] = {3 1}, Ncon: 3, Nparts: 8

Setup: Max: 0.045, Sum: 0.045, Balance: 4.000

Matching: Max: 0.023, Sum: 0.023, Balance: 4.000

Contraction: Max: 0.026, Sum: 0.026, Balance: 4.003

InitPart: Max: 0.031, Sum: 0.031, Balance: 4.000

Project: Max: 0.001, Sum: 0.001, Balance: 4.114

Initialize: Max: 0.010, Sum: 0.010, Balance: 4.071

K-way: Max: 0.033, Sum: 0.033, Balance: 4.000

Total: Max: 0.170, Sum: 0.170, Balance: 4.000

Final 8-way CUT: 4605 Balance: 2.434 2.385 2.431 avg: 2.417

ParMETIS_V3_PartKway reported a cut of 4605

Testing ParMETIS_V3_PartKway with options[1-2] = {3 2}, Ncon: 3, Nparts: 8

Setup: Max: 0.039, Sum: 0.039, Balance: 4.000

Matching: Max: 0.022, Sum: 0.022, Balance: 4.001

Contraction: Max: 0.025, Sum: 0.025, Balance: 4.003

InitPart: Max: 0.029, Sum: 0.029, Balance: 4.000

Project: Max: 0.001, Sum: 0.001, Balance: 4.000

Initialize: Max: 0.010, Sum: 0.010, Balance: 4.083

K-way: Max: 0.032, Sum: 0.032, Balance: 4.000

Total: Max: 0.158, Sum: 0.158, Balance: 4.000

Final 8-way CUT: 4047 Balance: 1.842 2.704 1.919 avg: 2.155

ParMETIS_V3_PartKway reported a cut of 4047

Testing ParMETIS_V3_PartKway with options[1-2] = {3 1}, Ncon: 5, Nparts: 8

Setup: Max: 0.035, Sum: 0.035, Balance: 4.000

Matching: Max: 0.023, Sum: 0.023, Balance: 4.001

Contraction: Max: 0.025, Sum: 0.025, Balance: 4.002

InitPart: Max: 0.046, Sum: 0.046, Balance: 4.000

Project: Max: 0.001, Sum: 0.001, Balance: 4.000

Initialize: Max: 0.010, Sum: 0.010, Balance: 4.096

K-way: Max: 0.036, Sum: 0.036, Balance: 4.000

Total: Max: 0.175, Sum: 0.175, Balance: 4.000

Final 8-way CUT: 5553 Balance: 2.308 2.042 1.856 1.734 1.991 avg: 1.986

ParMETIS_V3_PartKway reported a cut of 5553

Testing ParMETIS_V3_PartKway with options[1-2] = {3 2}, Ncon: 5, Nparts: 8

Setup: Max: 0.035, Sum: 0.035, Balance: 4.000

Matching: Max: 0.023, Sum: 0.023, Balance: 4.001

Contraction: Max: 0.025, Sum: 0.025, Balance: 4.003

InitPart: Max: 0.044, Sum: 0.044, Balance: 4.000

Project: Max: 0.001, Sum: 0.001, Balance: 4.000

Initialize: Max: 0.010, Sum: 0.010, Balance: 4.083

K-way: Max: 0.039, Sum: 0.039, Balance: 4.000

Total: Max: 0.175, Sum: 0.175, Balance: 4.000

Final 8-way CUT: 4830 Balance: 1.940 1.921 1.596 1.595 1.788 avg: 1.768

ParMETIS_V3_PartKway reported a cut of 4830

Testing ParMETIS_V3_PartKway with options[1-2] = {3 1}, Ncon: 1, Nparts: 4

Setup: Max: 0.036, Sum: 0.036, Balance: 4.000

Matching: Max: 0.019, Sum: 0.019, Balance: 4.002

Contraction: Max: 0.023, Sum: 0.023, Balance: 4.000

InitPart: Max: 0.001, Sum: 0.001, Balance: 4.005

Project: Max: 0.001, Sum: 0.001, Balance: 4.000

Initialize: Max: 0.007, Sum: 0.007, Balance: 4.131

K-way: Max: 0.016, Sum: 0.016, Balance: 4.000

Remap: Max: 0.000, Sum: 0.000, Balance: 4.000

Total: Max: 0.102, Sum: 0.102, Balance: 4.000

Final 4-way CUT: 1870 Balance: 1.600 avg: 1.600

ParMETIS_V3_PartKway reported a cut of 1870

Testing ParMETIS_V3_PartKway with options[1-2] = {3 2}, Ncon: 1, Nparts: 4

Setup: Max: 0.035, Sum: 0.035, Balance: 4.000

Matching: Max: 0.019, Sum: 0.019, Balance: 4.001

Contraction: Max: 0.023, Sum: 0.023, Balance: 4.000

InitPart: Max: 0.001, Sum: 0.001, Balance: 4.000

Project: Max: 0.001, Sum: 0.001, Balance: 4.000

Initialize: Max: 0.008, Sum: 0.008, Balance: 4.100

K-way: Max: 0.019, Sum: 0.019, Balance: 4.000

Remap: Max: 0.000, Sum: 0.000, Balance: 4.000

Total: Max: 0.105, Sum: 0.105, Balance: 4.000

Final 4-way CUT: 716 Balance: 1.589 avg: 1.589

ParMETIS_V3_PartKway reported a cut of 716

Testing ParMETIS_V3_PartKway with options[1-2] = {3 1}, Ncon: 3, Nparts: 4

Setup: Max: 0.035, Sum: 0.035, Balance: 4.000

Matching: Max: 0.021, Sum: 0.021, Balance: 4.001

Contraction: Max: 0.024, Sum: 0.024, Balance: 4.000

InitPart: Max: 0.015, Sum: 0.015, Balance: 4.001

Project: Max: 0.001, Sum: 0.001, Balance: 4.000

Initialize: Max: 0.009, Sum: 0.009, Balance: 4.104

K-way: Max: 0.027, Sum: 0.027, Balance: 4.000

Remap: Max: 0.000, Sum: 0.000, Balance: 4.030

Total: Max: 0.132, Sum: 0.132, Balance: 4.000

Final 4-way CUT: 2447 Balance: 1.565 1.053 1.169 avg: 1.262

ParMETIS_V3_PartKway reported a cut of 2447

Testing ParMETIS_V3_PartKway with options[1-2] = {3 2}, Ncon: 3, Nparts: 4

Setup: Max: 0.035, Sum: 0.035, Balance: 4.000

Matching: Max: 0.021, Sum: 0.021, Balance: 4.001

Contraction: Max: 0.024, Sum: 0.024, Balance: 4.000

InitPart: Max: 0.015, Sum: 0.015, Balance: 4.000

Project: Max: 0.001, Sum: 0.001, Balance: 4.000

Initialize: Max: 0.011, Sum: 0.010, Balance: 4.072

K-way: Max: 0.027, Sum: 0.027, Balance: 4.000

Remap: Max: 0.000, Sum: 0.000, Balance: 4.094

Total: Max: 0.134, Sum: 0.134, Balance: 4.000

Final 4-way CUT: 3120 Balance: 1.389 1.082 1.103 avg: 1.191

ParMETIS_V3_PartKway reported a cut of 3120

Testing ParMETIS_V3_PartKway with options[1-2] = {3 1}, Ncon: 5, Nparts: 4

Setup: Max: 0.035, Sum: 0.035, Balance: 4.000

Matching: Max: 0.023, Sum: 0.023, Balance: 4.001

Contraction: Max: 0.025, Sum: 0.025, Balance: 4.001

InitPart: Max: 0.019, Sum: 0.019, Balance: 4.000

Project: Max: 0.001, Sum: 0.001, Balance: 4.000

Initialize: Max: 0.009, Sum: 0.009, Balance: 4.124

K-way: Max: 0.031, Sum: 0.031, Balance: 4.000

Remap: Max: 0.000, Sum: 0.000, Balance: 4.000

Total: Max: 0.143, Sum: 0.143, Balance: 4.000

Final 4-way CUT: 2232 Balance: 1.119 1.268 0.979 0.981 0.963 avg: 1.062

ParMETIS_V3_PartKway reported a cut of 2232

Testing ParMETIS_V3_PartKway with options[1-2] = {3 2}, Ncon: 5, Nparts: 4

Setup: Max: 0.035, Sum: 0.035, Balance: 4.000

Matching: Max: 0.026, Sum: 0.026, Balance: 4.001

Contraction: Max: 0.026, Sum: 0.026, Balance: 4.003

InitPart: Max: 0.019, Sum: 0.019, Balance: 4.000

Project: Max: 0.001, Sum: 0.001, Balance: 4.000

Initialize: Max: 0.009, Sum: 0.009, Balance: 4.116

K-way: Max: 0.032, Sum: 0.032, Balance: 4.000

Remap: Max: 0.000, Sum: 0.000, Balance: 4.000

Total: Max: 0.147, Sum: 0.147, Balance: 4.000

Final 4-way CUT: 2526 Balance: 1.180 1.429 1.028 1.021 1.008 avg: 1.133

ParMETIS_V3_PartKway reported a cut of 2526

Testing ParMETIS_V3_PartKway with options[1-2] = {3 1}, Ncon: 1, Nparts: 2

Setup: Max: 0.035, Sum: 0.035, Balance: 4.000

Matching: Max: 0.019, Sum: 0.019, Balance: 4.002

Contraction: Max: 0.023, Sum: 0.023, Balance: 4.000

InitPart: Max: 0.001, Sum: 0.001, Balance: 4.000

Project: Max: 0.001, Sum: 0.001, Balance: 4.000

Initialize: Max: 0.007, Sum: 0.006, Balance: 4.158

K-way: Max: 0.013, Sum: 0.013, Balance: 4.001

Total: Max: 0.098, Sum: 0.098, Balance: 4.000

Final 2-way CUT: 407 Balance: 1.188 avg: 1.188

ParMETIS_V3_PartKway reported a cut of 407

Testing ParMETIS_V3_PartKway with options[1-2] = {3 2}, Ncon: 1, Nparts: 2

Setup: Max: 0.035, Sum: 0.035, Balance: 4.000

Matching: Max: 0.019, Sum: 0.019, Balance: 4.003

Contraction: Max: 0.022, Sum: 0.022, Balance: 4.000

InitPart: Max: 0.001, Sum: 0.001, Balance: 4.007

Project: Max: 0.001, Sum: 0.001, Balance: 4.000

Initialize: Max: 0.007, Sum: 0.007, Balance: 4.152

K-way: Max: 0.014, Sum: 0.014, Balance: 4.000

Total: Max: 0.098, Sum: 0.098, Balance: 4.000

Final 2-way CUT: 324 Balance: 1.179 avg: 1.179

ParMETIS_V3_PartKway reported a cut of 324

Testing ParMETIS_V3_PartKway with options[1-2] = {3 1}, Ncon: 3, Nparts: 2

Setup: Max: 0.035, Sum: 0.035, Balance: 4.000

Matching: Max: 0.021, Sum: 0.021, Balance: 4.003

Contraction: Max: 0.024, Sum: 0.024, Balance: 4.000

InitPart: Max: 0.006, Sum: 0.006, Balance: 4.001

Project: Max: 0.001, Sum: 0.001, Balance: 4.000

Initialize: Max: 0.008, Sum: 0.008, Balance: 4.129

K-way: Max: 0.023, Sum: 0.023, Balance: 4.000

Total: Max: 0.118, Sum: 0.118, Balance: 4.000

Final 2-way CUT: 1297 Balance: 1.536 1.370 1.407 avg: 1.438

ParMETIS_V3_PartKway reported a cut of 1297

Testing ParMETIS_V3_PartKway with options[1-2] = {3 2}, Ncon: 3, Nparts: 2

Setup: Max: 0.035, Sum: 0.035, Balance: 4.000

Matching: Max: 0.021, Sum: 0.021, Balance: 4.002

Contraction: Max: 0.023, Sum: 0.023, Balance: 4.000

InitPart: Max: 0.006, Sum: 0.006, Balance: 4.001

Project: Max: 0.001, Sum: 0.001, Balance: 4.000

Initialize: Max: 0.008, Sum: 0.008, Balance: 4.122

K-way: Max: 0.022, Sum: 0.022, Balance: 4.000

Total: Max: 0.116, Sum: 0.116, Balance: 4.000

Final 2-way CUT: 834 Balance: 0.655 1.087 1.146 avg: 0.963

ParMETIS_V3_PartKway reported a cut of 834

Testing ParMETIS_V3_PartKway with options[1-2] = {3 1}, Ncon: 5, Nparts: 2

Setup: Max: 0.035, Sum: 0.035, Balance: 4.000

Matching: Max: 0.023, Sum: 0.023, Balance: 4.002

Contraction: Max: 0.024, Sum: 0.024, Balance: 4.000

InitPart: Max: 0.007, Sum: 0.007, Balance: 4.001

Project: Max: 0.001, Sum: 0.001, Balance: 4.000

Initialize: Max: 0.008, Sum: 0.008, Balance: 4.133

K-way: Max: 0.025, Sum: 0.025, Balance: 4.001

Total: Max: 0.123, Sum: 0.123, Balance: 4.000

Final 2-way CUT: 1606 Balance: 0.653 0.512 1.111 1.286 1.350 avg: 0.982

ParMETIS_V3_PartKway reported a cut of 1606

Testing ParMETIS_V3_PartKway with options[1-2] = {3 2}, Ncon: 5, Nparts: 2

Setup: Max: 0.035, Sum: 0.035, Balance: 4.000

Matching: Max: 0.023, Sum: 0.023, Balance: 4.001

Contraction: Max: 0.025, Sum: 0.025, Balance: 4.000

InitPart: Max: 0.007, Sum: 0.007, Balance: 4.001

Project: Max: 0.001, Sum: 0.001, Balance: 4.000

Initialize: Max: 0.008, Sum: 0.008, Balance: 4.124

K-way: Max: 0.025, Sum: 0.025, Balance: 4.000

Remap: Max: 0.000, Sum: 0.000, Balance: 4.000

Total: Max: 0.123, Sum: 0.123, Balance: 4.000

Final 2-way CUT: 1142 Balance: 0.716 0.558 1.020 1.215 1.288 avg: 0.959

ParMETIS_V3_PartKway reported a cut of 1142

Testing ParMETIS_V3_PartGeomKway with options[1-2] = {3 1}, Ncon: 1, Nparts: 8

Setup: Max: 0.013, Sum: 0.013, Balance: 4.000

Total: Max: 0.021, Sum: 0.021, Balance: 4.000

[HyperDyneHPC:31236] *** Process received signal ***

[HyperDyneHPC:31236] Signal: Segmentation fault (11)

[HyperDyneHPC:31236] Signal code: Address not mapped (1)

[HyperDyneHPC:31236] Failing at address: (nil)

[HyperDyneHPC:31236] [ 0] /lib/libpthread.so.0 [0x7fe3c860ba10]

[HyperDyneHPC:31236] [ 1] ptest(ParMETIS_V3_PartGeomKway+0x5ae) [0x41335e]

[HyperDyneHPC:31236] [ 2] ptest(TestParMetis_V3+0x5b3) [0x409093]

[HyperDyneHPC:31236] [ 3] ptest(main+0x63) [0x409fb3]

[HyperDyneHPC:31236] [ 4] /lib/libc.so.6(__libc_start_main+0xe6) [0x7fe3c82c65c6]

[HyperDyneHPC:31236] [ 5] ptest [0x408369]

[HyperDyneHPC:31236] *** End of error message ***

[HyperDyneHPC:31235] *** Process received signal ***

[HyperDyneHPC:31235] Signal: Segmentation fault (11)

[HyperDyneHPC:31235] Signal code: Address not mapped (1)

[HyperDyneHPC:31235] Failing at address: (nil)

[HyperDyneHPC:31235] [ 0] /lib/libpthread.so.0 [0x7f989a272a10]

[HyperDyneHPC:31235] [ 1] ptest(ParMETIS_V3_PartGeomKway+0x5ae) [0x41335e]

[HyperDyneHPC:31235] [ 2] ptest(TestParMetis_V3+0x5b3) [0x409093]

[HyperDyneHPC:31235] [ 3] ptest(main+0x63) [0x409fb3]

[HyperDyneHPC:31235] [ 4] /lib/libc.so.6(__libc_start_main+0xe6) [0x7f9899f2d5c6]

[HyperDyneHPC:31235] [ 5] ptest [0x408369]

[HyperDyneHPC:31235] *** End of error message ***

--------------------------------------------------------------------------

mpirun noticed that process rank 2 with PID 31235 on node HyperDyneHPC exited on signal 11 (Segmentation fault).

--------------------------------------------------------------------------