[mesa-users] Mesa Not Installing On Yosemite
Max Katz
maxpkatz at gmail.com
Wed Jul 1 00:27:27 EDT 2015
Try giving yourself all the requisite permissions to edit it first:
chmod u+rwx ~/.bash_profile
Max Katz
Ph.D. Candidate, Department of Physics and Astronomy
Stony Brook University
http://astro.sunysb.edu/mkatz/
On Wed, Jul 1, 2015 at 12:04 AM, Glasman, Noah B <NBG4 at pitt.edu> wrote:
> So I do not have permission to do anything with the .bash_profile file
> no matter what I do.
>
>
> ------------------------------
> *From:* Tuguldur Sukhbold <tuguldur.s at gmail.com>
> *Sent:* Tuesday, June 30, 2015 10:47 PM
>
> *To:* Glasman, Noah B
> *Cc:* Josiah Schwab; mesa-users at lists.sourceforge.net
> *Subject:* Re: [mesa-users] Mesa Not Installing On Yosemite
>
> Noah,
>
> to put those in ~/.bash_profile you need to open it first with a
> text-editor, like emacs or vim ...
>
> or since you're on a mac, do:
>
> open ~/.bash_profile
>
> and it will open it using the default text-editor.
>
> On Tue, Jun 30, 2015 at 7:38 PM, Glasman, Noah B <NBG4 at pitt.edu> wrote:
>
>> I am trying to put the 4 lines of code into the bash profile but I keep
>> getting a message for permission denied.
>>
>>
>> Last login: Tue Jun 30 22:37:37 on ttys000
>>
>> tests-MacBook-Pro:~ noahglasman$ ~/.bash_profile
>>
>> -bash: /Users/noahglasman/.bash_profile: Permission denied
>>
>> tests-MacBook-Pro:~ noahglasman$
>>
>>
>> Is this something I have to give permission too or is it something else?
>>
>>
>>
>> Sincerely,
>> Noah Glasma
>>
>>
>> ------------------------------
>> *From:* Tuguldur Sukhbold <tuguldur.s at gmail.com>
>> *Sent:* Tuesday, June 30, 2015 10:33 PM
>> *To:* Glasman, Noah B
>> *Cc:* Josiah Schwab; mesa-users at lists.sourceforge.net
>>
>> *Subject:* Re: [mesa-users] Mesa Not Installing On Yosemite
>>
>> Noah,
>>
>> those have to be in your shell startup file.
>> Just put these 4 lines in your ~/.bash_profile :
>>
>> export MESASDK_ROOT=/Applications/mesasdk
>>
>> source $MESASDK_ROOT/bin/mesasdk_init.sh
>>
>> export OMP_NUM_THREADS=2
>>
>> export MESA_DIR=~/mesa
>>
>>
>> and do:
>>
>> source ~/.bash_profile
>>
>>
>>
>> On Tue, Jun 30, 2015 at 7:26 PM, Glasman, Noah B <NBG4 at pitt.edu> wrote:
>>
>>> I have check and when I put in the code gfortran --version this is the
>>> message I get.
>>>
>>> Last login: Tue Jun 30 22:24:52 on ttys000
>>> tests-MacBook-Pro:~ noahglasman$ cd mesa-r7624
>>> tests-MacBook-Pro:mesa-r7624 noahglasman$ gfortran --version
>>> -bash: gfortran: command not found
>>> tests-MacBook-Pro:mesa-r7624 noahglasman$ export
>>> MESASDK_ROOT=/Applications/mesasdk
>>> tests-MacBook-Pro:mesa-r7624 noahglasman$ source
>>> $MESASDK_ROOT/bin/mesasdk_init.sh
>>> tests-MacBook-Pro:mesa-r7624 noahglasman$ gfortran --version
>>> GNU Fortran (GCC) 4.9.3 20150202 (prerelease)
>>> Copyright (C) 2014 Free Software Foundation, Inc.
>>>
>>> GNU Fortran comes with NO WARRANTY, to the extent permitted by law.
>>> You may redistribute copies of GNU Fortran
>>> under the terms of the GNU General Public License.
>>> For more information about these matters, see the file named COPYING
>>>
>>> tests-MacBook-Pro:mesa-r7624 noahglasman$
>>>
>>> So from what it looks I believe the sdk is properly installed.
>>>
>>> Sincerely,
>>> Noah Glasman
>>>
>>> ________________________________________
>>> From: Josiah Schwab <jwschwab at berkeley.edu>
>>> Sent: Tuesday, June 30, 2015 10:15 PM
>>> To: Glasman, Noah B
>>> Cc: mesa-users at lists.sourceforge.net
>>> Subject: Re: [mesa-users] Mesa Not Installing On Yosemite
>>>
>>> Hello Noah,
>>>
>>> I subscribed you to mesa-users so that your future messages will not
>>> need to be moderated.
>>>
>>> > gfortran -fno-range-check -fmax-errors=100 -fprotect-parens
>>> -fno-sign-zero -fopenmp -I../public -I../private -I../../include
>>> -Wunused-value -Werror -W -Wno-compare-reals -Wno-unused-parameter
>>> -fimplicit-none -O2 -c -ffree-form -x f95-cpp-input
>>> ../public/const_def.f90
>>> >
>>> > make: gfortran: No such file or directory
>>>
>>> Have you followed the instructions about initializing the SDK?
>>>
>>> http://www.astro.wisc.edu/~townsend/static.php?ref=mesasdk#Installation_2
>>>
>>> This error indicates that gfortran is not being found in your PATH,
>>> which should not happen if you have correctly set things up.
>>>
>>> Josiah
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Don't Limit Your Business. Reach for the Cloud.
>>> GigeNET's Cloud Solutions provide you with the tools and support that
>>> you need to offload your IT needs and focus on growing your business.
>>> Configured For All Businesses. Start Your Cloud Today.
>>> https://www.gigenetcloud.com/
>>> _______________________________________________
>>> mesa-users mailing list
>>> mesa-users at lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/mesa-users
>>>
>>
>>
>
>
> ------------------------------------------------------------------------------
> Don't Limit Your Business. Reach for the Cloud.
> GigeNET's Cloud Solutions provide you with the tools and support that
> you need to offload your IT needs and focus on growing your business.
> Configured For All Businesses. Start Your Cloud Today.
> https://www.gigenetcloud.com/
> _______________________________________________
> mesa-users mailing list
> mesa-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mesa-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20150701/9a9f072c/attachment.html>
More information about the Mesa-users
mailing list