forked from duartegroup/autodE
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup-autode.sh
More file actions
executable file
·47 lines (41 loc) · 1.28 KB
/
setup-autode.sh
File metadata and controls
executable file
·47 lines (41 loc) · 1.28 KB
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#!/bin/bash
# Setup script for autodE 1.4.5.gpggrp.3 (gomesgroup fork with ORCA 6.x + RACE-TS)
# Auto-detects architecture (x86_64 or ARM64)
AUTODE_ROOT="/mnt/beegfs/software/autode"
# Detect architecture
ARCH=$(uname -m)
case "$ARCH" in
x86_64)
ENV_DIR="${AUTODE_ROOT}/env"
;;
aarch64)
ENV_DIR="${AUTODE_ROOT}/env-arm64"
;;
*)
echo "Error: Unsupported architecture: $ARCH"
return 1
;;
esac
# Check if environment exists
if [[ ! -d "$ENV_DIR" ]]; then
echo "Error: autodE environment not found at $ENV_DIR"
return 1
fi
# Set up environment (conda-style)
export PATH="${ENV_DIR}/bin:$PATH"
export LD_LIBRARY_PATH="${ENV_DIR}/lib:$LD_LIBRARY_PATH"
export AUTODE_HOME="$AUTODE_ROOT"
# Verify autodE is importable
if ! "${ENV_DIR}/bin/python" -c "import autode" 2>/dev/null; then
echo "Warning: autodE module not importable - check installation"
fi
echo "autodE 1.4.5.gpggrp.3 loaded ($ARCH)"
echo ""
echo "Features: ORCA 6.x integration, RACE-TS conformer generation"
echo ""
echo "Quick start:"
echo " python -c 'import autode as ade; print(ade.__version__)'"
echo ""
echo "For ORCA 6.x, also run:"
echo " source /mnt/beegfs/software/orca-6.1.1/setup-orca.sh"
echo " source /mnt/beegfs/software/xtb-6.7.1/setup-xtb.sh"