[gmx-users] Problem with gromacs-4.6 compilation on Debian

Szilárd Páll szilard.pall at cbr.su.se
Mon Jan 21 18:05:19 CET 2013


Hi,

Not sure why, but it looks like libcudart.so is linked against a glibc that
not compatible with what you have (perhaps much newer)?

Alternatively you could try adding "--add-needed" to the linker flags, but
I doubt it will help.

Cheers,

--
Szilárd


On Mon, Jan 21, 2013 at 5:09 PM, James Starlight <jmsstarlight at gmail.com>wrote:

> Dear Gromacs Users!
>
>
> I've successfully installed Gromacs-4.6 on my Debian mint system but
> on another ( classic Debian) I've obtained error during make step (in
> both cases I'm using 64 bit debian):
>
> [ 55%] Building C object
> share/template/CMakeFiles/template.dir/template.c.o
> Linking CXX executable template
> /usr/local/cuda-5.0/lib64/libcudart.so: undefined reference to
> `std::__detail::_List_node_base::_M_unhook()@GLIBCXX_3.4.15'
> /usr/local/cuda-5.0/lib64/libcudart.so: undefined reference to
>
> `std::__detail::_List_node_base::_M_hook(std::__detail::_List_node_base*)@GLIBCXX_3.4.15'
> collect2: ld returned 1 exit status
> make[2]: *** [share/template/template] Error 1
> make[1]: *** [share/template/CMakeFiles/template.dir/all] Error 2
> make: *** [all] Error 2
>
>
> In both cases I've used gcc-4.4 for compilation with cuda-5.
> What's wrong?
>
>
>
> James
> --
> gmx-users mailing list    gmx-users at gromacs.org
> http://lists.gromacs.org/mailman/listinfo/gmx-users
> * Please search the archive at
> http://www.gromacs.org/Support/Mailing_Lists/Search before posting!
> * Please don't post (un)subscribe requests to the list. Use the
> www interface or send it to gmx-users-request at gromacs.org.
> * Can't post? Read http://www.gromacs.org/Support/Mailing_Lists
>



More information about the gromacs.org_gmx-users mailing list