From f9de3d884bcc7c7a09d72a16f3a0624b5fb0dd2a Mon Sep 17 00:00:00 2001 From: seeudong Date: Sun, 12 Jan 2025 10:10:20 +0800 Subject: [PATCH 1/2] echo system's Architecture in install.sh --- install.sh | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/install.sh b/install.sh index 38ec2647..761a8df7 100755 --- a/install.sh +++ b/install.sh @@ -1,15 +1,17 @@ #!/bin/sh +ARCH=$(uname -m) + print_finish() { if [ ! -z "$LIBTORCH_ROOT" ]; then - echo " = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =" - echo "| deepflame (linked with libcantera and libtorch) compiled successfully! Enjoy!! |" + echo " = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =" + echo "| deepflame (linked with libcantera and libtorch) in $ARCH compiled successfully! Enjoy!! |" elif [ ! -z "$PYTHON_LIB_DIR" ]; then - echo " = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =" - echo "| deepflame (linked with libcantera and pytorch) compiled successfully! Enjoy!! |" + echo " = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =" + echo "| deepflame (linked with libcantera and pytorch) in $ARCH compiled successfully! Enjoy!! |" else - echo " = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =" - echo "| deepflame (linked with libcantera) compiled successfully! Enjoy!! |" + echo " = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =" + echo "| deepflame (linked with libcantera) in $ARCH compiled successfully! Enjoy!! |" fi if [ ! -z "$AMGX_DIR" ]; then echo "| select the GPU solver coupled with AMGx library to solve PDE |" From 386ab5dc78adde93da8bba708870c614e25dd6ce Mon Sep 17 00:00:00 2001 From: seeudong Date: Sun, 12 Jan 2025 10:19:28 +0800 Subject: [PATCH 2/2] echo system's Architecture in install.sh --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 761a8df7..6de7914a 100755 --- a/install.sh +++ b/install.sh @@ -16,7 +16,7 @@ print_finish() { if [ ! -z "$AMGX_DIR" ]; then echo "| select the GPU solver coupled with AMGx library to solve PDE |" fi - echo " = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =" + echo " = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =" } if [ $USE_LIBTORCH = true ]; then cd "$DF_SRC/dfChemistryModel/DNNInferencer"