[gpaw-users] Installation problem
Ask Hjorth Larsen
asklarsen at gmail.com
Tue Mar 1 17:45:06 CET 2016
Hi
2016-03-01 11:56 GMT+01:00 Roger Mason <rmason at mun.ca>:
> Hi Ask,
>
> Ask Hjorth Larsen <asklarsen at gmail.com> writes:
>
>> The problem is that /home/rmason/bin/ase is in PYTHONPATH. Look how
>> when attempting to import the basic Python class 'io', it actually
>> gets ..../bin/ase/io whose name was supposed to be 'ase.io' if
>> PYTHONPATH were correct. So you probably meant to have
>> /home/rmason/bin in PYTHONPATH.
>>
>> (Note that ~/bin is a slightly strange name to choose for this
>> directory. Directories named 'bin' usually contain executable
>> scripts. Here, it contains Python modules.)
>
> I deleted both my ASE and GPAW installations and re-installed ASE
> (according to the manual instructions). ASE is in ~/Software/ASE/ase
> and I have the following:
>
> PYTHONPATH
> /home/rmason/Software/ASE/ase:/opt/lib/root:/home/rmason/Software/ASE/ase:/opt/lib/root:
>
> PATH
> /opt/context/tex/texmf-freebsd-amd64/bin:/opt/context/tex/texmf-freebsd-amd64/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/home/rmason/bin:/opt/bin:/home/rmason/Software/ASE/ase/tools:/opt/bin:/home/rmason/Software/ASE/ase/tools
>
> Running the ASE tests:
>
> python2.7 -c "from ase.test import test; test()"
> python 2.7.11 GCC 4.2.1 Compatible FreeBSD Clang 3.4.1 (tags/RELEASE_34/dot1-final 208032) 64bit ELF on FreeBSD amd64
> zsh: segmentation fault (core dumped) python2.7 -c "from ase.test
> import test; test()"
>
> This is not a GPAW problem so possibly it is the wrong list.
Well, this is strange.... ASE is pure python, so it should not be
possible to cause a segfault only from ASE. It must be either in an
external library like NumPy, or in the Python distribution. Most
likely the former, particularly the installation is not provided by
the BSD distribution.
Will numpy work? Can you import ASE without trouble? It appears to
crash quickly, before doing much of anything.
Best regards
Ask
>
> Best wishes,
> Roger
More information about the gpaw-users
mailing list