Okay, thanks. I do have a couple installs of numpy (one of them an older
version); that older version must be getting imported like you said.
Hopefully removing the older version will fix it.
On Monday, July 28, 2014 1:59:04 PM UTC-7, Freddie Witherden wrote:
>
> On 28/07/14 21:27, Jacob Crabill wrote:
> > Hi All,
> >
> > I've managed to compile & run PyFR on one GPU-enabled desktop, but my
> > simple Ubuntu machine is giving me the following error when I try to run
> > the code using the openmp backend (just the last few lines of error
> > messages shown):
> >
> > File
> >
> "/usr/local/lib/python2.7/dist-packages/pyfr-0.2.1-py2.7.egg/pyfr/backends/openmp/cblas.py",
>
>
> > line 114, in mul
> > par_gemm = self._build_kernel('par_gemm', src, argt)
> > File
> >
> "/usr/local/lib/python2.7/dist-packages/pyfr-0.2.1-py2.7.egg/pyfr/util.py",
> > line 26, in __call__
> > key = (self.func, pickle.dumps(args[1:], 1), pickle.dumps(kwargs,
> 1))
> > cPickle.PicklingError: Can't pickle <type 'numpy.int32'>: it's not the
> > same object as numpy.int32
> >
> > I believe the only BLAS that I have installed on this machine is ATLAS
> > BLAS, in case that's relevant (installed from the Ubuntu repository).
> > Additionally, my default mpi is mpich2 instead of openmpi. Any tips
> > are appreciated!
>
> It is unlikely to be your BLAS library. The error is coming when PyFR
> attempts to call (simplified):
>
> cPickle.dumps([numpy.int32], 1)
>
> with the module complaining that there appears to be two different
> numpy.int32 classes floating around. This is strongly indicative of a
> configuration issue. Perhaps stale .pyc files floating around, an
> incorrect PYTHONPATH, or two versions of NumPy on the system (both of
> which are somehow getting imported).
>
> Regards, Freddie.
>
--
You received this message because you are subscribed to the Google Groups "PyFR
Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send an email to [email protected].
Visit this group at http://groups.google.com/group/pyfrmailinglist.
For more options, visit https://groups.google.com/d/optout.