[Mesa-users] Problem with MESA installation

Francis Timmes fxt44 at mac.com
Thu Sep 9 14:25:49 UTC 2021


sometimes it can be helpful to follow along a video:

Installing MESA on osx - 2020 edition 

https://youtu.be/mr_A0XrGqNA

fxt






> On Sep 9, 2021, at 7:10 AM, Rob Farmer via Mesa-users <mesa-users at lists.mesastar.org> wrote:
> 
> Okay please stop and do not delete things as mesa logs data during installation (in the build.log file) that would be very helpful at this point to diagnose what is going on.
> 
> Please carefully read the instructions here http://mesa.sourceforge.net/prereqs.html on how to install MESA.
> 
> Please stop using whatever that graphical tool you are trying to use, that is giving you the message about the mesa installation being incomplete. That is not a tool released by the MESA team and we don't support it. 
> 
> Instead try installing MESA by just using a terminal and the command line.
> 
> Please read the instructions here http://mesa.sourceforge.net/troubleshooting.html on how to send a useful request for help (that is telling us what mesa version, sdk version and OS you are using as you did not previously mention you are on a Mac). If you are on a newer Mac you can not use the older versions of the sdk, so try the newest SDK.
> 
> Rob
> 
> 
> On Thu, 9 Sept 2021 at 15:29, Elisa Rita Garro <elisa_garro at libero.it> wrote:
> Dear Rob,
> Yesterday I deleted everything concerning mesa in order to install both mesasdk and mesa again from the beginning today. Now, I downloaded the mesasdk-x86_64-macos-20.11.1.pkg and when I try to install it…the installation does not work saying me: "installer encountered an error that prevented installation. Contact the software manufacturer for assistance.” I have install/unistall it a couple of time but now I have a this new problem.  So you can imagine that neither the mesa installation works. 
> 
> I’m without words, I have never had this kind of problems during an installation of a software. It’s very strange!
> 
> Best,
> Elisa 
> 
>> Il giorno 09-09-2021, alle ore 12:22, Rob Farmer <robert.j.farmer37 at gmail.com> ha scritto:
>> 
>> >I did not understand what means: "You only need to source a file if you edit the file and save the variables in it. If you are just setting the variables in the terminal manually then you do not need to source anything.”
>> 
>> You wrote the line "source ~/.zshenv" but you do not need to do that at that point in time (as you clearly already had set all the variables needed,  as you had just echo 'ed them all). Running source ~/.zshenv is only needed if you had edited the file ~/.zshenv
>> 
>> You should have a file called build.log inside MESA_DIR. Please attach that.
>> 
>> Rob
>> 
>> On Wed, 8 Sept 2021 at 17:01, Elisa Rita Garro <elisa_garro at libero.it> wrote:
>> Ok sorry for that! Well, I think that the MESASDK version may be or the 20.11.1 or the 20.9.1, I have tried with all of Mesa version 12778. 
>> 
>> I did not understand what means: "You only need to source a file if you edit the file and save the variables in it. If you are just setting the variables in the terminal manually then you do not need to source anything.”
>> 
>> Best,
>> Elisa 
>> 
>>> Il giorno 08-09-2021, alle ore 16:50, Rob Farmer <robert.j.farmer37 at gmail.com> ha scritto:
>>> 
>>> Also please keep all messages on mesa-users
>>> 
>>> Rob
>>> 
>>> ---------- Forwarded message ---------
>>> From: Rob Farmer <robert.j.farmer37 at gmail.com>
>>> Date: Wed, 8 Sept 2021 at 16:50
>>> Subject: Re: [Mesa-users] Problem with MESA installation
>>> To: Elisa Rita Garro <elisa_garro at libero.it>
>>> 
>>> 
>>> Hi,
>>> Please send text rather than screenshots in the future. 
>>> 
>>> It's still not clear what that second screenshot tool is. But the thing to note is that those variables must be set in every terminal that uses mesa, that tool might not be inheriting the variables when it runs.
>>> 
>>> Also the first error is nothing to do with setting the mesa variables, it's hard to say without more information like the mesasdk version but i would guess you have a different mesasdk version as compared to what mesa 12778 was released with. So which mesasdk are you using?
>>> 
>>> You only need to source a file if you edit the file and save the variables in it. If you are just setting the variables in the terminal manually then you do not need to source anything.
>>> 
>>> Rob
>>> 
>>> 
>>> On Wed, 8 Sept 2021 at 16:24, Elisa Rita Garro <elisa_garro at libero.it> wrote:
>>> Dear Rob,
>>> Thanks for you reply. Well, I have set those environment variables, but the problem persists. Below the error that I read from the Terminal:
>>> 
>>> COMPILE_CMD ../private/eval_coulomb.f90
>>> COMPILE_CMD ../private/reaclib_eval.f90
>>> COMPILE_CMD ../private/reaclib_support.f90
>>> COMPILE_CMD ../private/pycno.f90
>>> ../private/suzuki_tables.f90:551:22:
>>> 
>>>   551 |            transfer((/ z'00000000', z'7ff80000' /),1.0_8)
>>>       |                      1
>>> Error: BOZ literal constant at (1) cannot appear in an array constructor
>>> ../private/suzuki_tables.f90:612:30:
>>> 
>>>   612 |          table % data = d_qnan
>>>       |                              1
>>> Error: Symbol 'd_qnan' at (1) has no IMPLICIT type
>>> COMPILE_CMD ../private/screen5.f90
>>> make: *** [suzuki_tables.o] Error 1
>>> make: *** Waiting for unfinished jobs....
>>> 
>>> /Users/elisagarro/Software/mesa-r12778/rates/make
>>> FAILED
>>> 
>>> 
>>> /Users/elisagarro/Software/mesa-r12778/rates
>>> ./build_and_test FAILED
>>> 
>>> 
>>> 
>>> And attached there is the probe (a screenshot) that I set them. However my issues is that maybe I have not the zshenv.<Schermata 2021-09-08 alle 16.23.35.png>
>>>> Il giorno 08-09-2021, alle ore 16:20, Rob Farmer <robert.j.farmer37 at gmail.com> ha scritto:
>>>> 
>>>> Hi
>>>> I'm not sure what instructions your are following, but the messages are clear you need to set the environment variables MESASDK_ROOT, MESA_DIR, and OMP_NUM_THREADS
>>>> 
>>>> See http://mesa.sourceforge.net/prereqs.html#set-your-environment-variables
>>>> 
>>>> Rob
>>>> 
>>>> On Wed, 8 Sept 2021 at 11:58, Elisa Rita Garro via Mesa-users <mesa-users at lists.mesastar.org> wrote:
>>>> Dear MESA-users,
>>>> I’m Elisa and I want to install the MESA for a summer school. But, I need your help because I’m unable to fix my problems. I follow your instructions step-by-step but at the end the main problems are: 
>>>> 
>>>> MESA SDK error: path to MESA SDK unknown. Please export the "MESASDK_ROOT" environmental variable.
>>>> MESA error: path to MESA unknown. Please export the "MESA_DIR" environmental variable.
>>>> OpenMP error: Please specify the available number of threads for OpenMP by exporting the "OMP_NUM_THREADS" environmental variable.
>>>> Python version: okay
>>>> Python error: package "mesa_reader" is NOT installed
>>>> Python error: package "mkipp" is NOT installed
>>>> 
>>>> I don’t understand how to resolve them!
>>>> 
>>>> Let me know if you can help.
>>>> 
>>>> Best regards,
>>>> Elisa 
>>>> _______________________________________________
>>>> mesa-users at lists.mesastar.org
>>>> https://lists.mesastar.org/mailman/listinfo/mesa-users
>>>> 
>>> 
>> 
> 
> _______________________________________________
> mesa-users at lists.mesastar.org
> https://lists.mesastar.org/mailman/listinfo/mesa-users
> 



More information about the Mesa-users mailing list