Netiquette · Download · News · Gallery · G-quadruplexes · DSSR-Jmol · DSSR-PyMOL
· Video Overview · DSSR v2.6.0 (DSSR Manual) · Homepage 
			
			- 
				Hello,
 
 First of all, i would like to thank the authors for such a useful program.
 
 I am using 3DNA in Red hat enterprise Linux 3.0.  I downloaded the software and installed in /usr/local.  When i unzip and untar the file, it created a directory called X3DNA.
 
 so my path is /usr/local/X3DNA.  Then i set an enviroment variable as follows in my .bashrc file.
 
 export X3DNA=/usr/local/X3DNA/
 export PATH=$PATH:$X3DNA/bin
 
 Howver, when i run  any executable, say find_pair, it says command not found and hence every time i am copying my pdb file /usr/local/X3DNA and run the program. Why is it so.  Kindly suggest me something.  Is is because the environmental variable name and the directory name are the same.
 
 Bala
- 
				Hi,
 
 Thanks for using 3DNA.
 
 What happens if you do the following?
 
 which find_pair
 source ~/.bashrc
 which find_pair
 
 
 In other words, I suspect your setting is not in effect yet before running the source command, or starting another shell.
 
 HTH,
 
 Xiang-Jun
- 
				Hello xiangjun,
 
 Sorry for the delayed reply. I was on leave.
 
 I have installed the sofware in /usr/local/X3DNA
 
 I have set the following path in .bashrc file
 
 export X3DNA=/usr/local/X3DNA/
 export PATH=$PATH:$X3DNA/bin
 
 When i give "which find_pair" as you suggestted, i got the following big message.
 
 
 /usr/bin/which: no find_pair in (/usr/local/autodock/share/bin:/usr/local/autodock/i86Linux2/bin:
 /usr/local/ifc/bin:/usr/local/autodock/share/bin:/usr/local/autodock/i86Linux2/bin:
 /usr/local/ifc/bin:/usr/local/autodock/share/bin:/usr/local/autodock/i86Linux2/bin:
 /usr/local/ifc/bin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:
 /usr/local/amber8/exe:/usr/local/pass:/usr/local/nab-5.0/bin://usr/local/grace/bin:
 /usr/local/mmtsb_toolset/perl:/usr/local/mmtsb_toolset/bin:/usr/local/X3DNA//bin:
 /home/madhu/bin:/usr/local/amber8/exe:/usr/local/pass:/usr/local/nab-5.0/bin:
 //usr/local/grace/bin:/usr/local/mmtsb_toolset/perl:/usr/local/mmtsb_toolset/bin:
 /usr/local/X3DNA//bin:/usr/local/amber8/exe:/usr/local/pass:/usr/local/nab-5.0/bin:
 //usr/local/grace/bin:/usr/local/mmtsb_toolset/perl:/usr/local/mmtsb_toolset/bin:
 /usr/local/X3DNA//bin)
- 
				Hi,
 
 Life should not be that hard! Setting up the 3DNA environment has rarely been an issue, indeed yours is the first case I've come cross over the past few years.
 
 I noticed that you set X3DNA as
 export X3DNA=/usr/local/X3DNA/i.e., with a trailing '/'. In the output error message, you have path
 /usr/local/X3DNA//binNoticed the two '//' between X3DNA and bin? The error message means you have not put 3DNA bin directory into your command line search path yet.
 
 Try the following in your current terminal, one line at a time, what did you get?
 echo $SHELL
 # do you get '/bin/bash'? -- verifies you have 'bash' shell
 ls /usr/local/X3DNA/bin/find_pair
 # this verifies that you indeed installed 3DNA under /usr/local
 export X3DNA=/usr/local/X3DNA
 # without trailing '/'
 echo $X3DNA
 ls $X3DNA/bin/find_pair
 # If 3DNA is installed under /usr/local, this should print the full path
 export PATH=$PATH:$X3DNA/bin
 which find_pair
 
 Please report back how it goes.
 
 Xiang-Jun
- 
				Hi,
 Thank You.  I gave the commands one by one as you suggested and i have pasted below what i got.
 
 echo $SHELL
 /bin/bash
 
 ls /usr/local/X3DNA/bin/find_pair
 ls: /usr/local/X3DNA/bin/find_pair: Permission denied
 
 export X3DNA=/usr/local/X3DNA
 echo $X3DNA
 /usr/local/X3DNA
 
 ls $X3DNA/bin/find_pair
 ls: /usr/local/X3DNA/bin/find_pair: Permission denied
 
 export PATH=$PATH:$X3DNA/bin
 
 which find_pair
 alias find_pair='/usr/local/X3DNA/bin/find_pair'
 
 
 Finally i gave "find_pair" in the shell prompt and it throwed following message.
 
 bash: /usr/local/X3DNA/bin/find_pair: Permission denied
- 
				Then it is clear that you do not have permission set up correctly for $X3DNA/bin executables. I do not know your level of Linux/Unix, and/or access right to the /usr/local directory. But you can try the following:
 
 export X3DNA=/usr/local/X3DNA
 export PATH=$PATH:$X3DNA/bin
 chmod a+rx /usr/local/X3DNA/bin/*
 find_pair
 
 
 Other than that, you need to consult your system administrator or local Linux/Unix expert for help.
 
 Alternatively, you can always install 3DNA under your home directory.
 
 HTH,
 
 Xiang-Jun
Funded by the NIH R24GM153869 grant on X3DNA-DSSR, an NIGMS National Resource for Structural Bioinformatics of Nucleic Acids
Created and maintained by Dr. Xiang-Jun Lu, Department of Biological Sciences, Columbia University