Skip to content

Typo: -link-mode #1807

@DomenicoGiaquinto

Description

@DomenicoGiaquinto

What happened?

Bug encountered when trying to submit a train job with launch-slurm.py

What are the steps to reproduce the bug?

After submitting a job via

./WeatherGenerator-private/hpc/launch-slurm.py --config ./WeatherGenerator/config/my_test.yml

I got the error

'[' -z h1m9vr7w ']'
echo 'RUN_ID is set to h1m9vr7w'
'[' -z /leonardo_work/AIFAC_5C0_154/weathergen/slurm/slurm_weathergen_h1m9vr7w_dir/WeatherGenerator-private ']'
echo 'WEATHERGEN_PRIVATE_HOME is set to /leonardo_work/AIFAC_5C0_154/weathergen/slurm/slurm_weathergen_h1m9vr7w_dir/WeatherGenerator-private'
'[' -z /leonardo/home/userexternal/dgiaquin/.local/bin/uv ']'
echo 'UV_PATH is set to /leonardo/home/userexternal/dgiaquin/.local/bin/uv'
/leonardo/home/userexternal/dgiaquin/.local/bin/uv run -link-mode=copy --verbose --no-cache /leonardo_work/AIFAC_5C0_154/weathergen/slurm/slurm_weathergen_h1m9vr7w_dir/WeatherGenerator-private/hpc/upload_experiment.py --run-id h1m9vr7w --model no
error: unexpected argument '-l' found

Usage: uv run [OPTIONS] [COMMAND]

For more information, try '--help'.

'[' -z /leonardo_work/AIFAC_5C0_154/weathergen/slurm/slurm_weathergen_h1m9vr7w_dir/WeatherGenerator ']'
venv_path=/leonardo_work/AIFAC_5C0_154/weathergen/slurm/slurm_weathergen_h1m9vr7w_dir/WeatherGenerator/.venv
echo 'deleting venv at /leonardo_work/AIFAC_5C0_154/weathergen/slurm/slurm_weathergen_h1m9vr7w_dir/WeatherGenerator/.venv'
rm -rf /leonardo_work/AIFAC_5C0_154/weathergen/slurm/slurm_weathergen_h1m9vr7w_dir/WeatherGenerator/.venv
echo 'Finished job.'
date

Hedgedoc link to logs and more information. This ticket is public, do not attach files directly.

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions