-
Notifications
You must be signed in to change notification settings - Fork 26
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
Inconsistency in results between MacOS and Ubuntu #185
Comments
Could you try installing the latest version currently on conda (v2)? I'm hoping that any issues with the new Mac chips are now gone. |
OK, thanks a lot. The fact that this still happens with the newer version narrows it down, I think. Most of the code is completely different, so this can only be coming from a couple of things. I'm trying to test this on my own without a mac, but in the meantime, can I check:
|
@fjaviersanchez is not able to reproduce this with a fresh install from conda. His setup is:
@gfabbian can I check how this differs from yours? |
(also, just to check, you are indeed installing from conda, correct?) |
For more context, this is the recipe I followed to install the package:
I can play a bit with the |
@fjaviersanchez are you using conda with osx-arm64 platform or osx-64? I have the same numpy/healpy as yours and see the issue even when creating a new environment :(. I also confirm issues show up in purification. Happy to rerun any test code you have. I can also send out a notebook if useful. |
Hmm, I just checked and this is my conda info:
I am using python 3.12. I haven't checked with 3.11 though, and I know that some people had issues with 3.11 with other packages. I can check! |
I believe the only thing different at this point is the chip as I also have python 3.12. |
Humm, but @jchamilton75 said he was using an M2 above... |
@jchamilton75 can you confirm if you see the problem with a fresh environment installation? |
After further offline iterations with @gfabbian (thanks so much for this @gfabbian ), it seems the issue was conflicting old versions of ducc0 installed via pip. When installing all packages consistently from conda the problem disappears (@gfabbian please correct me if what I just said is inaccurate). I'll close this for now, but feel free to reopen if the issue reappears. |
Hi everyone,
TLDR:
We installed NaMaster with the same virtual environment (using micromamba and conda-forge packages) on a M1 mac (same with M2) and an Ubuntu Linux and got very different results from NaMaster.
We finally succeeded installing Namaster on a mac M1 using a micromamba virtual environment. It went on very smoothly. We did the same installation on a Linux Ubuntu.
Then comparing the results of a simple test code provided in NaMaster (Example 6: Pure E and B) with just a few prints added and a forced seed in the Monte-Carlo so that we had the same seed on both machines.
The results found are absurd with the mac and seem as expected with Linux. Very frustrating...
Both notebooks are available with their outputs on https://gist.github.com/jchamilton75/11bacae57a042361b38e450c3c2e8f4f
We tried the same on a M2 and obtained the same as with the M1.
Any insight ?
Thanks in advance !
The text was updated successfully, but these errors were encountered: