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

Concurrent execution #37

Open
ShamrockLee opened this issue Apr 9, 2022 · 0 comments
Open

Concurrent execution #37

ShamrockLee opened this issue Apr 9, 2022 · 0 comments

Comments

@ShamrockLee
Copy link
Contributor

This makes the behavior closer to the real nix and enables it to be used on HPCs for parallel computing.

AFAIK, the script is unable to be run concurrently so far because of

  1. The use of the global temporary paths
  2. The copy-paste installation process

An example of the "global temporary path" is the "/tmpbin" introduced by #28, which can be workaround by adding random characters to the path used by each instance, the way mktemp does.

The latter could probably be workaround by implementing some kind of wait mechanism through a file or something. I'm not familiar with multi-threading, and might not be able to come up with a thoughtful solution.

@ShamrockLee ShamrockLee changed the title Feature request: concurrent execution Concurrent execution Apr 9, 2022
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