Skip to content

Commit

Permalink
Add workaround for Open MPI TMPDIR truncation issue
Browse files Browse the repository at this point in the history
  • Loading branch information
gerlero committed Nov 30, 2022
1 parent 32a5641 commit ef3c9e7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions configure.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,8 @@ 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


# Workaround for https://github.com/open-mpi/ompi/issues/7393
echo 'export TMPDIR=/tmp' >> etc/prefs.sh
echo 'setenv TMPDIR /tmp' >> etc/prefs.csh

0 comments on commit ef3c9e7

Please sign in to comment.