VMD-L Mailing List
From: Cun Zhang (apzc2529_at_gmail.com)
Date: Thu Sep 16 2010 - 20:25:45 CDT
- Next message: Cun Zhang: "vmd display water molecules error"
- Previous message: Axel Kohlmeyer: "Re: maximum trajectory size?"
- In reply to: Axel Kohlmeyer: "Re: compile vmd"
- Next in thread: Knut Jørgen Bjuland: "Re: compile vmd"
- Reply: Knut Jørgen Bjuland: "Re: compile vmd"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Knut
Does you add '-L/usr/local/cuda/lib64' to variable "LIBDIRS" in makefile?
Every compilation I must re-link libcudart.so to libcudart.so.3.
If not, same error comes. I have any idea with it.
Cheers,
Cun Zhang
2010/9/16 Axel Kohlmeyer <akohlmey_at_gmail.com>
> 2010/9/15 Knut Jørgen Bjuland <knutjorgen_at_gmail.com>:
> > I have tried to compile the cvs version of vmd to get python working.
> > Though I am having some trouble in compiling the cuda part. I get this
> > error message when compiling vmd.
> >
> > Linking vmd_LINUXAMD64 ...
> > /usr/bin/ld: cannot find -lcudart
> > collect2: ld returned 1 exit status
> > make: *** [vmd_LINUXAMD64] Error 1
> >
> > Then I try to see if I the system can see the installed cuda-3.2.
> >
> > ldconfig -v |grep cuda
> > /usr/local/cuda/lib64:
> > libcudart.so.3 -> libcudart.so.3.2.9
> > libcudartemu.so.3 -> libcudartemu.so.3.0.14
> > /usr/local/cuda/lib:
> > libcudart.so.3 -> libcudart.so.3.2.9
> > libcudartemu.so.3 -> libcudartemu.so.3.0.14
> > libcuda.so.1 -> libcuda.so.256.53
> > libcuda.so.1 -> libcuda.so.256.53
> > libicudata.so.42 -> libicudata.so.42.1
> > libicudata.so.42 -> libicudata.so.42.1
> >
> > Then it seems to be in order. Do I have wrong version of cuda, or do I
> have
>
> nope. that is not in order. the linker will only look
> for either libcudart.so or libcudart.a which are
> missing. libcudart.so would typically be a symbolic
> link to libcudart.so.3
>
> cheers,
> axel.
>
> > set one option recarding cuda wrongly. I have a rpmfusion package version
> of
> > nvidia driver.
>
>
>
> >
> >
> >
>
>
>
> --
> Dr. Axel Kohlmeyer akohlmey_at_gmail.com
> http://sites.google.com/site/akohlmey/
>
> Institute for Computational Molecular Science
> Temple University, Philadelphia PA, USA.
>
>
-- Blog: http://www.edwardpku.com/cun
- Next message: Cun Zhang: "vmd display water molecules error"
- Previous message: Axel Kohlmeyer: "Re: maximum trajectory size?"
- In reply to: Axel Kohlmeyer: "Re: compile vmd"
- Next in thread: Knut Jørgen Bjuland: "Re: compile vmd"
- Reply: Knut Jørgen Bjuland: "Re: compile vmd"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]