Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions Servers/Zeus/ARC/submit.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#!/bin/bash -l

#PBS -N <name> # Note: Manually change this job name, and delete this comment
#PBS -q zeus_new_q
#PBS -q alon_q
#PBS -l walltime=72:00:00
#PBS -l select=1:ncpus=1
#PBS -l select=1:ncpus=1:host=n170
#PBS -o out.txt
#PBS -e err.txt

Expand All @@ -12,5 +12,4 @@ cd $PBS_O_WORKDIR

conda activate arc_env

python $arc_code/ARC.py input.yml

python $arc_path/ARC.py input.yml
Copy link

Copilot AI Apr 27, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

submit.sh calls python $arc_path/ARC.py ..., but in Servers/Zeus/.bashrc this repo exports arc_path as '~/Code/ARC/' (tilde inside quotes). Bash does not perform tilde expansion on values coming from variables, so this can resolve to a non-existent path at runtime. Prefer exporting arc_path as an absolute path (e.g., using $HOME), or set/normalize arc_path in this script before invoking Python so the job doesn't fail due to an unexpanded ~.

Suggested change
python $arc_path/ARC.py input.yml
arc_path="${arc_path/#\~/$HOME}"
python "$arc_path/ARC.py" input.yml

Copilot uses AI. Check for mistakes.