Coder Social home page Coder Social logo

Comments (2)

joelarmstrong avatar joelarmstrong commented on July 29, 2024

Hi Alan,

Sorry that you are running into trouble. That docker image can't easily be used in that way, sadly--it's meant only to distribute our binary non-Python dependencies (because they can be a colossal pain to compile).

The way it's meant to be run is to install the python bits of Cactus in a virtual environment (e.g. pip install --upgrade .; pip install toil, but see the README for details), then run Cactus from there. That Python pipeline will then create a new Singularity/Docker container any time it needs to run one of our C/C++ binaries. (If that sounds a bit strange and convoluted, well, it totally is--but virtually 100% of our use cases require running on a large cluster of some sort, coordinated by the Python bits, and the Docker isolation would often royally mess up the interaction between the Python coordinator and the batch system.)

That said, nothing would prevent creating a Docker container that contains the Python code as well, which would basically just involve following the steps from the README within the Dockerfile. If you really do need to run everything within a single Docker container, I'd be happy to help you with creating that type of image.

from cactus.

alancleary avatar alancleary commented on July 29, 2024

Thanks, Joel. That really cleared things up; I was able to run the example to completion.

When the README mentioned Docker, I (falsely) assumed the image contained the virtual environment. Reading it again, it makes so much more sense now! Anyways, all's well that ends well; I still didn't have to build the binaries, which is what I was really trying to accomplish.

from cactus.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.