[Mesa-users] Installation problem
Nor Sofiah Ahmad
norsastrophysics2611 at yahoo.com
Thu Jan 20 01:25:04 UTC 2022
Dear Warrick
Sorry for the late response, and thank you for your help and explanations. Finally, successfully install MESA in my machine. I re-install back all the prerequisites needed for ubuntu20.04 and set the mesasdk first and then continue with MESA. Thanks for the explanation again.
Best Regards,
Nor Sofiah Ahmad
On Saturday, January 15, 2022, 06:55:23 PM GMT+8, Warrick Ball <w.h.ball at bham.ac.uk> wrote:
Hi Nor,
I set up an Ubuntu 20.04 virtual machine last night and had no problem installing MESA with SDK 21.4.1 after installing the SDK prerequisites.
I searched some of the terms from your error message on the mailing list archive and found this post:
https://lists.mesastar.org/pipermail/mesa-users/2015-June/005297.html
where the problem was resolved by installing `binutils`. Are you sure you've installed `binutils`? I'm suspicious because your screenshot shows some `apt` output that includes
The following packages were automatically installed and are no longer required:
binutils-common binutils-x86-64-linux-gnu libbinutils libctf-nobfd0 libctf0
I looked at the dependencies for `binutils` on the Ubuntu package index:
https://packages.ubuntu.com/bionic/binutils
and they include `binutils-common`. That `apt` thinks its no longer required suggests to me that you haven't installed `binutils` (or perhaps accidentally removed it).
Cheers,
Warrick
___________
Warrick Ball
Postdoc, School of Physics and Astronomy
University of Birmingham, Edgbaston, Birmingham B15 2TT
W.H.Ball at bham.ac.uk
+44 (0)121 414 4552
On Sat, 15 Jan 2022, norsastrophysics2611 at yahoo.com wrote:
> After install all the prerequisites as shown in mesasdk page, I still got an error below:
>
>
> *** Copy and paste the following information into your email to mesa-users ***
>
> MESA Version
> 15140
>
> uname -a
> Linux physics 5.11.0-46-generic #51~20.04.1-Ubuntu SMP Fri Jan 7 06:51:40 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
>
> gfortran -v
> Using built-in specs.
> COLLECT_GCC=/home/neutrino/mesasdk/bin/gfortran.exec
> COLLECT_LTO_WRAPPER=/home/neutrino/mesasdk/bin/../libexec/gcc/x86_64-pc-linux-gnu/10.2.0/lto-wrapper
> Target: x86_64-pc-linux-gnu
> Configured with: /home/user/sdk2-tmp/build/gcc/configure CC= CXX= --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --target=x86_64-pc-linux-gnu --prefix=/home/user/sdk2-tmp/mesasdk --with-gmp=/home/user/sdk2-tmp/mesasdk
> --with-mpfr=/home/user/sdk2-tmp/mesasdk --with-mpc=/home/user/sdk2-tmp/mesasdk --enable-languages=c,c++,fortran --disable-multilib --disable-nls --disable-libsanitizer --enable-clocale=generic
> Thread model: posix
> Supported LTO compression algorithms: zlib
> gcc version 10.2.0 (GCC)
>
> $MESASDK_ROOT
> /home/neutrino/mesasdk
>
> MESASDK version
> x86_64-linux-21.4.1
>
> $PATH
> /home/neutrino/mesasdk/bin:/home/neutrino/mesasdk/bin:/home/neutrino/mesasdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
>
> $MESA_DIR
> /home/neutrino/mesa
>
>
> /home/neutrino/mesa/const
> building const package.
>
> MAKEDEPF90
> COMPILE_CMD ../public/const_def.f90
> gfortran.exec: error trying to exec 'as': execvp: No such file or directory
> make: *** [makefile_base:66: const_def.o] Error 1
>
> /home/neutrino/mesa/const/make
> FAILED
>
>
> /home/neutrino/mesa/const
> ./build_and_test FAILED
>
>
>
> and when I check on the gfortran version I had this
>
> Inline image
>
>
>
> Best Regards,
> Nor Sofiah Ahmad
>
>
> On Friday, January 14, 2022, 04:31:54 PM GMT+8, Warrick Ball <w.h.ball at bham.ac.uk> wrote:
>
>
> Hi,
>
> Have you installed all the prerequisites for the MESA SDK? They're listed here:
>
> http://www.astro.wisc.edu/~townsend/static.php?ref=mesasdk#Prerequisites
>
> Though I don't use Ubuntu myself, it looks (via the Debian package index) that `crti.o` and `crt1.o` are provided by the package `libc6-dev` (which is not listed as a prerequisite for Ubuntu), so try installing that.
>
> If installing `libc6-dev` solves the problem, we might need to add it to the list of prerequisites for Ubuntu. I'll have a look. (I notice it's already a prerequisite for Mint.)
>
> Cheers,
> Warrick
>
> ___________
>
> Warrick Ball
> Postdoc, School of Physics and Astronomy
> University of Birmingham, Edgbaston, Birmingham B15 2TT
> W.H.Ball at bham.ac.uk
> +44 (0)121 414 4552
>
> On Fri, 14 Jan 2022, mesa-users at lists.mesastar.org wrote:
>
> > Dear all,
> >
> > I would like to ask you about the installation problem on my Ubuntu 20.04 64bits with 16Gb memory and a processor Intel core i5-6500 CPU 3.20GHzx4 machine. After mesasdk installation, I tried to install mesa Version r21.12.1 with mesasdk 21.4.1
> > version and I got this error.
> >
> > *** Copy and paste the following information into your email to mesa-users ***
> >
> > MESA Version
> > 15140
> >
> > uname -a
> > Linux physics 5.11.0-46-generic #51~20.04.1-Ubuntu SMP Fri Jan 7 06:51:40 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
> >
> > gfortran -v
> > Using built-in specs.
> > COLLECT_GCC=/home/neutrino/mesasdk/bin/gfortran.exec
> > COLLECT_LTO_WRAPPER=/home/neutrino/mesasdk/bin/../libexec/gcc/x86_64-pc-linux-gnu/10.2.0/lto-wrapper
> > Target: x86_64-pc-linux-gnu
> > Configured with: /home/user/sdk2-tmp/build/gcc/configure CC= CXX= --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --target=x86_64-pc-linux-gnu --prefix=/home/user/sdk2-tmp/mesasdk --with-gmp=/home/user/sdk2-tmp/mesasdk
> > --with-mpfr=/home/user/sdk2-tmp/mesasdk --with-mpc=/home/user/sdk2-tmp/mesasdk --enable-languages=c,c++,fortran --disable-multilib --disable-nls --disable-libsanitizer --enable-clocale=generic
> > Thread model: posix
> > Supported LTO compression algorithms: zlib
> > gcc version 10.2.0 (GCC)
> >
> > $MESASDK_ROOT
> > /home/neutrino/mesasdk
> >
> > MESASDK version
> > x86_64-linux-21.4.1
> >
> > $PATH
> > /home/neutrino/mesasdk/bin:/home/neutrino/mesasdk/bin:/home/neutrino/mesasdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
> >
> > $MESA_DIR
> > /home/neutrino/mesa
> >
> >
> > /home/neutrino/mesa/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/neutrino/mesa/const/test
> > FAILED
> >
> >
> > /home/neutrino/mesa/const
> > ./build_and_test FAILED
> >
> >
> > Can anybody help me with this problem?
> >
> > Thanks
> > Best Regards,
> > Nor Sofiah Ahmad
> >
> >
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20220120/0e075630/attachment.htm>
More information about the Mesa-users
mailing list