RE: Running NAMD w/ CUDA under Linux

From: Lee Wei Yang (lwyang_at_ljbi.org)
Date: Thu Nov 05 2009 - 18:32:40 CST

It looks more like a CUDA environment problem than a NAMD problem.

Are you sure that libcudart.so.2 is in /usr/local/cuda/lib64 and your $LD_LIBRARY_PATH contains /usr/local/cuda/lib64 ?

Lee
________________________________________
From: owner-namd-l_at_ks.uiuc.edu [owner-namd-l_at_ks.uiuc.edu] On Behalf Of Ronald Salesky [rsalesky_at_unm.edu]
Sent: Wednesday, November 04, 2009 7:23 PM
To: namd-l_at_ks.uiuc.edu
Subject: namd-l: Running NAMD w/ CUDA under Linux

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 ~]$

This archive was generated by hypermail 2.1.6 : Wed Feb 29 2012 - 15:53:27 CST