Skip to content

Commit 86e0256

Browse files
authored
(#289) Added a liohome file.
1 parent f873edc commit 86e0256

File tree

9 files changed

+23
-0
lines changed

9 files changed

+23
-0
lines changed

liohome.sh

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#!/bin/bash
2+
3+
# Gets this directory and sets it as LIOHOME.
4+
INSTALL_DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
5+
export LIOHOME=$INSTALL_DIR
6+
7+
# Adds LIO libraries.
8+
LIOLIBS=$LIOHOME/g2g:$LIOHOME/lioamber
9+
export LIBRARY_PATH=$LIBRARY_PATH:$LIOLIBS
10+
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$LIOLIBS
11+
12+
# Adds LIO tools and executables to path.
13+
LIOEXES=$LIOHOME/liosolo:$LIOHOME/tools
14+
export PATH=$PATH:$LIOEXES
15+

test/LIO_test/00_agua/run.sh

+1
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,5 @@ if [ -n "$1" ]
88
SALIDA=$1
99
fi
1010

11+
source ../../../liohome.sh
1112
$LIOBIN -i agua.in -b basis -c agua.xyz -v > $SALIDA

test/LIO_test/01_OxyMol/run.sh

+1
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,6 @@ if [ -n "$1" ]
88
SALIDA=$1
99
fi
1010

11+
source ../../../liohome.sh
1112
$LIOBIN -i Oxy-mol.in -c Oxy-mol.xyz -v > $SALIDA
1213

test/LIO_test/02_Fe3H2O6/run.sh

+1
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,6 @@ if [ -n "$1" ]
88
SALIDA=$1
99
fi
1010

11+
source ../../../liohome.sh
1112
$LIOBIN -i fe3h2o.in -c fe3h2o.xyz -v > $SALIDA
1213

test/LIO_test/03_fosfatoQMMM/run.sh

+1
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,6 @@ if [ -n "$1" ]
88
SALIDA=$1
99
fi
1010

11+
source ../../../liohome.sh
1112
$LIOBIN -i fos.in -c fos.xyz -b basis -v > $SALIDA
1213

test/LIO_test/04_ECP/run.sh

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ if [ -n "$1" ]
88
SALIDA=$1
99
fi
1010

11+
source ../../../liohome.sh
1112
$LIOBIN -i cl2.in -c cl2.xyz -v > $SALIDA
1213

1314

test/LIO_test/05_TDDFTField/run.sh

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ if [ -n "$1" ]
88
SALIDA=$1
99
fi
1010

11+
source ../../../liohome.sh
1112
$LIOBIN -i chloride.in -c chloride.xyz -v > $SALIDA
1213

1314

test/LIO_test/06_QMinPcharges/run.sh

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ if [ -n "$1" ]
88
SALIDA=$1
99
fi
1010

11+
source ../../../liohome.sh
1112
$LIOBIN -i agua.in -b basis -c agua.xyz -v > $SALIDA
1213

1314

test/LIO_test/07_TDDFTHCL/run.sh

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ if [ -n "$1" ]
88
SALIDA=$1
99
fi
1010

11+
source ../../../liohome.sh
1112
$LIOBIN -i chloride.in -c chloride.xyz -v > $SALIDA
1213

1314

0 commit comments

Comments
 (0)