Re: [gmx-users] setting the gromacs 4.6.1 path

2013-03-13 Thread Mark Abraham
On Wed, Mar 13, 2013 at 8:33 AM, 라지브간디  wrote:

> Dear Mark,
>
>
> My terminal version is Linux masters 3.3.4-5.fc17.x86_64 as I believe its
> not that much old version.
>

That's recent enough. Whatever shell you are running is set up strangely,
however. See my suggestions last time.

I also tried to use the source command like (source
> /usr/local/gromacs/bin/GMXRC.bash) but still i getting the same problem.
>

Impossible. GMXRC.bash doesn't have goto in it.

Mark


>
>
>
>
>  dear gmx.
> >
> >
> > i am having a problem of setting the path as mentioned in gromacs manual
> > 4.6.1 version.
> >
> >
> > I used
> >
> >
> > source /usr/local/gromacs/bin/GMXRC
> >
> >
> > bash: goto: command not found..
> >
>
> What is your terminal? What is its version? You might need to update that
> if it's truly ancient. Otherwise, your bash shell is probably erroneously
> setting the variable "shell", which it should not do. This foils the
> GROMACS detection of which shell you are running. If you can't fix that,
> you should source whichever of GMXRC.csh, GMXRC.bash or GMXRC.ksh is
> applicable.
>
> when i use
> >
> >
> > echo "source /usr/local/gromacs/bin/GMXRC" >> ~/.bash_profile
> >
> >
> > it work on that terminal only. cant access the gromacs from other
> > terminal. Could you tell me what is the problem of ? Thanks
> >
>
> Source only ever works on the shell in which it is run. Setting up your
> profile to source automatically solves the problem for each new shell, and
> not any existing ones.
>
> Mark
>
> --
> gmx-users mailing listgmx-users@gromacs.org
> http://lists.gromacs.org/mailman/listinfo/gmx-users
> * Please search the archive at
> http://www.gromacs.org/Support/Mailing_Lists/Search before posting!
> * Please don't post (un)subscribe requests to the list. Use the
> www interface or send it to gmx-users-requ...@gromacs.org.
> * Can't post? Read http://www.gromacs.org/Support/Mailing_Lists
>
--
gmx-users mailing listgmx-users@gromacs.org
http://lists.gromacs.org/mailman/listinfo/gmx-users
* Please search the archive at 
http://www.gromacs.org/Support/Mailing_Lists/Search before posting!
* Please don't post (un)subscribe requests to the list. Use the
www interface or send it to gmx-users-requ...@gromacs.org.
* Can't post? Read http://www.gromacs.org/Support/Mailing_Lists


[gmx-users] setting the gromacs 4.6.1 path

2013-03-13 Thread 라지브간디
Dear Mark,


My terminal version is Linux masters 3.3.4-5.fc17.x86_64 as I believe its not 
that much old version.


I also tried to use the source command like (source 
/usr/local/gromacs/bin/GMXRC.bash) but still i getting the same problem. 






 dear gmx. 
> 
> 
> i am having a problem of setting the path as mentioned in gromacs manual 
> 4.6.1 version. 
> 
> 
> I used 
> 
> 
> source /usr/local/gromacs/bin/GMXRC 
> 
> 
> bash: goto: command not found.. 
> 

What is your terminal? What is its version? You might need to update that 
if it's truly ancient. Otherwise, your bash shell is probably erroneously 
setting the variable "shell", which it should not do. This foils the 
GROMACS detection of which shell you are running. If you can't fix that, 
you should source whichever of GMXRC.csh, GMXRC.bash or GMXRC.ksh is 
applicable. 

when i use 
> 
> 
> echo "source /usr/local/gromacs/bin/GMXRC" >> ~/.bash_profile 
> 
> 
> it work on that terminal only. cant access the gromacs from other 
> terminal. Could you tell me what is the problem of ? Thanks 
> 

Source only ever works on the shell in which it is run. Setting up your 
profile to source automatically solves the problem for each new shell, and 
not any existing ones. 

Mark
-- 
gmx-users mailing listgmx-users@gromacs.org
http://lists.gromacs.org/mailman/listinfo/gmx-users
* Please search the archive at 
http://www.gromacs.org/Support/Mailing_Lists/Search before posting!
* Please don't post (un)subscribe requests to the list. Use the 
www interface or send it to gmx-users-requ...@gromacs.org.
* Can't post? Read http://www.gromacs.org/Support/Mailing_Lists

Re: [gmx-users] setting the gromacs 4.6.1 path

2013-03-12 Thread Mark Abraham
On Tue, Mar 12, 2013 at 11:14 AM, 라지브간디  wrote:

> dear gmx.
>
>
> i am having a problem of setting the path as mentioned in gromacs manual
> 4.6.1 version.
>
>
> I used
>
>
> source /usr/local/gromacs/bin/GMXRC
>
>
> bash: goto: command not found..
>

What is your terminal? What is its version? You might need to update that
if it's truly ancient. Otherwise, your bash shell is probably erroneously
setting the variable "shell", which it should not do. This foils the
GROMACS detection of which shell you are running. If you can't fix that,
you should source whichever of GMXRC.csh, GMXRC.bash or GMXRC.ksh is
applicable.

when i use
>
>
> echo "source /usr/local/gromacs/bin/GMXRC" >> ~/.bash_profile
>
>
> it work on that terminal only. cant access the gromacs from other
> terminal. Could you tell me what is the problem of ? Thanks
>

Source only ever works on the shell in which it is run. Setting up your
profile to source automatically solves the problem for each new shell, and
not any existing ones.

Mark
--
gmx-users mailing listgmx-users@gromacs.org
http://lists.gromacs.org/mailman/listinfo/gmx-users
* Please search the archive at 
http://www.gromacs.org/Support/Mailing_Lists/Search before posting!
* Please don't post (un)subscribe requests to the list. Use the
www interface or send it to gmx-users-requ...@gromacs.org.
* Can't post? Read http://www.gromacs.org/Support/Mailing_Lists


[gmx-users] setting the gromacs 4.6.1 path

2013-03-12 Thread 라지브간디
dear gmx.


i am having a problem of setting the path as mentioned in gromacs manual 4.6.1 
version.


I used 


source /usr/local/gromacs/bin/GMXRC


bash: goto: command not found..


when i use


echo "source /usr/local/gromacs/bin/GMXRC" >> ~/.bash_profile


it work on that terminal only. cant access the gromacs from other terminal. 
Could you tell me what is the problem of ? Thanks

-- 
gmx-users mailing listgmx-users@gromacs.org
http://lists.gromacs.org/mailman/listinfo/gmx-users
* Please search the archive at 
http://www.gromacs.org/Support/Mailing_Lists/Search before posting!
* Please don't post (un)subscribe requests to the list. Use the 
www interface or send it to gmx-users-requ...@gromacs.org.
* Can't post? Read http://www.gromacs.org/Support/Mailing_Lists