Comments (12)
Had to fight with my conda environment for a bit, but it looks to be all working! Thanks @beckermr!
from namaster.
@DanielLenz no idea. Have you tried @beckermr 's conda-forge package? (conda install -c conda-forge namaster
)
from namaster.
In case this is still useful - illegal instruction errors happen when you compile code for one CPU architecture but then run it on another. This can happen either if you copy something from one machine to another, or if you are using a heterogenous cluster which has different types of CPU in it.
In the latter case, lowering optimization levels can help.
from namaster.
I'm using the Python distribution that's provided on the cluster instead of anaconda, and it's not an issue right now because it works perfectly fine on the SKX nodes.
Feel free to close this, we can always re-open if there are any new insights.
I've been using the conda-forge package locally on my laptop (Py3.7), and it works like a charm!
from namaster.
OK, great. Will leave open in case someone else encounters the same problem
from namaster.
I'll just revive this instead of opening a new issue.
I'm experiencing the same issue when trying to run nmt.mask_apodization()
in python. I'm using the conda-forge package (Py3.7). I'm using it on my desktop which just has a single CPU with 8 cores in it, so I am really not sure what could be causing this.
from namaster.
OK, thanks. Can you post the exact code you're running?
from namaster.
(also, it'd be good to check if this also happens if you install the code from pip, in case you've tried that)
from namaster.
The only line is the one where the error occurs:
mask = nmt.mask_apodization(mask.astype(float), aposize=1., apotype='Smooth')
Where mask
is a boolean array of length 12288 (for NSIDE=32 map). I tried playing around but the pip installation was giving me trouble.
from namaster.
I think this issue is now solved. Care to try again?
from namaster.
yay!
@damonge we can close this one!
from namaster.
Awesome, thanks a lot!
from namaster.
Related Issues (20)
- nan's with map read from fits file HOT 2
- random seed in synfast_flat
- I am not seeing a real improvement in performance, but it might be my own compiler being a bit outdated. Still worth merging, since libsharp2 is the one being maintained, but will open an issue to investigate further.
- configure fails to find cfitsio HOT 7
- Missing version number in pymaster
- Help installing NaMaster on M2 macOS HOT 17
- cannot find _nmtbin module HOT 4
- Error when setting lmax < 3 * nside - 1 in compute_full_master HOT 2
- Missing different lmax for mask and coupling coefficients for covariances HOT 1
- f_ell does not seem to do anything in NmtBin HOT 1
- Conda installation fails if conda installs gsl=2.7.1 instead of gsl=2.7
- Inconsistency in results between MacOS and Ubuntu HOT 13
- Make exception message more informative
- Weird power in compute_coupled_cell HOT 3
- pymaster installation problem HOT 3
- Pseudo-cl's in the covariance computation - pixel window function HOT 3
- Floating point errors with full sky CAR pixellization HOT 1
- NaMaster installation CFITSIO issue
- Apodisation window functions HOT 3
- Noise bias for flat sky HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from namaster.