[gmx-users] Environmental variable setting for gmx 5.0.4

Peter Kroon p.c.kroon at rug.nl
Wed Apr 1 10:35:05 CEST 2015



On 04/01/2015 10:20 AM, yoochan wrote:
> Hi RJ,
>
> I think you need to inscribe 'source command' in your bash file.
>
> In case of Ubuntu environment, If you insert 'source command' for /etc/bash.bashrc, you can do use gromacs in all terminals without  typing source command.
This would affect all users on the system. If you add 'source
/usr/local/gromacs/bin/GMXRC' to the file ~/.bashrc it will only affect
your user.

Good luck,
Peter

>
> You don’t need to set your PATH as you mentioned earlier.
>
> Yoochan
>
>> On Apr 1, 2015, at 2:35 PM, RJ <rajiv at kaist.ac.kr> wrote:
>>
>> Dear gmx,
>> I have installed the gmx in my ubuntu and centos system and tried to set the environmental variable path in-order to use without mentioning the source commend in my terminal of linux.
>>
>>
>> I tried to set my path as follows but couldn't success it.
>>
>>
>> export PATH=/usr/local/gromacs/bin/:$PATH
>>
>>
>> my "which gmx" shows the following installed path 
>>
>>
>> /usr/local/gromacs/bin//gmx
>>
>>
>> I only able to obtain the gmx as every time by mentioning "source /usr/local/gromacs/bin/GMXRC"
>>
>>
>> Please advice me how do make gmx to work in default in all terminal ? 
>> -- 
>> Gromacs Users mailing list
>>
>> * Please search the archive at http://www.gromacs.org/Support/Mailing_Lists/GMX-Users_List before posting!
>>
>> * Can't post? Read http://www.gromacs.org/Support/Mailing_Lists
>>
>> * For (un)subscribe requests visit
>> https://maillist.sys.kth.se/mailman/listinfo/gromacs.org_gmx-users or send a mail to gmx-users-request at gromacs.org.




More information about the gromacs.org_gmx-users mailing list