Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
openfoam
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Development
openfoam
Commits
3de9b2f6
Commit
3de9b2f6
authored
7 years ago
by
Mark OLESEN
Browse files
Options
Downloads
Patches
Plain Diff
COMP: resolve size ambiguity (Darwin)
parent
5e9ba0bc
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
BuildIssues.txt
+30
-0
30 additions, 0 deletions
BuildIssues.txt
applications/utilities/mesh/generation/foamyMesh/foamyQuadMesh/insertSurfaceNearestPointPairs.C
+2
-2
2 additions, 2 deletions
.../foamyMesh/foamyQuadMesh/insertSurfaceNearestPointPairs.C
with
32 additions
and
2 deletions
BuildIssues.txt
+
30
−
0
View file @
3de9b2f6
...
...
@@ -118,4 +118,34 @@ your `~/.spack/packages.yaml` file:
It appears that spack will otherwise ignore any paraview+qt version
and attempt to install a paraview~qt version instead.
---------------------------
Building on Darwin (Mac-OS)
---------------------------
Support for Darwin is incomplete, but has been provisioned for.
The following are typical (as of yet) unresolved issues.
* Scotch, ptscotch:
- The librt linkage is required for Linux, but not for Darwin.
Current resolution:
Edit or patch
src/parallel/decompose/ptscotchDecomp/Make/options
src/parallel/decompose/scotchDecomp/Make/options
to remove the '-lrt' library
* CGAL:
- ThirdParty CGAL will normally need to be compiled without mpfr/gmp.
This should be done manually prior to building OpenFOAM or other
ThirdParty. Eg,
cd $WM_THIRD_PARTY_DIR
./makeCGAL gmp-none mpfr-none
The erroneous references to gmp/mpfr library can be directly removed
from the wmake/rules/General/CGAL, but it is more advisable to
override them instead in the wmake/rules/darwin64Clang/CGAL file.
--
This diff is collapsed.
Click to expand it.
applications/utilities/mesh/generation/foamyMesh/foamyQuadMesh/insertSurfaceNearestPointPairs.C
+
2
−
2
View file @
3de9b2f6
...
...
@@ -144,8 +144,8 @@ void Foam::CV2D::insertSurfaceNearestPointPairs()
label
nSurfacePointsEst
=
min
(
number_of_vertices
(),
size_t
(
10
*
sqrt
(
scalar
(
number_of_vertices
())))
label
(
number_of_vertices
()
)
,
label
(
10
*
sqrt
(
scalar
(
number_of_vertices
())))
);
DynamicList
<
point2D
>
nearSurfacePoints
(
nSurfacePointsEst
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment