]> https://gitweb.dealii.org/ - candi.git/commitdiff
print environment script infos
authorTimo Heister <timo.heister@gmail.com>
Sun, 21 Feb 2016 14:41:59 +0000 (09:41 -0500)
committerTimo Heister <timo.heister@gmail.com>
Sun, 21 Feb 2016 14:41:59 +0000 (09:41 -0500)
candi.sh
deal.II-toolchain/packages/dealii.package

index 61719ca3b768c58f1ea65e188f7962a3de517760..bf728eec7dbcc466014d6779ec3b6991e20472d7 100755 (executable)
--- a/candi.sh
+++ b/candi.sh
@@ -1049,6 +1049,13 @@ for PACKAGE in ${PACKAGES[@]}; do
     TIMINGS="$TIMINGS"$"\n""$PACKAGE: ""$((TOC/1000000000)) s"
 done
 
+# print information about enable.sh
+echo
+echo To export environment variables for all installed libraries execute:
+echo
+cecho ${GOOD} "    source ${CONFIGURATION_PATH}/enable.sh"
+echo
+
 # Stop global timer
 TOC_GLOBAL="$(($(${DATE_CMD} +%s%N)-TIC_GLOBAL))"
 
index dddfc8e86fd7792e139e56fc89bccb48e7b0581e..3303cc59fc1d9862285911efe374198a2add80c9 100644 (file)
@@ -231,6 +231,11 @@ setenv                  DEAL_II_DIR         ${INSTALL_PATH}
     echo "
 export DEAL_II_DIR=${INSTALL_PATH}
 " >> $CONFIG_FILE
+
+    echo "If you are not using modules, execute the following command instead:"
+    echo
+    cecho ${GOOD} "    source $CONFIG_FILE"
+    echo
 }
 
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.