-
Notifications
You must be signed in to change notification settings - Fork 843
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
run in docker #747
Comments
And we will eventually provide container images using Singularity soon. However, we first have to find a proper way of running the python scripts in parallel from outside of the container. |
@talbring |
Well thats not really an issue. Its just a conceptual thing. Usually what you want to do with an container is to run something from the outside like
or to be more specific, like I did with the singularity container
This way you can also run the python scripts
This works well in serial, however, if you want to run it in parallel you probably should use mpirun from the host system (actually I have no idea what happens if you run mpirun inside of the container, but I am pretty sure that it won't work properly on a cluster). But: at the moment the python scripts do exactly that at the moment, they call the binaries using mpirun in the container. |
While playing around with the singularity containers a little bit, what do you think about this solution? Execute the python script inside the container with the python on the host
Adjust the python interface (SU2_PY/SU2/run/interface.py) to execute the container:
Just need to make sure that the hostfile is also included in the mpirun command if run on multiple nodes. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
I have built SU2 in docker and run several cases, but some of them failed at MPI_Waitany . Will there be officially support for a docker release version of SU2 ?
here's the Dockerfile I used to build SU2.
Dockerfile.txt
The text was updated successfully, but these errors were encountered: