Skip to content

Commit

Permalink
Merge pull request #89 from gerlero/cfmesh
Browse files Browse the repository at this point in the history
Work around cfMesh linkage issue
  • Loading branch information
gerlero authored Sep 14, 2022
2 parents beea87f + f4311c9 commit 3484e31
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
6 changes: 6 additions & 0 deletions configure.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,12 @@ echo "setenv CPATH \"$CPATH\"" >> etc/prefs.csh
echo "export LIBRARY_PATH=\"$LIBRARY_PATH\"" >> etc/prefs.sh
echo "setenv LIBRARY_PATH \"$LIBRARY_PATH\"" >> etc/prefs.csh

echo 'export DYLD_LIBRARY_PATH="$LIBRARY_PATH":"$DYLD_LIBRARY_PATH"' >> etc/prefs.sh
echo 'setenv DYLD_LIBRARY_PATH "$LIBRARY_PATH":"$DYLD_LIBRARY_PATH"' >> etc/prefs.csh

echo 'export FOAM_DYLD_LIBRARY_PATH="$DYLD_LIBRARY_PATH"' >> etc/bashrc
echo 'setenv FOAM_DYLD_LIBRARY_PATH "$DYLD_LIBRARY_PATH"' >> etc/cshrc


# Workaround for https://develop.openfoam.com/Community/integration-cfmesh/-/issues/8
sed -i '' 's|LIB_LIBS =|& $(LINK_OPENMP) |' modules/cfmesh/meshLibrary/Make/options
3 changes: 3 additions & 0 deletions test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,6 @@ cp -r "$FOAM_TUTORIALS/mesh/foamyHexMesh/blob" blob
cd blob
./Allrun
cd ..

# https://github.com/gerlero/openfoam-app/issues/88
cartesianMesh -help

0 comments on commit 3484e31

Please sign in to comment.