-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathchemkin
executable file
·25 lines (23 loc) · 966 Bytes
/
chemkin
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# apparently not #! /bin/sh
/home/reaction/licenses/license_utilities/114/linuxx8664/lmutil lmstat -a | grep -E '[^0] licenses? in use'
echo "Which version of chemkin?"
echo " Chemkin Regular (20 seats)"
echo " Chemkin Pro (4 seats)"
OPTIONS="standard pro"
select opt in $OPTIONS; do
if [ "$opt" = "standard" ]; then
xterm -ls -title 'Chemkin Regular - do not close before chemkin!' -bg grey -e ksh "
source /home/reaction/chemkin15101_linuxx8664/bin/chemkin_setup.ksh
echo 'QUIT CHEMKIN BEFORE CLOSING THIS WINDOW OR YOU MAY NOT CHECK IN THE LICENCE';
chemkin-not-pro " &
exit
elif [ "$opt" = "pro" ]; then
xterm -ls -title 'Chemkin Pro - do not close before chemkin!' -bg grey -e ksh "
source /home/reaction/chemkin15101_linuxx8664/bin/chemkinpro_setup.ksh;
echo 'QUIT CHEMKIN BEFORE CLOSING THIS WINDOW OR YOU MAY NOT CHECK IN THE LICENCE';
chemkin " &
exit
else
echo bad option
fi
done