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
The use of the global temporary paths
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.
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
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.