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

command line to copy/create conda env on a remote computer #115

Closed
superstar54 opened this issue Jun 24, 2024 · 1 comment
Closed

command line to copy/create conda env on a remote computer #115

superstar54 opened this issue Jun 24, 2024 · 1 comment
Assignees

Comments

@superstar54
Copy link
Member

superstar54 commented Jun 24, 2024

For PythonJob, one important step is to set up the environment on the remote computer.

  • The Python version (more precisely the protocol of the pickle) should be the same on the local and remote computers.
  • The required module for the calculation.

We already provided a function create_conda_env to help user setup the conda env. But there is another simple solution: copy the local environment to the remote computer.

The possible steps:

  • create conda env on a remote computer
  • check the local python env, and install the same packages on the remote conda env. Exclude some packages: aiida, aiida-workgraph, etc
  • check the differences between the local env and remote env, and show the differences to the user.

Final goal: provide a command to do this, e.g., workgraph create-env --name xxx --computer xxx

@superstar54
Copy link
Member Author

Hi @agoscinski , I moved this issue to aiida-pythonjob repo, aiidateam/aiida-pythonjob#6.

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