-
Notifications
You must be signed in to change notification settings - Fork 20
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
PyMemory View error and muliti cuda flag errors #404
Comments
I think that the issue is linked to the retirement of Python 2. To fix the issue, try building a singularity image that has Python 3. |
Hi @pdziekan . Thank you for taking a look. The singularity image works for me mostly. I'm actually trying to run parcel model. But I'm running into issues with MPI and python bindings: igfuw/parcel#81 Could you take a look there as well? |
Actually I'm getting the same error if I run unit tests for libcloudphxx inside the singularity image: |
I just stumbled into this problem with Python bindings running the tests for |
@claresinger I think that the issue is more with our cluster setting that run mpi silently even if you don't ask for it. To get rid of that you should type That clears the env variable that libcloud is using to check if the simulation is run with mpi or not |
@trontrytel fyi libcloudph is hanging again during compilation on central... noticed that the singularity scripts got updated in UWLCM so I will try and remake that image and see if that works... |
sounds good! LMK if it doesnt work |
@claresinger does the compilation hang without any output? @trontrytel could you check if using this branch of libcloudph++ https://github.com/pdziekan/libcloudphxx/tree/mpi_detection you still need to unset PMI_RANK env var? Also, I think that libcloudph++ is detecting Python2.7, because of some environmental variables set at your cluster. |
@pdziekan yes, it starts compiling and then hangs at this step with no further output for 30+ minutes.
Here is the output from
@trontrytel I'm happy to check this new branch to see if it means we don't have to |
@claresinger compilation may hang because you are running out of RAM. -- Detecting if the compiler is an MPI wrapper... - FALSE |
Thanks @pdziekan using |
Tested this branch and it works without having to |
@claresinger great! Can I close this issue, or is there something else to resolve? |
@pdziekan Yes, you can close this issue now. |
I was trying to compile the current master version of libcloud on the singularity image. I'm running into 2 problems:
This flag
-DLIBCLOUDPHXX_FORCE_MULTI_CUDA=1
hangs the compilationWithout the above flag I get the following error:
The text was updated successfully, but these errors were encountered: