-
Notifications
You must be signed in to change notification settings - Fork 24
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
Building a docker image with ricopili #57
Comments
Hi,
The only things rp_config does are to write a config file and prompt the user to add a couple things to their bashrc (or equivalent) to update the PATH and save a location for perl packages (after saving a backup copy of bashrc). If you're willing to write your own config file there's no real need to run rp_config, you can set everything up manually without it.
I'm less certain you're going to be able to run ricopili effectively from within a docker though? Ricopili is fairly deeply attached to being able to directly interact with the job scheduler, persist files between different submitted tasks, etc in ways that aren't terribly compatible with most of the docker use patterns I've seen unless you're going to hamstring ricopili to always run as --serial. (Not saying it's impossible, just encouraging you to think carefully about how you're going to address the workflow that currently flows through the "./rp_bin/blueprint" script before sinking too much time into installing ricopili in a docker.)
Cheers,
Raymond
… On Sep 3, 2018, at 9:30 AM, Oskar Vidarsson ***@***.***> wrote:
The current installation process seems to demand interactive input from the user, but this makes it impossible to automatically install it in a docker image.
Would it be possible to add a configuration option that predefines all paths and other requirements to make it possible to install ricopili into a docker image? It could be something like "./rp_config --use-config config-file.conf" where config-file.conf contains everything that would otherwise have been provided manually by the person installing it. What do you think?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub <#57>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AILEvQKFT96zw__j6fYECvfJICeOVMJSks5uXS76gaJpZM4WXn9F>.
|
so after some months I think we got a bit further on both topics.
let me know if this helps anything. |
Question about point 2 above: Could I use ricopili in serial mode with --serial and --sepa INT and then submit that command line to qsub on only one full node? For example: |
The current installation process seems to demand interactive input from the user, but this makes it impossible to automatically install it in a docker image.
Would it be possible to add a configuration option that predefines all paths and other requirements to make it possible to install ricopili into a docker image? It could be something like "./rp_config --use-config config-file.conf" where config-file.conf contains everything that would otherwise have been provided manually by the person installing it. What do you think?
The text was updated successfully, but these errors were encountered: