[Mesa-users] Problem with MESA installation

Rob Farmer robert.j.farmer37 at gmail.com
Thu Sep 9 10:22:20 UTC 2021


>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
>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20210909/cfea64bb/attachment.htm>


More information about the Mesa-users mailing list