File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11#! /bin/bash
22# Cast3m calculator script for fz framework
3+ PATH=" $PATH :/opt/CASTEM2025/bin"
34
4- # Check if castem2000 or cast3m is available
5- if command -v castem2000 & > /dev/null; then
6- CAST3M_CMD=" castem2000 "
5+ # Check if castem25 or cast3m is available
6+ if command -v castem25 & > /dev/null; then
7+ CAST3M_CMD=" castem25 "
78elif command -v cast3m & > /dev/null; then
89 CAST3M_CMD=" cast3m"
910else
10- echo " Error: Cast3m executable (castem2000 or cast3m) not found in PATH"
11+ echo " Error: Cast3m executable (castem25 or cast3m) not found in PATH"
1112 exit 1
1213fi
1314
Original file line number Diff line number Diff line change 1717
1818# fz temporary files
1919.fz /tmp /
20+ notebook_ *
21+ compiled_ *
2022
2123# Cast3m specific
2224* .hermes
2325* .sauve
2426* .dgibi.bak
2527castem.out
28+ * .trace
2629
2730# OS
2831.DS_Store
You can’t perform that action at this time.
0 commit comments