diff --git a/ManufacturingSimulation/OpenFOAM-v1906/build.sh b/ManufacturingSimulation/OpenFOAM-v1906/build.sh index 69a232bb4071aa4a7e80d65de6940944f92cdf9b..79af6495d2fb6d5588629e9ee7536f1e3e9d82c0 100644 --- a/ManufacturingSimulation/OpenFOAM-v1906/build.sh +++ b/ManufacturingSimulation/OpenFOAM-v1906/build.sh @@ -23,6 +23,7 @@ buildpath=$(create_dir $1) installpath=$(create_dir $2) yum install -y m4 environment-modules systemd-devel +source /etc/profile module purge set -e