[mesa-users] ~/.profile

Rob.Farmer Rob.Farmer at open.ac.uk
Tue Apr 16 12:58:07 EDT 2013


Well you can allways make a file ~/.bash_profile to put it in

Otherwise you'll need to add source ~/.profile to either ~/.bashrc or ~/.bash_login 

Its only automatic if the source command is in a file bash reads when it starts up 
https://www.gnu.org/software/bash/manual/html_node/Bash-Startup-Files.html

According to here
http://savage.net.au/Linux/html/bash.files.html

if you have either ~/.bash_profile OR ~/.bash_login defined then ~/.profile wont be read

Rob
________________________________________
From: Jaime Villaseñor [jaime.villasr at gmail.com]
Sent: 16 April 2013 17:21
To: Rob.Farmer; tassosfragos at me.com
Cc: mesa-users at lists.sourceforge.net
Subject: Re: [mesa-users] ~/.profile

I couldn't find  ~/.bash_profile, so I did it in  ~/.profile
When I run "source  ~/.profile" it works but If I reboot the system, I need to run "source  ~/.profile" again.
It is not supossed to be automatic by just login in?

Thanks for your help.
Jaime


2013/4/16 Rob.Farmer <Rob.Farmer at open.ac.uk<mailto:Rob.Farmer at open.ac.uk>>
Hi

If your using bash you'll want in  ~/.bash_profile then you need to run source ~/.bash_profile to load the variables in your current terminal or close the terminal and open a new one

Rob


________________________________________
From: Jaime Villaseñor [jaime.villasr at gmail.com<mailto:jaime.villasr at gmail.com>]
Sent: 16 April 2013 16:19
To: mesa-users at lists.sourceforge.net<mailto:mesa-users at lists.sourceforge.net>
Subject: [mesa-users] ~/.profile

Hi mesa users:

I want to add;

export MESASDK_ROOT=~/mesasdk
source $MESASDK_ROOT/bin/mesasdk_init.sh

to my ~/.profile (I'm using the bourne shell), so I don't have to write it every time. I put it at the end of the file but it's not working.
I'm editing the profile file located at my personal folder. Perhaps it's not the right one?

And one more question, in the how to use MESA star doc, it says "The README in test_suite has a list of the tests with a few words of explanation for each", however, in my README there is not such information. Is there another place where I can find this information?

Thank you for any help you can give me.
Regards, Jaime.

--
Jaime Villaseñor Riquelme
Estudiante de Magíster en Astrofísica
Universidad de Valparaíso


--
The Open University is incorporated by Royal Charter (RC 000391), an exempt charity in England & Wales and a charity registered in Scotland (SC 038302).




--
Jaime Villaseñor Riquelme
Estudiante de Magíster en Astrofísica
Universidad de Valparaíso





More information about the Mesa-users mailing list