Skip to content

Commit 3a9143c

Browse files
author
Miguel Angel
committed
Undoing unvoluntary changes
1 parent 0a28970 commit 3a9143c

2 files changed

Lines changed: 8 additions & 11 deletions

File tree

kratos.gid/kratos.unix.bat

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
#!/bin/bash
22
# OutputFile: "$2/$1.info"
33
# ErrorFile: "$2/$1.err"
4-
#delete previous result file
5-
rm -f "$2/$1*.post.bin"
6-
rm -f "$2/$1*.post.res"
7-
rm -f "$2/$1*.post.msh"
4+
#delete previous result file
5+
rm -f "$2/$1*.post.bin"
6+
rm -f "$2/$1*.post.res"
7+
rm -f "$2/$1*.post.msh"
88
rm -f "$2/$1.info"
99
rm -f "$2/$1.err"
1010
rm -f "$2/$1.flavia.dat"
@@ -20,16 +20,16 @@ fi
2020
# and maintains OLD_LD_LIBRARY_PATH with previous settings
2121
# therefore, we use the OLD_LD_LIBRARY_PATH and prepend the path to the kratos libs
2222
if [ "$OLD_LD_LIBRARY_PATH" != "" ]; then
23-
export LD_LIBRARY_PATH="$3/exec/Kratos/bin/Release":"$3/exec/Kratos/bin/Release/libs":$OLD_LD_LIBRARY_PATH
23+
export LD_LIBRARY_PATH="$3/exec/Kratos":"$3/exec/Kratos/libs":$OLD_LD_LIBRARY_PATH
2424
else
2525
# do not add the ':'
26-
export LD_LIBRARY_PATH="$3/exec/Kratos/bin/Release":"$3/exec/Kratos/bin/Release/libs"
26+
export LD_LIBRARY_PATH="$3/exec/Kratos":"$3/exec/Kratos/libs"
2727
fi
2828

2929
# Prevents the PYTHONHOME error from happening and isolate possible python repacks present
3030
# in the system and interfeering with runkratos
3131
# export PYTHONHOME="$3/exec/Kratos"
32-
export PYTHONPATH="$3/exec/Kratos/bin/Releasepython34.zip":"$3/exec/Kratos/bin/Release":$PYTHONPATH
32+
export PYTHONPATH="$3/exec/Kratos/python34.zip":"$3/exec/Kratos":$PYTHONPATH
3333

3434

3535
# if mac
@@ -44,8 +44,5 @@ else
4444
KERNEL_NAME="linux"
4545
fi
4646

47-
echo $LD_LIBRARY_PATH
48-
echo $PYTHONPATH
49-
5047
# Run Python using the script MainKratos.py
5148
"$3/exec/Kratos/runkratos" MainKratos.py > "$2/$1.info" 2> "$2/$1.err"

kratos.gid/kratos_default.spd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- -*- coding: utf-8; mode: SGML -*- -->
3-
<Kratos_data version='7.1.1'>
3+
<Kratos_data version='7.1.0'>
44
<style show_menubutton_about='0' show_menubutton_search='1'></style>
55
<groups/>
66
<units></units>

0 commit comments

Comments
 (0)