| Thanks Dan, I ran the example codes that you provided and still have the issue. I'm running the writer code on a cluster with PBS (that is, I can't just invoke MPI from the command line) to create the 'dump.gz' file with 16 cores. I then copy the file to the desktop and when I try to open it I get: therm: python fipyreaddump.py Traceback (most recent call last): File "fipyreaddump.py", line 4, in <module> v = fp.tools.dump.read('data.dump') File "/Users/wseufzer/anaconda/lib/python2.7/site-packages/FiPy-3.1-py2.7.egg/fipy/tools/dump.py", line 151, in read return unpickler.load() File "/Users/wseufzer/anaconda/lib/python2.7/site-packages/FiPy-3.1-py2.7.egg/fipy/tools/comms/mpi4pyCommWrapper.py", line 55, in __setstate__ from PyTrilinos import Epetra ImportError: No module named PyTrilinos It appears that in pickling/dumping the cell variable information is stored regarding PyTrilinos. I am successful if I set environment variable FIPY_SOLVERS to 'scipy' on the cluster, run the code with one core, and then bring that file to the desktop machine. I'm enclosing an example file with nx=100 and ny=10, written on the cluster. |
data.dump
Description: Binary data
Cheers, Bill On Aug 5, 2014, at 3:29 PM, Daniel Wheeler <[email protected]> wrote:
|
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ fipy mailing list [email protected] http://www.ctcms.nist.gov/fipy [ NIST internal ONLY: https://email.nist.gov/mailman/listinfo/fipy ]
