[Mesa-users] Fw: errors installing MESA

Ramesh, Eric cedric.ramesh at und.edu
Sun Oct 11 16:44:14 EDT 2020


Hello,

Thank you. I am not getting any errors when I run

source $MESASDK_ROOT/bin/mesasdk_init.sh

I also have all the dependencies installed.

I followed the link you gave, and reinstalled the build-essential package, and it seemed to work!
Except now I am getting this error:
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 12 at (1)
../src/opal_eval.f:754:132:

  754 |    13 dfsr(i)=1./(rho(i)-rho(i-1))
      |                                                                                                                                    1
Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 13 at (1)
TEST_COMPILE ../src/eos_support.f
TEST_COMPILE ../src/test_eos_support.f
TEST_COMPILE ../src/test_eos.f
LOADER ../tester
/usr/bin/ld: cannot find -lz
collect2: error: ld returned 1 exit status
make: *** [makefile_base:68: ../tester] Error 1

/home/ericorion555/MESA/mesa-r12115/eos/test
FAILED

So not been able to install still...
-Eric

________________________________
From: Rob Farmer <r.j.farmer at uva.nl>
Sent: Sunday, October 11, 2020 2:19 PM
To: Ramesh, Eric <cedric.ramesh at und.edu>
Cc: Mesa-users <mesa-users at lists.mesastar.org>
Subject: Re: [Mesa-users] Fw: errors installing MESA

Hi,
Your build.log file has:

>/usr/bin/ld: cannot find crt1.o: No such file or directory
/usr/bin/ld: cannot find crti.o: No such file or directory
/usr/bin/ld: cannot find -lm
collect2: error: ld returned 1 exit status

Which is a similar issue to this one:
https://lists.mesastar.org/pipermail/mesa-users/2019-October/010685.html

Did you get any error messages ran you ran:

source $MESASDK_ROOT/bin/mesasdk_init.sh



Also can you try installing a system gcc/gfortran through the ubuntu package manager? While mesa ships an sdk to compile mesa with, this does assume a certain set of system packages already installed. Also double check that you have installed all the dependencies listed in http://www.astro.wisc.edu/~townsend/static.php?ref=mesasdk#Prerequisites

Rob


On Sun, 11 Oct 2020 at 21:45, Ramesh, Eric <cedric.ramesh at und.edu<mailto:cedric.ramesh at und.edu>> wrote:
Hello,

I cannot get MESA to install.
I am running Windows 10 w/ Oracle VirtualBox, on a DELL Laptop.
I have tried both the latest MESA version (12778) and the previous (12115).

I double checked that all my required packages are installed, with environment variables set correctly.
It gives following errors, also says tester program does not exist.

/home/ericorion555/MESA/mesa-r12115/const
building const package.

MAKEDEPF90
COMPILE_CMD ../public/const_def.f90
COMPILE_CMD ../public/const_lib.f90
LIB_TOOL libconst.a
MAKEDEPF90
TEST_COMPILE ../src/test_const.f
LOADER ../tester
/usr/bin/ld: cannot find crt1.o: No such file or directory
/usr/bin/ld: cannot find crti.o: No such file or directory
/usr/bin/ld: cannot find -lm
collect2: error: ld returned 1 exit status
make: *** [makefile_base:36: ../tester] Error 1

/home/ericorion555/MESA/mesa-r12115/const/test
FAILED


/home/ericorion555/MESA/mesa-r12115/const
./build_and_test FAILED

Please help?
Much thanks,
Eric
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20201011/48ea16d1/attachment.htm>


More information about the Mesa-users mailing list