Skip to content
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

CondaPkg.jl and MPI #153

Open
J-C-Q opened this issue Oct 9, 2024 · 0 comments
Open

CondaPkg.jl and MPI #153

J-C-Q opened this issue Oct 9, 2024 · 0 comments

Comments

@J-C-Q
Copy link

J-C-Q commented Oct 9, 2024

I have a julia package "packageName.jl" that has CondaPkg.jl as its dependency. When I now run "using packageName" while using MPI so on every rank, I get this a bunch of times:

Info: CondaPkg: Waiting for lock to be freed. You may delete this file if no other process is resolving.

And at the end, the program crashes, I presume because the lock could not be freed...

A workaround I came up with is to run "using packageName" in serial on each rank. However, for a large enough world size, this takes too long.

I did also load the package before starting the MPI job so that changes can be resolved. So I'm sure there are no changes that have to be accounted for when I start the MPI job.

Is there a way to skip this part so that I can load the package in parallel? Maybe with an unsafe flag?

I appreciate any help, even though my code is too complex to give a minimal example now.

Thank you in advance :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant