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

Remote workers for socket channel #944

Merged
merged 8 commits into from
Aug 30, 2023

Conversation

ipelupessy
Copy link
Member

This PR allows workers to be started remotely using sockets_channel under the following conditions:

  • passwordless ssh access (public key setup)
  • amuse is installed
  • if an environment needs to be activated with source, specify with remote_env keyword or in amuserc (documented in amuserc.template
  • permissions in firewall etc

@ipelupessy ipelupessy requested a review from a team as a code owner April 10, 2023 08:18
@@ -35,8 +35,9 @@
from amuse.support.options import OptionalAttributes, option, GlobalOptions
from amuse.support.core import late
from amuse.support import exceptions
from amuse.support import get_amuse_root_dir
from amuse.support import get_amuse_root_dir, get_amuse_directory_root
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these function names are easy to confuse...

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yea..in amusifier its called --get-amuse-package-dir, maybe thats better?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

get-amuse-package-root?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

prob consistency is best..

src/amuse/rfi/gencode.py Outdated Show resolved Hide resolved
@rieder
Copy link
Member

rieder commented May 16, 2023

@ipelupessy could you include an example of how to use this? Otherwise it looks good to me.

@stale
Copy link

stale bot commented Jul 15, 2023

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 28 days if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale Issues that have been around for a while without updates label Jul 15, 2023
@rieder rieder removed the stale Issues that have been around for a while without updates label Jul 15, 2023
@rieder rieder merged commit b57c1e2 into amusecode:main Aug 30, 2023
1 of 5 checks passed
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

Successfully merging this pull request may close these issues.

None yet

2 participants