Re: Running NAMD w/ CUDA under Linux

From: Praveen Agrawal (praveen.agrawal_at_gmail.com)
Date: Thu Nov 05 2009 - 11:58:24 CST

Hi Ronald,
Instead of adding to PATH, you need to add it to LD_LIBRARY_PATH.

Regards,
Praveen

On Thu, Nov 5, 2009 at 8:53 AM, Ronald Salesky <rsalesky_at_unm.edu> wrote:
> Hi NAMD experts :)
>
> I am having difficulty running the Linux-x86_64-CUDA (NVIDIA CUDA
> acceleration) binary build. Despite setting the path for the libcudart.so.2,
> running 'namd2 myconfig.conf' from the cmd line results in the error
> message:
>
> namd2: error while loading shared libraries: libcudart.so.2: cannot open
> shared object file: No such file or directory
>
> Any suggestions much appreciated! Details of the bash shell commands
> below... (I am running Fedora 11)
>
> Best regards,
>
> Ron
>
> [Ron_at_localhost ~]$ locate libcudart.so.2
> /home/Ron/vmd-1.8.7/lib/redistrib/lib_LINUXAMD64/libcudart.so.2
> /home/Ron/vmd-1.8.7/lib/vmd/libcudart.so.2
>
> [Ron_at_localhost ~]$ export PATH=$PATH:/home/Ron/vmd-1.8.7/lib/vmd
> [Ron_at_localhost ~]$ namd2 CNT_wb_eq.conf > CNT_wb_eq.log
> namd2: error while loading shared libraries: libcudart.so.2: cannot open
> shared object file: No such file or directory
> [Ron_at_localhost ~]$
>
>
>
>
>

-- 
-------------------------------
www.leadinvent.com
-------------------------------

This archive was generated by hypermail 2.1.6 : Wed Feb 29 2012 - 15:51:39 CST