Re: Run NAMD binaries

From: Axel Kohlmeyer (akohlmey_at_gmail.com)
Date: Wed Aug 29 2012 - 04:30:20 CDT

On Wed, Aug 29, 2012 at 10:58 AM, Monika Madhavi
<monikamadhavi_at_gmail.com> wrote:
> Dear all,
>
> This is a very basic question but this is my first program in NAMD. I
> downloaded NAMD_2.9_Linux-x86 binary and extracted it in my home directory.
> My configuration file is also in the home directory. Then I typed namd2
> myconfigfile.conf in a terminal window and I got "namd2 command not found ".

this is not a NAMD issue at all, but a generic linux/unix issue.

unlike on some other operating systems, the current directory '.'
is not in the search path for executables, hence the error message
that 'namd2' is not found as a command.

you either have to add the directory with the NAMD executable
to your PATH environment variable, or use ./namd2 which will
use for the exectutable namd2 explicitly in the local directory.

have a look around the web for some tutorials on linux shell
basics. there are some really good ones around. that'll should
be also helpful to understand a lot of other things that you will
encounter in the future.

cheers,
     axel.

>
> Then I copied my configuration file inside the extracted folder and typed
> the same in terminal and got the same massage.
>
> Can someone please help me to find where I went wrong? Do I have to keep my
> configuration file in a specific location for namd to run it?
>
> Thank you.
> Monika

-- 
Dr. Axel Kohlmeyer  akohlmey_at_gmail.com  http://goo.gl/1wk0
International Centre for Theoretical Physics, Trieste. Italy.

This archive was generated by hypermail 2.1.6 : Tue Dec 31 2013 - 23:22:27 CST