Development with Docker and CUDA

hilario
Mon, 16 Dec 2024 14:03:23 +0000
General Usage

Hi. I am developing code for my research and I’d like to make it run in a machine in which I don’t have permission to install Julia. I am not developing any “app”, I just want to be able to run my code, do my tests, expand and improve on the things that are still missing, and at the end generate numerical results to put in an article.

I have been thinking of using Docker, but I’m a newbie in both Julia and Docker, so I’d like some advice on how to go about this and what is considered good practice in this case.

Should I clone my project’s repository inside the container? Or should I let the container communicate with the host? Should I create the image with the packages listed in the .toml files? How would you go about this?

I’ll also need to parallelize things in CUDA. I don’t know if this makes things more complicated or if it’s the same as running parallelized code at host.

My knowledge of Docker is very faulty, and it seems that a lot of the tutorials on the web are for a different type of use than mine. I appreciate any help you guys can offer, as I feel quite lost here.

6 posts - 3 participants