Supriyo Maji
Guest
Fri Jan 29, 2010 4:47 pm
Dear Sir,
I want to run ocean script from linux terminal.When I type 'ocean' I
get the error "command not found".I need to type 'tcsh'->'source
..cshrc1'->'ocean'.
Could you please tell me how to run ocean directly from the terminal
without using tcsh & then source .cshrc1.
Kindly help.
Debjit
Guest
Sat Jan 30, 2010 5:05 pm
On Jan 29, 7:47 pm, Supriyo Maji <supriy...@gmail.com> wrote:
Quote:
Dear Sir,
I want to run ocean script from linux terminal.When I type 'ocean' I
get the error "command not found".I need to type 'tcsh'->'source
.cshrc1'->'ocean'.
Could you please tell me how to run ocean directly from the terminal
without using tcsh & then source .cshrc1.
Kindly help.
Dear Supriyo,
The problem is as follows. I think you are using the bash shell by
default. Please check as follows.
$ echo $SHELL
If it comes as /bin/bash then please ask your system administrator to
change the default shell from /bin/bash to /bin/tcsh, so that whenever
you open a terminal or login remotely, that .cshrc file will be
sourced automatically and you don't have to perform what you do
presently.
Else if you want to run ocean from the bash shell then add the
following lines in your .bashrc file which you can find in your home.
export PATH="$ICHOME/tools/bin:$PATH"
export PATH="$ICHOME/tools/dfII/bin:$PATH"
export PATH="$IUSHOME/tools/bin:$PATH"
export PATH="$IUSHOME/tools/simvision/bin:$PATH"
export PATH="$IUSHOME/tools/dfII/bin:$PATH"
export PATH="$MMSIMHOME/tools/bin:$PATH"
export PATH="$MMSIMHOME/tools/dfII/bin:$PATH"
Here $ICHOME, $IUSHOME and $MMSIMHOME are the installation directory
of Cadence IC, Cadence IUS and Cadence MMSIM package.
Please write the above the lines in the order I typed in your .bashrc
file.
Hope your problem will be solved.
Please acknowledge.
Thanking you,
Yours sincerely,
Debjit.
Cheers!!!!