-
Notifications
You must be signed in to change notification settings - Fork 42
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
parallel netcdf4 #9
Comments
Hi |
It built quite easily on Ubuntu, so I put two versions, libnetcdf-parallel and netcdf4-parallel on Anaconda cloud. Feel free to check them out. The last one was built with python=3.6. Let me know if you need anything else. |
That's great, thanks, but today I'm on osx unfortunately. |
I'll see what I can do. |
@apatlpo I have now uploaded netcdf built for osx to the spectralDNS channel. |
Thanks it works like a charm for me ! |
Great:-) Go ahead with the pull request. Perhaps you can even improve it? I have spent way too little time on the IO-interface. |
ok, will proceed with the PR ( beware this will be my first :) ). As far as improvements, I don't have time to do it right now but here is a to do list for the future:
|
I just reinstalled shenfun via:
This does not install netCDF4 which raises the following warning at imports:
Is this intended? As a side note, it may be nice to suggest the creation of a shenfun conda environment prior to running |
Not intended at all. I see that netcdf is not added to meta.yaml. Do you remember what the requirements were? And you are correct about the last note. I'll update the readme. |
I think it should be netcdf4-parallel and libnetcdf-parallel, right? |
And there should be some tests on the netcdf io... |
Latest package from Anaconda cloud should now also include netcdf. |
Great thanks. Regarding tests, should I just propose additions to 'test/test_io.py' ? |
Yes, that would be great. I have written a little bit about post-processing in the documentation. Have not written much about netcdf and one reason for this is that it does not have the option to store slices. Are you not interested in this feature? |
just letting you know I am not dropping this. I am fighting a |
That means you haven't installed the mpi4py-fft package. Should be automatically installed if you used conda... |
Yes, I am using conda. |
Where is the |
Shouldn't it be added to |
It's in the components-requirements file |
No. It is only available as source for now. There's no package available anywhere so meta.yaml won't work. |
nevermind, I got confused because it is not showing up with |
puh:-) |
But you should be able to install it from the spectralDNS channel, right? I forgot it was there as well. |
I followed:
I've added netcdf tests in |
A |
I don't follow. You mean what is the best way to call the test itself? like |
yep, sorry I have never done this before ... Tests seem to pass. I'll send a PR soon. Regarding slices, I am indeed interested in that and do not see any particular reasons for why one could not slice with netcdf. |
Ah, now I see. The py.test you were running before was not in the current environment and therefore no mpi4py_fft! I have made that same error a few times:-) |
It'd be great to write netcdf output files.
This is the standard for many users in the geophysical community.
Parallel file writing is implemented in netCDF4.
I failed to install it via conda however.
Could it be possible to have it in the spectralDNS channel as it is the case for hdf5-parallel?
The text was updated successfully, but these errors were encountered: