Command name namd2 is not being accepted
1
0
Entering edit mode
8.5 years ago
Jack Benny • 0

I am using a Windows 10 platform to perform simulation of ubiquitin. In the MS-DOS command window, I type ./namd2 ubq_wb_eq.conf > ubq_wb_eq.log & but I keep getting the error message invalid command name "./namd2". The weird thing is that just a week ago, this command was working. Does anyone have any suggestions?

namd2 molecular dynamics NAMD • 4.3k views
ADD COMMENT
0
Entering edit mode

Obvious thing to check is are you in the directory where the namd2 executable is present? If not you would need to provide the full path like c:\program files\some_dir\namd2 ubq_wb_eq.conf > ubq_wb_eq.log & in your command.

ADD REPLY
0
Entering edit mode

Genomax2, thank you -- I did not know about putting the whole path directory. Jack

ADD REPLY
0
Entering edit mode

Are you using cygwin (unix like environment for windows) or are you using a virtual machine?

ADD REPLY
0
Entering edit mode

Hello, Genomax2. No, I'm not using any Linux like environment for Windows. I'm using command line on actual Windows, which accounts for the fact that some of the Linux commands are giving errors.

ADD REPLY
0
Entering edit mode
8.5 years ago
kloetzl ★ 1.1k

./namd2 is the unix way of saying “look for namd2 in the current directory”. Windows does that anyway so just namd2 ubq_… should be sufficient. (In technical terms: . is part of the PATH on windows by default.)

Also, an windows it should be .\namd2, amyrite?

ADD COMMENT
0
Entering edit mode

Kloetzl, thanks. I don't know whether it's forward slash or backward slash (one website says forward slash), so I will try both. Thanks again. Jack

ADD REPLY

Login before adding your answer.

Traffic: 1491 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6