summaryrefslogtreecommitdiff
path: root/academic/dakota/dakota.sh
diff options
context:
space:
mode:
authorLorenzo Trevisan <lorenzo.trevisan@gmail.com>2017-09-23 16:12:38 +0100
committerDavid Spencer <idlemoor@slackbuilds.org>2017-09-23 16:12:38 +0100
commit2b3ebf402315496abda7d4fddcd659cad301ca8e (patch)
treedf63ab9fc04bece63d2a19398a6ac011cd570880 /academic/dakota/dakota.sh
parent1d1d7530a824742c368a4770dd14d93e7433e6ad (diff)
downloadslackbuilds-2b3ebf402315496abda7d4fddcd659cad301ca8e.tar.gz
academic/dakota: Added (optimization toolkit).
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'academic/dakota/dakota.sh')
-rw-r--r--academic/dakota/dakota.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/academic/dakota/dakota.sh b/academic/dakota/dakota.sh
new file mode 100644
index 0000000000..4db0d6eae1
--- /dev/null
+++ b/academic/dakota/dakota.sh
@@ -0,0 +1,6 @@
+export PATH=$PATH:/opt/dakota/bin:/opt/dakota/test
+if [ -z "$LD_LIBRARY_PATH" ]; then
+ export LD_LIBRARY_PATH="/opt/dakota/lib:/opt/dakota/bin"
+else
+ export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/opt/dakota/lib:/opt/dakota/bin"
+fi