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

[documentation] Update the documentation to explain the remote setup in more detail #264

Open
jan-janssen opened this issue Feb 7, 2024 · 1 comment

Comments

@jan-janssen
Copy link
Member

The recent pull requests added a lot of functionality to the remote access, this still needs to be documented. Unfortunately, the remote functionality currently only works in combination with pyiron_base so this also requires some additional generalisation.

@jan-janssen
Copy link
Member Author

Debug the remote submission:

from pysqa.queueadapter import QueueAdapter
qa = QueueAdapter(directory="~/.queues")
qa._adapter._execute_remote_command("python --version”)
>>> Python 3.11.8

Additional commands for debugging:

qa._adapter._execute_remote_command(“squeue”)

If the command is not available but it is accessible on the command line, then this might be an issue with the environment:

qa._adapter._execute_remote_command(“which squeue”)

Compare the remote submitted command to the corresponding shell command:

which squeue

For further debugging you can also print the whole environment:

qa._adapter._execute_remote_command(“env”)

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

1 participant