Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Submitting a workflow where symbolic links are used for directories, such as on fog #564

Open
pagrubel opened this issue Oct 17, 2022 · 2 comments

Comments

@pagrubel
Copy link
Collaborator

When I submit a workflow using . (or the current directory) on fog the script ends up with --cd /yellow/users//... in the ch-run command. It is picking up the incorrect path for the container.

I think it should be --cd /home//...

@jtronge
Copy link
Collaborator

jtronge commented Oct 17, 2022

We may have to add something to the config file, like a comma separated list of aliases for the the homedir. The main problem is related to os.getcwd() giving a different result than pwd in the shell. There could also be a way to set the user-environment to avoid this, but I'm not sure.

@pagrubel
Copy link
Collaborator Author

pagrubel commented Oct 17, 2022

It works fine if I don't use . for the workdir but instead put in the path upon submit such as /users/username/dir

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants