Skip to content
Open
Show file tree
Hide file tree
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
4 changes: 3 additions & 1 deletion csub.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,10 +206,12 @@
value: {args.name}
arguments:
value: "/bin/zsh -c 'source ~/.zshrc && {args.command}'" # zshrc is just loaded to have some env variables ready
workingDir:
value: {working_dir}
environment:
items:
HOME:
value: "/home/{user_cfg['user']}"
value: "{working_dir}"
NB_USER:
value: {user_cfg['user']}
NB_UID:
Expand Down
2 changes: 1 addition & 1 deletion template/user_template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
user: <enter username>
uid: <enter uid>
group: MLO-unit
gid: 75545
gid: 83070
wandb_api_key: <enter api key>
working_dir: /mloscratch/homes/<enter username>
symlinks: # list of symlinks to create (enter 'dir' or 'file' and the path)')
Expand Down