Yes, I did. in bash shell, .bashrc has "source /home/yogesha/sware/CNS/cns_solve_1.3/.cns_solve_env_sh", I guess it does same thing you are suggesting. in tcsh, .tcshrc has "source /home/yogesha/sware/CNS/cns_solve_1.3/cns_solve_env" and I source .tcshrc from my work directory
cns_solve_env has "setenv CNS_SOLVE '/home/yogesha/sware/CNS/cns_solve_1.3/' " .cns_solve_env_sh has "CNS_SOLVE=/home/yogesha/sware/CNS/cns_solve_1.3" I am not sure what is missing. Thanks Yogi Date: Sat, 28 Jul 2012 14:51:38 -0400 From: rrowl...@colgate.edu To: ccp4...@hotmail.com Subject: Re: [ccp4bb] CNS installation Have you sourced the CNS evironment variable file? For example, on my student workstations, we have an alias 'cnssetup' that invokes the command 'source /usr/local/xtal/cns_solve_1.3/cns_solve_env'. The source command has to be run every time a new terminal window is opened to set the paths to the executables. Cheers, Roger Rowlett On 07/28/2012 12:40 PM, Rajesh Kumar wrote: Dear All, I am trying to install CNS in ubuntu 10.04 LTS. Even after reading all the advice on CNS installation on CCP4bb, I have failed to get it working. Both in bash and tcsh, cns_web works but cns_solve gives error "command not found". yogesha@yogesha-laptop:~/work$ echo $CNS_SOLVE /home/yogesha/sware/CNS/cns_solve_1.3 yogesha@yogesha-laptop:~/work$ cns_solve cns_solve: command not found I don't know how to trouble shoot. Any help is appreciated. Thanks Yogi