[mesa-users] Mesa Not Installing On Yosemite
Richard Townsend
townsend at astro.wisc.edu
Wed Jul 1 13:53:35 EDT 2015
I don’t think using sudo is the right way to solve this problem. Rather, I’d like to understand why Noah can’t open the file.
Noah, can you post the output from ‘ls -l ~/.bash_profile’
cheers,
Rich
> On Jul 1, 2015, at 12:44 PM, Max Katz <maxpkatz at gmail.com> wrote:
>
> Alright; it's possible that the file isn't under your user's ownership. Try opening it using sudo, assuming you have root access to your machine:
>
> sudo open ~/.bash_profile
>
> Max Katz
> Ph.D. Candidate, Department of Physics and Astronomy
> Stony Brook University
> http://astro.sunysb.edu/mkatz/ <http://astro.sunysb.edu/mkatz/>
> On Wed, Jul 1, 2015 at 11:43 AM, Glasman, Noah B <NBG4 at pitt.edu <mailto:NBG4 at pitt.edu>> wrote:
> My .bash_profile still remains locked no matter what I do. It says I can only edit a copy of the file but the file itself.
>
>
>
> From: Glasman, Noah B <NBG4 at pitt.edu <mailto:NBG4 at pitt.edu>>
> Sent: Wednesday, July 1, 2015 7:38 AM
> To: Max Katz
>
> Cc: mesa-users at lists.sourceforge.net <mailto:mesa-users at lists.sourceforge.net>
> Subject: Re: [mesa-users] Mesa Not Installing On Yosemite
>
> I already tried the open ~./bash_profile thats how I found out I didn't have permission. Also would this give me permission to edit the Mesa file too? Because at the moment I can't even change the name of the file and couldn't even delete it when I was trying to redownloaded the code.
>
>
>
> Sent from my Verizon Wireless 4G LTE smartphone
> -------- Original message --------
> From: Max Katz <maxpkatz at gmail.com <mailto:maxpkatz at gmail.com>>
> Date: 07/01/2015 12:28 AM (GMT-05:00)
> To: "Glasman, Noah B" <NBG4 at pitt.edu <mailto:NBG4 at pitt.edu>>
> Cc: Tuguldur Sukhbold <tuguldur.s at gmail.com <mailto:tuguldur.s at gmail.com>>, mesa-users at lists.sourceforge.net <mailto:mesa-users at lists.sourceforge.net>
> Subject: Re: [mesa-users] Mesa Not Installing On Yosemite
>
> 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/ <http://astro.sunysb.edu/mkatz/>
> On Wed, Jul 1, 2015 at 12:04 AM, Glasman, Noah B <NBG4 at pitt.edu <mailto: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 <mailto: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 <mailto: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 <mailto: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 <mailto: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 <mailto: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 <mailto: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 <mailto:jwschwab at berkeley.edu>>
> Sent: Tuesday, June 30, 2015 10:15 PM
> To: Glasman, Noah B
> Cc: mesa-users at lists.sourceforge.net <mailto: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 <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/ <https://www.gigenetcloud.com/>
> _______________________________________________
> mesa-users mailing list
> mesa-users at lists.sourceforge.net <mailto:mesa-users at lists.sourceforge.net>
> https://lists.sourceforge.net/lists/listinfo/mesa-users <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/ <https://www.gigenetcloud.com/>
> _______________________________________________
> mesa-users mailing list
> mesa-users at lists.sourceforge.net <mailto:mesa-users at lists.sourceforge.net>
> https://lists.sourceforge.net/lists/listinfo/mesa-users <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/07840dde/attachment.html>
More information about the Mesa-users
mailing list