[Mesa-users] Problem with MESA installation

Wolf, William M WOLFWM at uwec.edu
Thu Sep 9 14:23:15 UTC 2021


The SDK must be installed via a graphical tool on macs, as that is the official distribution of the SDK. It uses Apple’s packaging tool, so that message could be the case if there is a problem installing software… perhaps a missing prerequisite or something? Or as Rob mentions, if you are using a mac with an M1 chip, things will be a little more challenging, but still doable with the latest SDK.

Ensure you meet the SDK’s prerequisites: confirm that you have installed the Xcode command-line tools with `xcode-select —install`, and also install XQuartz.

Without more detailed information, I must echo Rob’s advice. Follow the instructions at the SDK website and the the mesa prereqs and installation page very carefully, and stick to the most recent SDK for the mac platform (currently 21.4.1).

Regards,

Bill
On Sep 9, 2021, 9:12 AM -0500, 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<https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Fmesa.sourceforge.net%2Fprereqs.html&data=04%7C01%7Cwolfwm%40uwec.edu%7C2eac85ed3b2744f1b05708d9739ba68e%7Cdd068b97759349388b3214faef2af1d8%7C0%7C0%7C637667935453506460%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=DX%2BM5PwurL9BcSrOk4Hzlmns%2ByFVmXaSxK2DzmoNux0%3D&reserved=0> 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<https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Fmesa.sourceforge.net%2Ftroubleshooting.html&data=04%7C01%7Cwolfwm%40uwec.edu%7C2eac85ed3b2744f1b05708d9739ba68e%7Cdd068b97759349388b3214faef2af1d8%7C0%7C0%7C637667935453516452%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=bdNfgRTLmUWVNXk1YPOfzIOHabr7rYVRkA1GUGrEKvg%3D&reserved=0> 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<mailto: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<mailto: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<mailto: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<mailto: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<mailto: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<mailto: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<mailto: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<mailto: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<https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Fmesa.sourceforge.net%2Fprereqs.html%23set-your-environment-variables&data=04%7C01%7Cwolfwm%40uwec.edu%7C2eac85ed3b2744f1b05708d9739ba68e%7Cdd068b97759349388b3214faef2af1d8%7C0%7C0%7C637667935453526444%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=4oUQE0iLKnrzqy3Uhb7zF5cZJYPqBYQsTtNCjUMY90o%3D&reserved=0>

Rob

On Wed, 8 Sept 2021 at 11:58, Elisa Rita Garro via Mesa-users <mesa-users at lists.mesastar.org<mailto: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<mailto:mesa-users at lists.mesastar.org>
https://lists.mesastar.org/mailman/listinfo/mesa-users<https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.mesastar.org%2Fmailman%2Flistinfo%2Fmesa-users&data=04%7C01%7Cwolfwm%40uwec.edu%7C2eac85ed3b2744f1b05708d9739ba68e%7Cdd068b97759349388b3214faef2af1d8%7C0%7C0%7C637667935453526444%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=9Ryv2Ap%2BYEgQbuSgQSYL9JK7397Dsdr3bhgE%2BNwNI9w%3D&reserved=0>




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20210909/17bfbd38/attachment.htm>


More information about the Mesa-users mailing list