[gpaw-users] Install problem (_gpaw.so,python library)

Ask Hjorth Larsen asklarsen at gmail.com
Wed Aug 22 19:46:45 CEST 2018


Hi,

I have seen stuff like this on previous occasions.  Probably:

1) You need to add 'gfortran' to libraries in the customize file (this will
give you things like the gfortran string concatenate symbol)
2) If this is not sufficient, be sure to use the environment variable
LD_LIBRARY_PATH=<directory> at runtime or, better, at compile time by
appending '-Wl,-rpath=<directory>' to the customize file's extra_link_args.
3) You need to find libpython.a or libpython.so and link it.  I have
sometimes had very stupid compilers (IBM XL, I am looking at you) mess
things up and fail to find it no matter how obvious paths were given to
it.  You give it an absolute path and still it cannot find that library
because it somehow strips off part of the path (WTH).  If that's a problem,
try symlinking libpython.a into the source directory.

Best regards
Ask


Den søn. 19. aug. 2018 kl. 18.01 skrev wenzhou chen via gpaw-users <
gpaw-users at listserv.fysik.dtu.dk>:

> Dear All,
> I am planing on using GPAW for scientific calculations. But I have trouble
> in installing the GPAW-1.4.0 and have struggle for several days.
> 1. When I compile with gcc for the serial version, it finished without
> error, as shown in the attached file (gcc-install.log). BUT when I type
> gpaw for test purpose, error display like this, it seems that there is
> something wrong with "_gpaw.so: undefined symbol: _gfortran_concat_string"
>
> 2. When I compile with mpicc for parallel version, it has error display
> like this, it seems that the pythonlib.a can not be found.
>
>   Is somebody experiences this kind of error? any suggestions would be
> appreciated. Thanks very much in advanced.
> Best,
> wz
>
> _______________________________________________
> gpaw-users mailing list
> gpaw-users at listserv.fysik.dtu.dk
> https://listserv.fysik.dtu.dk/mailman/listinfo/gpaw-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.fysik.dtu.dk/pipermail/gpaw-users/attachments/20180822/09f12733/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 76387 bytes
Desc: not available
URL: <http://listserv.fysik.dtu.dk/pipermail/gpaw-users/attachments/20180822/09f12733/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 46958 bytes
Desc: not available
URL: <http://listserv.fysik.dtu.dk/pipermail/gpaw-users/attachments/20180822/09f12733/attachment-0003.png>


More information about the gpaw-users mailing list