[Mesa-users] MESA R11701 installation on MAC OSX High Sierra
Francis Timmes
fxt44 at mac.com
Tue Jul 2 13:52:03 EDT 2019
i'm glad it was resolved even if why remains a mystery.
simply moving (or deleting) the old mesasdk is sufficient,
so there is no need for an uninstall command.
personally, i keep many mesasdk and softlink to the one i want/need to use:
% cd /Appplications
% ls -lhd mesasdk*
lrwxr-xr-x 1 fxt admin 33B Apr 20 14:27 mesasdk@ -> /Applications/mesasdk_10.10-10.14
drwxr-xr-x@ 9 fxt staff 288B Apr 8 19:48 mesasdk_10.10-10.14/
drwxr-xr-x@ 10 fxt staff 320B Aug 28 2015 mesasdk_10.10-20150827/
drwxr-xr-x@ 11 fxt staff 352B Jan 30 2016 mesasdk_10.10-20160129/
drwxr-xr-x@ 10 fxt staff 320B Apr 5 2016 mesasdk_10.10-20160404/
drwxr-xr-x@ 10 fxt staff 320B Aug 2 2017 mesasdk_10.12-20170802/
drwxr-xr-x@ 10 fxt staff 320B Sep 21 2017 mesasdk_10.12-20170921/
drwxr-xr-x@ 11 fxt staff 352B Jan 27 2018 mesasdk_10.12-20180127/
drwxr-xr-x@ 11 fxt staff 352B Oct 7 2018 mesasdk_10.14-20181007/
drwxr-xr-x@ 11 fxt staff 352B Oct 9 2018 mesasdk_10.14-20181009/
drwxr-xr-x@ 11 fxt staff 352B Mar 15 10:32 mesasdk_10.14-20190315/
taking care to open a new terminal window if i chnage the softlink so that things get initialized correctly.
fxt
> On Jul 2, 2019, at 10:35 AM, Jayashree Toraskar <toraskar at amnh.org> wrote:
>
> Hello Everyone,
>
> I was finally able to install the latest version of Mesa, by creating a new user account. The installation went on smoothly.
>
> My old account had older version of Mesa. I do not know if you have uninstall mesa command. I generally move old mesasdk, and try to install new version. If there is an unistall command, I would like to know.
>
> Thank you.
>
> Jayashree Toraskar
> From: Jayashree Toraskar
> Sent: Monday, June 24, 2019 12:50:25 PM
> To: Francis Timmes
> Cc: mesa-users; Russell Maggio
> Subject: Re: [Mesa-users] MESA R11701 installation on MAC OSX High Sierra
>
> Thank you for your reply, your patience is greatly appreciated.
>
>
> We are still getting the same error message.
>
> We are running Mac OS 10.13.4 High Sierra
>
> 1) We installed Fortran 8.3.0 and confirmed this with gfortran --version
> 2) which make shows /usr/bin/make
> 3) xcode-select --install indicates
> xcode-select: error: command line tools are already installed
> 4) We downloaded MESA SDK from http://www.astro.wisc.edu/~townsend/static.php?ref=mesasdk and expanded mesasdk-x86_64-osx-10.10-10.14-20190503.dmg into the /Applications folder as mesasdk
> 5) We applied export commands and source as follows:
> [toraskar at jayashree ~/Desktop]$export MESASDK_ROOT=/Applications/mesasdk
> [toraskar at jayashree ~/Desktop]$source $MESASDK_ROOT/bin/mesasdk_init.sh
> -bash: /Applications/mesasdk/bin/mesasdk_init.sh: line 57: syntax error: unexpected end of file
> [toraskar at jayashree ~/Desktop]$export MESA_DIR=/Users/toraskar/Desktop/mesa-r11701
> [toraskar at jayashree ~/Desktop]$export OMP_NUM_THREADS=2
> [toraskar at jayashree ~/Desktop]$export PGPLOT_DIR="${MESASDK_ROOT}/pgplot"
> [toraskar at jayashree ~/Desktop]$export PGPLOT_FONT="${MESASDK_ROOT}/pgplot/grfont.dat"
>
> We received error:
> /Applications/mesasdk/bin/mesasdk_init.sh: line 57: syntax error: unexpected end of file
>
> Here is Line 57:
> export MESASDK_VERSION=`${MESASDK_ROOT}/bin/mesasdk_version`
>
> We manually executed this with the correct version number:
> x86_64-osx-10.10-10.14-20190503
>
>
> 6) We downloaded release 11701 and unzipped onto the /Users/toraskar/Desktop/mesa-r11701
>
> 7) Then went to the $MESA_DIR and did ./install
>
> 8) the error returned is:
>
> [toraskar at jayashree ~/Desktop/mesa-r11701]$./install
>
> /Users/toraskar/Desktop/mesa-r11701/const
> building const package.
>
> ../../utils/makefile_header:30: *** The MESASDK has not been initialized. Stop.
>
> /Users/toraskar/Desktop/mesa-r11701/const/make
> FAILED
>
>
> /Users/toraskar/Desktop/mesa-r11701/const
> ./build_and_test FAILED
>
> [toraskar at jayashree ~/Desktop/mesa-r11701]$
>
> Jayashree Toraskar
> mad star - MESA SDK
> www.astro.wisc.edu
> MESA SDK. The MESA SDK is a collection of compilers and run-time libraries that make it easy to install and use the MESA stellar evolution code.
>
> From: Francis Timmes <fxt44 at mac.com>
> Sent: Wednesday, June 19, 2019 9:58:17 AM
> To: Jayashree Toraskar
> Cc: Frank Timmes; mesa-users
> Subject: Re: [Mesa-users] MESA R11701 installation on MAC OSX High Sierra
>
> please follow all the directions given at
>
> https://nam04.safelinks.protection.outlook.com/?url=http:%2F%2Fwww.astro.wisc.edu%2F~townsend%2Fstatic.php%3Fref%3Dmesasdk%23Mac_OS_X&data=01%7C01%7Ctoraskar%40amnh.org%7C29cd427090ec4516dd1c08d6f4be3066%7Cbe0003e8c6b9496883aeb34586974b76%7C0&sdata=QztQlBLVJTRvHqoYCgSZYyS5JhRJb2GyaunuN9FzPz0%3D&reserved=0
>
> including installing xcode, setting your shell environment variables, etc.
>
> fxt
>
>
>
>
> > On Jun 19, 2019, at 4:04 AM, Jayashree Toraskar <toraskar at amnh.org> wrote:
> >
> > Hi Richard,
> >
> > which make gives /usr/bin/make
> >
> > We did also xcode-select --install
> >
> > I will try again with fortran 8.3 and let you know the results.
> >
> > Thank you.
> >
> > Jayashree
> > From: RICHARD H D TOWNSEND <townsend at astro.wisc.edu>
> > Sent: Tuesday, June 18, 2019 10:09:37 PM
> > To: Jayashree Toraskar
> > Cc: mesa-users
> > Subject: Re: [Mesa-users] MESA R11701 installation on MAC OSX High Sierra
> >
> > Hi Jayashree --
> >
> > The 20190503 release of the SDK ships with GNU Fortran 8.3.0, not 8.1.0 -- therefore, I wonder whether you have initialized it properly.
> >
> > But that may not be the problem here. Can you run 'which make'? If there is no output from this command, then it's likely you haven't installed the xcode command-line tools. To do this, run
> >
> > xcode-select --install
> >
> > Regards,
> >
> > Rich
> >
> > > On Jun 18, 2019, at 7:03 PM, Jayashree Toraskar <toraskar at amnh.org> wrote:
> > >
> > > Dear Mesa Users
> > >
> > > I am running Mac OS 10.13.4 High Sierra, with MESA version 11701 downloaded., MESA SDK version mesasdk-x86 64-osx-10.10-10.14-20190503.dmg installed, Fortran version GNU Fortran (GCC) 8.1.0.
> > >
> > > When I try ./install from mesa directory I get following error message
> > >
> > >
> > > /Users/toraskar/Desktop/mesa-r11701/const/make
> > > FAILED
> > >
> > > /Users/toraskar/Desktop/mesa-r11701/const
> > > ./build_and_test FAILED
> > >
> > > Thank you kindly for any assistance or leads you can offer.
> > >
> > > Jayashree Toraskar
> > > American Museum of Natural History
> > > New York
> > >
> > >
> > > _______________________________________________
> > > mesa-users at lists.mesastar.org
> > > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.mesastar.org%2Fmailman%2Flistinfo%2Fmesa-users&data=01%7C01%7Ctoraskar%40amnh.org%7C29cd427090ec4516dd1c08d6f4be3066%7Cbe0003e8c6b9496883aeb34586974b76%7C0&sdata=G96vwjSqb3EmJGC8k9GnXkXJamULOCU8CchHBoHMoQs%3D&reserved=0
> >
> > _______________________________________________
> > mesa-users at lists.mesastar.org
> > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.mesastar.org%2Fmailman%2Flistinfo%2Fmesa-users&data=01%7C01%7Ctoraskar%40amnh.org%7C29cd427090ec4516dd1c08d6f4be3066%7Cbe0003e8c6b9496883aeb34586974b76%7C0&sdata=G96vwjSqb3EmJGC8k9GnXkXJamULOCU8CchHBoHMoQs%3D&reserved=0
More information about the Mesa-users
mailing list