-
Notifications
You must be signed in to change notification settings - Fork 238
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'metis-upstream' into 'master'
[cmake] Use upstream METIS See merge request ogs/ogs!4773
- Loading branch information
Showing
123 changed files
with
162 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -74,6 +74,7 @@ | |
hdf5 | ||
json-modern-cxx | ||
libxml2 | ||
metis | ||
pybind11-2.10.4 | ||
python | ||
range-v3 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+0 Bytes
(100%)
...ata/NodePartitionedMesh/FieldDataWithoutIPData/A2_tunnel_surface_partitioned_msh_ele2.bin
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...a/NodePartitionedMesh/FieldDataWithoutIPData/A2_tunnel_surface_partitioned_msh_ele_g2.bin
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...ata/NodePartitionedMesh/FieldDataWithoutIPData/A2_tunnel_surface_partitioned_msh_nod2.bin
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...a/NodePartitionedMesh/QuadraticElements/Quad8/quad_q_partitioned_cell_properties_cfg2.bin
Binary file not shown.
Binary file modified
BIN
-10 Bytes
(75%)
...a/NodePartitionedMesh/QuadraticElements/Quad8/quad_q_partitioned_cell_properties_val2.bin
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
Tests/Data/NodePartitionedMesh/QuadraticElements/Quad8/quad_q_partitioned_msh_cfg2.bin
Binary file not shown.
Binary file modified
BIN
+192 Bytes
(100%)
Tests/Data/NodePartitionedMesh/QuadraticElements/Quad8/quad_q_partitioned_msh_ele2.bin
Binary file not shown.
Binary file modified
BIN
-384 Bytes
(50%)
Tests/Data/NodePartitionedMesh/QuadraticElements/Quad8/quad_q_partitioned_msh_ele_g2.bin
Binary file not shown.
Binary file modified
BIN
-320 Bytes
(78%)
Tests/Data/NodePartitionedMesh/QuadraticElements/Quad8/quad_q_partitioned_msh_nod2.bin
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...dePartitionedMesh/QuadraticElements/Quad9/quad_9node_partitioned_cell_properties_cfg2.bin
Binary file not shown.
Binary file modified
BIN
-10 Bytes
(75%)
...dePartitionedMesh/QuadraticElements/Quad9/quad_9node_partitioned_cell_properties_val2.bin
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
Tests/Data/NodePartitionedMesh/QuadraticElements/Quad9/quad_9node_partitioned_msh_cfg2.bin
Binary file not shown.
Binary file modified
BIN
+208 Bytes
(100%)
Tests/Data/NodePartitionedMesh/QuadraticElements/Quad9/quad_9node_partitioned_msh_ele2.bin
Binary file not shown.
Binary file modified
BIN
-416 Bytes
(50%)
Tests/Data/NodePartitionedMesh/QuadraticElements/Quad9/quad_9node_partitioned_msh_ele_g2.bin
Binary file not shown.
Binary file modified
BIN
-384 Bytes
(78%)
Tests/Data/NodePartitionedMesh/QuadraticElements/Quad9/quad_9node_partitioned_msh_nod2.bin
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...titionedMesh/QuadraticElements/Quad_hex/basicQuadHex_partitioned_cell_properties_cfg2.bin
Binary file not shown.
Binary file modified
BIN
-2 Bytes
(100%)
...titionedMesh/QuadraticElements/Quad_hex/basicQuadHex_partitioned_cell_properties_val2.bin
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...Data/NodePartitionedMesh/QuadraticElements/Quad_hex/basicQuadHex_partitioned_msh_cfg2.bin
Binary file not shown.
Binary file modified
BIN
+384 Bytes
(100%)
...Data/NodePartitionedMesh/QuadraticElements/Quad_hex/basicQuadHex_partitioned_msh_ele2.bin
Binary file not shown.
Binary file modified
BIN
-768 Bytes
(98%)
...ta/NodePartitionedMesh/QuadraticElements/Quad_hex/basicQuadHex_partitioned_msh_ele_g2.bin
Binary file not shown.
Binary file modified
BIN
-608 Bytes
(100%)
...Data/NodePartitionedMesh/QuadraticElements/Quad_hex/basicQuadHex_partitioned_msh_nod2.bin
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...titionedMesh/QuadraticElements/Quad_tet/basicQuadTet_partitioned_cell_properties_cfg2.bin
Binary file not shown.
Binary file modified
BIN
+17 Bytes
(100%)
...titionedMesh/QuadraticElements/Quad_tet/basicQuadTet_partitioned_cell_properties_val2.bin
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...Data/NodePartitionedMesh/QuadraticElements/Quad_tet/basicQuadTet_partitioned_msh_cfg2.bin
Binary file not shown.
Binary file modified
BIN
-1.86 KB
(100%)
...Data/NodePartitionedMesh/QuadraticElements/Quad_tet/basicQuadTet_partitioned_msh_ele2.bin
Binary file not shown.
Binary file modified
BIN
+3.72 KB
(100%)
...ta/NodePartitionedMesh/QuadraticElements/Quad_tet/basicQuadTet_partitioned_msh_ele_g2.bin
Binary file not shown.
Binary file modified
BIN
+1.38 KB
(100%)
...Data/NodePartitionedMesh/QuadraticElements/Quad_tet/basicQuadTet_partitioned_msh_nod2.bin
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...NodePartitionedMesh/QuadraticElements/Quad_triangle/basicQuadTri_partitioned_msh_cfg2.bin
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...NodePartitionedMesh/QuadraticElements/Quad_triangle/basicQuadTri_partitioned_msh_ele2.bin
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...dePartitionedMesh/QuadraticElements/Quad_triangle/basicQuadTri_partitioned_msh_ele_g2.bin
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...NodePartitionedMesh/QuadraticElements/Quad_triangle/basicQuadTri_partitioned_msh_nod2.bin
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...s/MixedElements/TriQuad/quad_tri_THM_t_864000_000000_partitioned_cell_properties_cfg4.bin
Binary file not shown.
Binary file modified
BIN
-2 Bytes
(100%)
...s/MixedElements/TriQuad/quad_tri_THM_t_864000_000000_partitioned_cell_properties_val4.bin
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...ts/TriQuad/quad_tri_THM_t_864000_000000_partitioned_integration_point_properties_cfg4.bin
Binary file not shown.
Binary file modified
BIN
-512 Bytes
(100%)
...ts/TriQuad/quad_tri_THM_t_864000_000000_partitioned_integration_point_properties_val4.bin
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...onPointStress/MixedElements/TriQuad/quad_tri_THM_t_864000_000000_partitioned_msh_cfg4.bin
Binary file not shown.
Binary file modified
BIN
+112 Bytes
(100%)
...onPointStress/MixedElements/TriQuad/quad_tri_THM_t_864000_000000_partitioned_msh_ele4.bin
Binary file not shown.
Binary file modified
BIN
-224 Bytes
(96%)
...PointStress/MixedElements/TriQuad/quad_tri_THM_t_864000_000000_partitioned_msh_ele_g4.bin
Binary file not shown.
Binary file modified
BIN
-64 Bytes
(99%)
...onPointStress/MixedElements/TriQuad/quad_tri_THM_t_864000_000000_partitioned_msh_nod4.bin
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...s/MixedElements/TriQuad/quad_tri_THM_t_864000_000000_partitioned_node_properties_cfg4.bin
Binary file not shown.
Binary file modified
BIN
-288 Bytes
(99%)
...s/MixedElements/TriQuad/quad_tri_THM_t_864000_000000_partitioned_node_properties_val4.bin
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...xedElements/mesh_with_3D_different_elements_sigma_ip_partitioned_cell_properties_val2.bin
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...esh_with_3D_different_elements_sigma_ip_partitioned_integration_point_properties_cfg2.bin
Binary file not shown.
Binary file modified
BIN
-48 Bytes
(99%)
...esh_with_3D_different_elements_sigma_ip_partitioned_integration_point_properties_val2.bin
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...intStress/MixedElements/mesh_with_3D_different_elements_sigma_ip_partitioned_msh_cfg2.bin
Binary file not shown.
Binary file modified
BIN
-8 Bytes
(89%)
...intStress/MixedElements/mesh_with_3D_different_elements_sigma_ip_partitioned_msh_ele2.bin
Binary file not shown.
Binary file modified
BIN
+16 Bytes
(100%)
...tStress/MixedElements/mesh_with_3D_different_elements_sigma_ip_partitioned_msh_ele_g2.bin
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...intStress/MixedElements/mesh_with_3D_different_elements_sigma_ip_partitioned_msh_nod2.bin
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...xedElements/mesh_with_3D_different_elements_sigma_ip_partitioned_node_properties_val2.bin
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
..._pointheatsource_quadratic-mesh_ts_10_t_50000_000000_partitioned_cell_properties_cfg4.bin
Binary file not shown.
Binary file modified
BIN
+25 Bytes
(100%)
..._pointheatsource_quadratic-mesh_ts_10_t_50000_000000_partitioned_cell_properties_val4.bin
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...rce_quadratic-mesh_ts_10_t_50000_000000_partitioned_integration_point_properties_cfg4.bin
Binary file not shown.
Binary file modified
BIN
+5 KB
(100%)
...rce_quadratic-mesh_ts_10_t_50000_000000_partitioned_integration_point_properties_val4.bin
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...ess/expected_pointheatsource_quadratic-mesh_ts_10_t_50000_000000_partitioned_msh_cfg4.bin
Binary file not shown.
Binary file modified
BIN
-480 Bytes
(99%)
...ess/expected_pointheatsource_quadratic-mesh_ts_10_t_50000_000000_partitioned_msh_ele4.bin
Binary file not shown.
Binary file modified
BIN
+960 Bytes
(110%)
...s/expected_pointheatsource_quadratic-mesh_ts_10_t_50000_000000_partitioned_msh_ele_g4.bin
Binary file not shown.
Binary file modified
BIN
+736 Bytes
(100%)
...ess/expected_pointheatsource_quadratic-mesh_ts_10_t_50000_000000_partitioned_msh_nod4.bin
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
..._pointheatsource_quadratic-mesh_ts_10_t_50000_000000_partitioned_node_properties_cfg4.bin
Binary file not shown.
Binary file modified
BIN
+3.23 KB
(100%)
..._pointheatsource_quadratic-mesh_ts_10_t_50000_000000_partitioned_node_properties_val4.bin
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...WithIntegrationPointStress/m1_3Dload_ts_1_t_1_000000_partitioned_cell_properties_cfg3.bin
Binary file not shown.
Binary file modified
BIN
-202 Bytes
(99%)
...WithIntegrationPointStress/m1_3Dload_ts_1_t_1_000000_partitioned_cell_properties_val3.bin
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...onPointStress/m1_3Dload_ts_1_t_1_000000_partitioned_integration_point_properties_cfg3.bin
Binary file not shown.
Binary file modified
BIN
-2.53 KB
(99%)
...onPointStress/m1_3Dload_ts_1_t_1_000000_partitioned_integration_point_properties_val3.bin
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...itionedMesh/WithIntegrationPointStress/m1_3Dload_ts_1_t_1_000000_partitioned_msh_cfg3.bin
Binary file not shown.
Binary file modified
BIN
+384 Bytes
(100%)
...itionedMesh/WithIntegrationPointStress/m1_3Dload_ts_1_t_1_000000_partitioned_msh_ele3.bin
Binary file not shown.
Binary file modified
BIN
-768 Bytes
(94%)
...ionedMesh/WithIntegrationPointStress/m1_3Dload_ts_1_t_1_000000_partitioned_msh_ele_g3.bin
Binary file not shown.
Binary file modified
BIN
-608 Bytes
(98%)
...itionedMesh/WithIntegrationPointStress/m1_3Dload_ts_1_t_1_000000_partitioned_msh_nod3.bin
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...WithIntegrationPointStress/m1_3Dload_ts_1_t_1_000000_partitioned_node_properties_cfg3.bin
Binary file not shown.
Binary file modified
BIN
-3.12 KB
(98%)
...WithIntegrationPointStress/m1_3Dload_ts_1_t_1_000000_partitioned_node_properties_val3.bin
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...h/partmesh_2Dmesh_3partitions/Binary/2Dmesh_PLY_EAST_partitioned_cell_properties_cfg3.bin
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...h/partmesh_2Dmesh_3partitions/Binary/2Dmesh_PLY_EAST_partitioned_cell_properties_val3.bin
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...rtitionedMesh/partmesh_2Dmesh_3partitions/Binary/2Dmesh_PLY_EAST_partitioned_msh_cfg3.bin
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...rtitionedMesh/partmesh_2Dmesh_3partitions/Binary/2Dmesh_PLY_EAST_partitioned_msh_ele3.bin
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...itionedMesh/partmesh_2Dmesh_3partitions/Binary/2Dmesh_PLY_EAST_partitioned_msh_ele_g3.bin
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...rtitionedMesh/partmesh_2Dmesh_3partitions/Binary/2Dmesh_PLY_EAST_partitioned_msh_nod3.bin
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...h/partmesh_2Dmesh_3partitions/Binary/2Dmesh_PLY_EAST_partitioned_node_properties_cfg3.bin
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...h/partmesh_2Dmesh_3partitions/Binary/2Dmesh_PLY_EAST_partitioned_node_properties_val3.bin
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
.../partmesh_2Dmesh_3partitions/Binary/2Dmesh_PLY_NORTH_partitioned_cell_properties_cfg3.bin
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...titionedMesh/partmesh_2Dmesh_3partitions/Binary/2Dmesh_PLY_NORTH_partitioned_msh_cfg3.bin
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...titionedMesh/partmesh_2Dmesh_3partitions/Binary/2Dmesh_PLY_NORTH_partitioned_msh_nod3.bin
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
.../partmesh_2Dmesh_3partitions/Binary/2Dmesh_PLY_NORTH_partitioned_node_properties_cfg3.bin
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
.../partmesh_2Dmesh_3partitions/Binary/2Dmesh_PLY_NORTH_partitioned_node_properties_val3.bin
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
.../partmesh_2Dmesh_3partitions/Binary/2Dmesh_PLY_SOUTH_partitioned_cell_properties_cfg3.bin
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...titionedMesh/partmesh_2Dmesh_3partitions/Binary/2Dmesh_PLY_SOUTH_partitioned_msh_cfg3.bin
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...titionedMesh/partmesh_2Dmesh_3partitions/Binary/2Dmesh_PLY_SOUTH_partitioned_msh_nod3.bin
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
.../partmesh_2Dmesh_3partitions/Binary/2Dmesh_PLY_SOUTH_partitioned_node_properties_cfg3.bin
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
.../partmesh_2Dmesh_3partitions/Binary/2Dmesh_PLY_SOUTH_partitioned_node_properties_val3.bin
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...h/partmesh_2Dmesh_3partitions/Binary/2Dmesh_PLY_WEST_partitioned_cell_properties_cfg3.bin
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...h/partmesh_2Dmesh_3partitions/Binary/2Dmesh_PLY_WEST_partitioned_cell_properties_val3.bin
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...rtitionedMesh/partmesh_2Dmesh_3partitions/Binary/2Dmesh_PLY_WEST_partitioned_msh_cfg3.bin
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...rtitionedMesh/partmesh_2Dmesh_3partitions/Binary/2Dmesh_PLY_WEST_partitioned_msh_ele3.bin
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...itionedMesh/partmesh_2Dmesh_3partitions/Binary/2Dmesh_PLY_WEST_partitioned_msh_ele_g3.bin
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...rtitionedMesh/partmesh_2Dmesh_3partitions/Binary/2Dmesh_PLY_WEST_partitioned_msh_nod3.bin
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...h/partmesh_2Dmesh_3partitions/Binary/2Dmesh_PLY_WEST_partitioned_node_properties_cfg3.bin
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...h/partmesh_2Dmesh_3partitions/Binary/2Dmesh_PLY_WEST_partitioned_node_properties_val3.bin
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...esh/partmesh_2Dmesh_3partitions/Binary/2Dmesh_POINT4_partitioned_cell_properties_cfg3.bin
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...PartitionedMesh/partmesh_2Dmesh_3partitions/Binary/2Dmesh_POINT4_partitioned_msh_cfg3.bin
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...PartitionedMesh/partmesh_2Dmesh_3partitions/Binary/2Dmesh_POINT4_partitioned_msh_nod3.bin
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...esh/partmesh_2Dmesh_3partitions/Binary/2Dmesh_POINT4_partitioned_node_properties_cfg3.bin
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...esh/partmesh_2Dmesh_3partitions/Binary/2Dmesh_POINT5_partitioned_cell_properties_cfg3.bin
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...PartitionedMesh/partmesh_2Dmesh_3partitions/Binary/2Dmesh_POINT5_partitioned_msh_cfg3.bin
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...PartitionedMesh/partmesh_2Dmesh_3partitions/Binary/2Dmesh_POINT5_partitioned_msh_nod3.bin
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...esh/partmesh_2Dmesh_3partitions/Binary/2Dmesh_POINT5_partitioned_node_properties_cfg3.bin
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...tionedMesh/partmesh_2Dmesh_3partitions/Binary/2Dmesh_partitioned_cell_properties_cfg3.bin
Binary file not shown.
Binary file modified
BIN
+315 Bytes
(100%)
...tionedMesh/partmesh_2Dmesh_3partitions/Binary/2Dmesh_partitioned_cell_properties_val3.bin
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...ta/NodePartitionedMesh/partmesh_2Dmesh_3partitions/Binary/2Dmesh_partitioned_msh_cfg3.bin
Binary file not shown.
Binary file modified
BIN
-672 Bytes
(99%)
...ta/NodePartitionedMesh/partmesh_2Dmesh_3partitions/Binary/2Dmesh_partitioned_msh_ele3.bin
Binary file not shown.
Binary file modified
BIN
+1.31 KB
(110%)
.../NodePartitionedMesh/partmesh_2Dmesh_3partitions/Binary/2Dmesh_partitioned_msh_ele_g3.bin
Binary file not shown.
Binary file modified
BIN
+1.09 KB
(100%)
...ta/NodePartitionedMesh/partmesh_2Dmesh_3partitions/Binary/2Dmesh_partitioned_msh_nod3.bin
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...tionedMesh/partmesh_2Dmesh_3partitions/Binary/2Dmesh_partitioned_node_properties_cfg3.bin
Binary file not shown.
Binary file modified
BIN
+1.91 KB
(100%)
...tionedMesh/partmesh_2Dmesh_3partitions/Binary/2Dmesh_partitioned_node_properties_val3.bin
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
+++ | ||
|
||
+++ | ||
|
||
## `partmesh` round-trip | ||
|
||
```python | ||
import os | ||
|
||
out_dir = os.environ.get('OGS_TESTRUNNER_OUT_DIR', '_out') | ||
if not os.path.exists(out_dir): | ||
os.makedirs(out_dir) | ||
|
||
data_dir = os.environ.get('OGS_DATA_DIR') | ||
|
||
input_mesh_basename = "cube_1x1x1_hex_1e3" | ||
input_mesh = f"{data_dir}/EllipticPETSc/{input_mesh_basename}.vtu" | ||
num_partitions = 4 | ||
``` | ||
|
||
```python | ||
! partmesh --ogs2metis -i {input_mesh} -o {out_dir} | ||
``` | ||
|
||
```python | ||
! partmesh --exe_metis -n {num_partitions} -i {input_mesh} -o {out_dir} | ||
``` | ||
|
||
```python | ||
! cd {out_dir} && mpirun -np {num_partitions} binaryToPVTU -i {input_mesh_basename} -o {input_mesh_basename} | ||
``` | ||
|
||
Please note that `binaryToPVTU` has to be run with MPI and is therefore available on OGS PETSc configurations only. | ||
See also https://www.opengeosys.org/docs/tools/meshing/reordermesh/#why-is-the-tool-necessary for an explanation of the following. | ||
|
||
```python | ||
! cd {out_dir} && pvtu2vtu -i {input_mesh_basename}.pvtu -o {input_mesh_basename}.vtu | ||
! cd {out_dir} && identifySubdomains -m {input_mesh} -o identify_ -- {input_mesh_basename}.vtu | ||
! ReorderMesh -i {out_dir}/identify_{input_mesh_basename}.vtu -o {out_dir}/{input_mesh_basename}_reordered.vtu | ||
! vtkdiff --mesh_check -- {input_mesh} {out_dir}/{input_mesh_basename}_reordered.vtu | ||
assert _exit_code == 0 # last exit code (from vtkdiff call) | ||
``` |
Submodule collection
updated
from c0f039 to 5949ed
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
index a15d19a..7a505dc 100644 | ||
--- a/CMakeLists.txt | ||
+++ b/CMakeLists.txt | ||
@@ -37,7 +37,7 @@ include(./conf/gkbuild.cmake) | ||
|
||
# Add include directories. | ||
# i.e., the -I equivalent | ||
-include_directories(build/xinclude) | ||
+#include_directories(build/xinclude) | ||
include_directories(${GKLIB_PATH}/include) | ||
include_directories(${CMAKE_INSTALL_PREFIX}/include) | ||
|
||
@@ -47,6 +47,6 @@ link_directories(${GKLIB_PATH}/lib) | ||
link_directories(${CMAKE_INSTALL_PREFIX}/lib) | ||
|
||
# Recursively look for CMakeLists.txt in subdirs. | ||
-add_subdirectory("build/xinclude") | ||
+#add_subdirectory("build/xinclude") | ||
add_subdirectory("libmetis") | ||
add_subdirectory("programs") | ||
diff --git a/conf/gkbuild.cmake b/conf/gkbuild.cmake | ||
index 0e70a8e..3ce5ae7 100644 | ||
--- a/conf/gkbuild.cmake | ||
+++ b/conf/gkbuild.cmake | ||
@@ -126,7 +126,7 @@ if(MSVC) | ||
if("${HAVE_THREADLOCALSTORAGE}" MATCHES "^${HAVE_THREADLOCALSTORAGE}$") | ||
try_compile(HAVE_THREADLOCALSTORAGE | ||
${CMAKE_BINARY_DIR} | ||
- ${CMAKE_SOURCE_DIR}/conf/check_thread_storage.c) | ||
+ ${PROJECT_SOURCE_DIR}/conf/check_thread_storage.c) | ||
if(HAVE_THREADLOCALSTORAGE) | ||
message(STATUS "checking for thread-local storage - found") | ||
else() | ||
diff --git a/programs/CMakeLists.txt b/programs/CMakeLists.txt | ||
index baf40ad..67e93a2 100644 | ||
--- a/programs/CMakeLists.txt | ||
+++ b/programs/CMakeLists.txt | ||
@@ -11,7 +11,10 @@ add_executable(cmpfillin cmpfillin.c io.c smbfactor.c) | ||
|
||
# Link with the required libraries | ||
foreach(prog gpmetis ndmetis mpmetis m2gmetis graphchk cmpfillin) | ||
- target_link_libraries(${prog} metis GKlib m) | ||
+ target_link_libraries(${prog} metis GKlib) | ||
+ if(NOT WIN32) | ||
+ target_link_libraries(${prog} m) | ||
+ endif() | ||
endforeach(prog) | ||
|
||
if(METIS_INSTALL) | ||
diff --git a/programs/mpmetis.c b/programs/mpmetis.c | ||
index 04a6a1b..af74de9 100644 | ||
--- a/programs/mpmetis.c | ||
+++ b/programs/mpmetis.c | ||
@@ -188,7 +188,7 @@ void MPReportResults(params_t *params, mesh_t *mesh, idx_t *epart, idx_t *npart, | ||
printf("\nMemory Information ----------------------------------------------------------\n"); | ||
printf(" Max memory used:\t\t %7.3"PRREAL" MB\n", (real_t)(params->maxmemory/(1024.0*1024.0))); | ||
|
||
-#ifndef MACOS | ||
+#if !defined(MACOS) && !defined(WIN32) && !defined(__MINGW32__) | ||
{ | ||
struct rusage usage; | ||
getrusage(RUSAGE_SELF, &usage); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters