[gpaw-users] can't using gpaw-python
Marcin Dulak
Marcin.Dulak at fysik.dtu.dk
Mon Oct 7 13:34:58 CEST 2013
Hi,
On 10/05/2013 12:47 PM, 謝其軒 wrote:
> Hi,
> When I start to use gpaw-python to run a parallel version of gpaw.
> I encountered a problem:
> --
> ImportError: numpy.core.multiarray failed to import
are you on a cluster or a laptop? Which operating system?
Does the error appear when simply starting gpaw-python on the command line,
or only when running a script that uses other compiled python modules,
for example matplotlib?
Is this the full error message or does it also say something about "This
Python has API version" as here:
https://listserv.fysik.dtu.dk/pipermail/gridpaw-developer/2009-April/001650.html
If so, this means you have a mismatch between the python version
used to build numpy and gpaw-python.
There can be other reasons for "ImportError: numpy.core.multiarray", can
you post:
python -c "import numpy; print numpy.__config__.show(); print
numpy.__version__"
ldd `python -c "from numpy.core import multiarray; print
multiarray.__file__"`
ldd `which gpaw-python`
Best regards,
Marcin
> --
> The compilation is OK.
> I use python 2.7 and numpy 1.7.1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.fysik.dtu.dk/pipermail/gpaw-users/attachments/20131007/0cb0dc08/attachment.html>
More information about the gpaw-users
mailing list