-
Notifications
You must be signed in to change notification settings - Fork 2
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
nm751 and MPI issues #11
Comments
Can you share the exact variant Dockerfile that you're using? There are some subtleties about MPI that I have worked through over time. Important details that I see from the Dockerfile (but I don't recall all of the issues that I had getting there): I believe that You're using rocker for your base installation which starts from Debian while I'm starting from Ubuntu. I don't know how differently they may handle MPI. What OS are you using? (There was a recent issue, #10, with the NONMEM side of OS detection on Mac due to the interaction of M1 chips and using Linux in the Docker container.) |
Your Dockerfile didn't come through; I think that you have to upload it directly to GitHub rather than using an email attachment. |
If the issue is because of debian vs ubuntu, I could probably also change this. Just tried to inherit as much as possible with my starting point. But I guess I could install R and RStudio also myself on top of ubuntu. I’m using MacOS Ventura 13.3.1 (a) with Intel chips, so I would assume the M1chip issue should not apply. Anyway, here is my Dockerfile along with the install scripts and an empty resources folder. After unzipping, the folder needs to be populated with a valid
|
You're changing several things simultaneously, in your installation settings, and I'm not sure which is causing the issue. One change that sticks out is that you seem to be installing NONMEM into one directory and then running it from another (the mpi directory that you create). I think that the installation may still be looking to the original directory. I'd suggest having a single NONMEM installation and using MPI and single-thread from the same location. That works with the Dockerfile that I've created, and it's the way that I've typically seen it run. |
This is only a single installation but I was creating subdirectories for testing NONMEM in single-thread and mpi mode. I will try and use your Dockerfile unchanged and see if this works in my environment (should have done this to start with...). If this is the case, I will try to apply my changes to see when things break. Let you know my progress on this. |
Did you have success in your testing? |
Sorry, I had little time testing this during the last weeks. But yes, I have some success. I could build a docker image based on your docker file and there things seem to work well. Somehow this seems to be related with my base layer (I tried to build on |
Thanks for letting me know. That is odd because FYI, there is another project that makes an |
I've also experienced this same error with a rocker based image, @afacius are you able to share your final dockerfile? |
Hi, I only use docker in batch mode to execute NONMEM runs in a controlled Linux environment while the rest of my stuff (R, RStudio, etc) is on my local Mac. Eventually I did not found the Rstudio on Docker a good solution as I need to use a browser to go there and can only run a single instance, etc (the latter could be avoided with the non-free RStudio of course). So I do have a docker image which installs NONMEM, PsN and MPI support on top of ubuntu but not on top of rocker/verse. |
I tried to use a (modified) version of
NONMEM.Dockerfile
. It seems to work well for single-threaded nm, but I can’t get the mpi support up and running. When Iapt-get install libmpich-dev mpich
and replace the/opt/NONMEM/nm7.5.1/mpi/mpi_ling/libmpich.a
with/usr/lib/x86_64-linux-gnu/libmpich.a
as proposed, I get the following error when testing the installation:Any ideas how to fix that?
Axel
The base image I'm using is FROM rocker/verse:4.2.3. I installed nm751 on top of it and it appears to work fine (CONTROL5 gives the expected OFV). Happy to provide my modified scripts if that helps.
The text was updated successfully, but these errors were encountered: