From 14481f541281578777e89b7a0e84032f13567f2f Mon Sep 17 00:00:00 2001 From: Tomislav Maric Date: Mon, 23 Dec 2024 19:52:00 +0100 Subject: [PATCH] Allwmake: create /home/MMAuser/OpenFOAM/MMAuser-v2412/platforms/linux64GccDPInt32Debug/lib if not available --- Allwmake | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Allwmake b/Allwmake index ab63fad..754a776 100755 --- a/Allwmake +++ b/Allwmake @@ -2,6 +2,14 @@ orig_dit="$(pwd)" +# Create the $FOAM_USER_LIBBIN if not existing. +# - This happens with a fresh OpenFOAM installation. +# - openfoam-smartsim libraries are placed into $FOAM_USER_LIBBIN +if [ ! -d "$FOAM_USER_LIBBIN" ]; +then + mkdir -p $FOAM_USER_LIBBIN +fi + ## Compile SmartRedis libs export _REPO_ROOT="$(git rev-parse --show-toplevel)" cd "$_REPO_ROOT" || exit 1