-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Install openmpi with NAG compiler #15776
Comments
The warning is expected, the error is not. Can you run with |
Here is the output
|
@becker33 was it you or @alalazo or @scheibelp who did the implicit rpaths stuff? I'm guessing this bug is specific to Python 2.6. |
Any updates on this issue? Anyway to tackle it down? |
Do you have access to a Python 3 installation you can use to run Spack with? You can do |
I tried that with python3 run, but still the same error is popping up
|
Hi @scheibelp, I gave it a try and got this
|
From looking at your configs I think I see a second Spack bug: the config doesn't include a setting for modules which our logic is tripping over (specifically, the config for the |
I have updated #15902 which may address your issue although I'm having trouble replicating it. I wanted to check a couple things: Firstly, does Secondly, is that config you posted the full config? I'm wondering if it's missing an entry, specifically for
When I create a similar config entry Spack complains that it is missing a specification for "modules". If that is what the file looks like, could you also include the config entry for Thanks! |
Hi @scheibelp, and
That's the whole |
Apologies: this Spack version is old enough that |
@scheibelp, after trying out the changes in #15902, I'm getting these
|
@ajkotobi @scheibelp I'll reopen the issue here, as it seems not solved by #15902 |
As it's not from cloning git repo and I downloaded it as tar here |
can you include any error messages you see from |
Sure.
|
I'm still looking at this - I hope to have an idea about the error message tomorrow. |
Thanks |
(in short, I see the problem, but not necessarily a solution) Regarding
This may be problematic now that I look into it: Spack's logic for
When the
then the opposite problem would occur when the |
(Hopefully this question makes sense without reading the rest of this thread, although #15776 (comment) may provide some context) @adamjstewart @davydden I noticed you two have done some work on the NAG compiler in Spack: do you have suggestions on using a hybrid NAG/GCC compiler to build packages in Spack? |
@scheibelp @alalazo see #15474 where I started a lot of work to make the NAG compiler work. I'm still waiting for an answer to this question, which will solve the issue you're seeing here:
It's the
|
@ajkotobi if you want to test my theory, open @property
def linker_args(self):
- return '-Wl,-Wl,,'
+ return '-Wl,' I think this should let you build OpenMPI. The only question is if this option is compiler-dependent or not. For example, it may be needed for Fortran, but it's definitely not needed for C/C++, which is why you encountered this error. |
Hi @adamjstewart, I gave it a try and some dependencies got installed but on
Is there anyway to workaround this?
Thanks |
@ajkotobi what version of Spack are you using? Can you try again on develop? |
@adamjstewart @scheibelp , After moving to Spack When leave
After changing it to
compilation go through all dependencies successfully but during compilation,
Recapping on
Any ideas will be great. |
I think we're still waiting for a response from @alalazo on this one. It's unclear to me if |
Spack version
Steps to reproduce the issue
Platform and user environment
compilers.yaml
Additional information
During installation of
openmpi@4.0.2 %nag
on the first dependency it showsAny idea where is it going wrong?
Thanks
The text was updated successfully, but these errors were encountered: