[Mesa-users] MESA install issues
Warrick Ball
W.H.Ball at bham.ac.uk
Fri Oct 11 03:42:33 EDT 2019
Hi Adam,
First, welcome, and thanks for actually providing all the information
requested for install issues!
The main problem is that the `$MESASDK_ROOT` environment variable doesn't
point to where you've actually put the MESA SDK. These lines in the build
log show that the compiler can't find anything under
`$MESASDK_ROOT/include`:
f951: Warning: Nonexistent include directory '/mesasdk/include' [-Wmissing-include-dirs]
>From your `$PATH` variable, it looks like you've tried to load the SDK
several times in two different places so I'm not sure if you've actually
installed it to
/home/adam_passmore/mesasdk
or
/MESA/mesasdk
>From the `gfortran -v` output, I'd say you've installed it in
`/home/adam_passmore/mesasdk`. To be sure, try running `which gfortran`,
which tells you where the system is finding the `gfortran` executable and
thus where the SDK has actually ended up. I expect the output will be
$ which gfortran
/home/adam_passmore/mesasdk/bin/gfortran
Assuming I've got the path right, try setting `MESASDK_ROOT` to that path
with e.g.
export MESASDK_ROOT=/home/adam_passmore/mesasdk
then going to your top-level MESA directory (e.g. `cd $MESA_DIR`) and
running `./touch` and `./install`.
More broadly, I suspect that you've gotten confused about paths starting
from the root folder `/` and those in your own home folder. You're better
off with the MESA SDK somewhere under your home folder (as you've
ultimately done, I think). If you want to refer to your home folder
easily on the command line, you can (probably) use the shorthand `~`. i.e.
I think you've installed the SDK to `~/mesasdk`.
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, 11 Oct 2019, mesa-users at lists.mesastar.org wrote:
>
> MESA version: Most recent as of 10/10/19 - 12115
>
> MESA SDK Version: mesasdk-x86_64-linux-20190830.tar.gz
>
> Custom built PC, Partitioned hard drive (Windows/ Linux), Specs well exceed those required.
>
>
> uname -a Yields:
>
> Linux adam-MS-7978 5.0.0-29-generic #31~18.04.1-Ubuntu SMP Thu Sep 12 18:29:21 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
>
> gfortran -v Yields:
> Using built-in specs.
> COLLECT_GCC=/home/adam_passmore/mesasdk/bin/gfortran.exec
> COLLECT_LTO_WRAPPER=/home/adam_passmore/mesasdk/bin/../libexec/gcc/x86_64-pc-linux-gnu/9.2.0/lto-wrapper
> Target: x86_64-pc-linux-gnu
> Configured with: /root/sdk2/build/gcc/configure CC= --build=x86_64-pc-linux-gnu --prefix=/root/mesasdk --with-gmp=/root/mesasdk --with-mpfr=/root/mesasdk --with-mpc=/root/mesasdk --enable-languages=c,c++,for
> tran --disable-multilib --disable-nls --disable-libsanitizer --enable-clocale=generic
> Thread model: posix
> gcc version 9.2.0 (GCC)
>
> echo $MESASDK_ROOT Yields:
> /mesasdk
>
> echo $PATH Yields:
> /home/adam_passmore/mesasdk/bin:/MESA/mesasdk/bin:/MESA/mesasdk/bin:/MESA/mesasdk/bin:/MESA/mesasdk/bin:/MESA/mesasdk/bin:/MESA/mesasdk/bin:/MESA/mesasdk/bin:/MESA/mesasdk/bin:/MESA/mesasdk/bin:/MESA/mesasdk
> /bin:/MESA/mesasdk/bin:/MESA/mesasdk/bin:/MESA/mesasdk/bin:/MESA/mesasdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
>
> echo $MESA_DIR Yields:
> /home/adam_passmore/mesa-r12115
> Thank you in advance, I am relatively new to Linux and have spent a few hours tinkering with this now. I am really stuck.
> Kind regards, Adam.
>
>
More information about the Mesa-users
mailing list