Skip to content

Commit

Permalink
Update openfoam.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
tomgreen66 authored Nov 4, 2023
1 parent 0639b78 commit 883ebbf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions applications/openfoam.rst
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ Patch for OpenFOAM v2012 :download:`openfoam-v2012-cray.patch <openfoam/openfoam
wget "https://dl.openfoam.com/source/v2012/OpenFOAM-v2012.tgz"
tar zxvf OpenFOAM-v2012.tgz
cd OpenFOAM-v2012
patch -p0 < openfoam-v2012-cray.patch
patch -p1 < openfoam-v2012-cray.patch
cat > etc/prefs.h <<EOF
export WM_COMPILER=Cray
export WM_MPLIB=CRAY-MPICH
Expand All @@ -104,7 +104,7 @@ Patch for OpenFOAM v2012 :download:`openfoam-v2012-cray.patch <openfoam/openfoam
cd $FOAM_RUN/../applications/utilities
svn co http://svn.code.sf.net/p/openfoam-extend/svn/trunk/Breeder_1.6/other/waves2Foam
cd waves2Foam
patch -p0 < waves2Foam-cray.patch
patch -p1 < waves2Foam-cray.patch
export WAVES_GSL_INCLUDE=$HOME/gsl/include
export WAVES_GSL_LIB=$HOME/gsl/lib
./Allwmake
Expand Down

0 comments on commit 883ebbf

Please sign in to comment.