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
ValueError: File format ascii not found. #143
Comments
Can you tell us exactly which installation method you used and exactly what commands you have executed before getting this error? |
I first created a new environment with python=2.7 in conda, then I installed claw with the command |
PyClaw doesn't require any environment variables to be set. If you are more specific about how you're running the examples, that may help me help you. Try running these commands in the same ipython interpreter:
|
I'm sorry, I should have done it before. ValueError: mpi4py.MPI.Status has the wrong size, try recompiling. Expected 48, got 40 So the problem is related to MPI. I'll try to investigate further |
I think this means that you have more than one MPI installed on your system and they have gotten mixed up (mpi4py is compiled against one but using the other at run-time, or something like that). I'm a little surprised that mpi4py is getting imported at all here; as a quick hack you could try just uninstalling mpi4py from that conda environment since it's not required unless you want to run in parallel. |
It looks like clawpack depends on it. If I try to uninstall it I got: |
Ah, the conda install does depend on it because we set it up to just include all the optional dependencies. Another option would be to install Clawpack using pip rather than Anaconda. |
Hi,
I have installed clawpack into an anaconda environment as described here
http://www.clawpack.org/installing.html
Everything seems working, but every example I run gives
~/anaconda2/envs/claw/lib/python2.7/site-packages/clawpack/pyclaw/solution.pyc in get_write_func(self, file_format)
375 % file_format).write
376 except:
--> 377 raise ValueError("File format %s not found." % file_format)
378
379
ValueError: File format ascii not found.
Is it some component that I am missing?
Thank you
Claudio
The text was updated successfully, but these errors were encountered: