[Mesa-users] mesa ./install error

Warrick Ball W.H.Ball at bham.ac.uk
Fri Mar 26 08:16:55 UTC 2021


Hi Teagan,

I think you forgot to attach `build.log`, which might contain useful information.  It looks like the SDK is loaded correctly and you're running `./install` from the MESA directory, so the question now is why it doesn't think there's a `const` directory.

What are the directory contents of `$MESA_DIR`? (e.g. run `ls $MESA_DIR`) Is the `const` directory there?  If not, I suggest trying to extract the MESA archive again (i.e. start again from scratch) and watch out for errors when extracting the archive.

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, 26 Mar 2021, mesa-users at lists.mesastar.org wrote:

> Hi I am trying to install mesa for an assignment and am running into trouble when I try to do ./install
> - I am trying to install the latest version of mesa and mesasdk
> - I am using a virtual machine, running linux mint 20.1 , with a windows host machine 
> 
> Here's what I get when I run each command asked for on the website:
> uname -a
> Linux teagan-VirtualBox 5.4.0-58-generic #64-Ubuntu SMP Wed Dec 9 08:16:25 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
> gfortran -v
> Using built-in specs.
> COLLECT_GCC=/home/teagan/Documents/mesasdk/bin/gfortran.exec
> COLLECT_LTO_WRAPPER=/home/teagan/Documents/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= --build=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) 
> 
> echo $MESASDK_ROOT
> /home/teagan/Documents/mesasdk
> 
> echo $PATH
> /home/teagan/anaconda3/bin:/home/teagan/anaconda3/condabin:/home/teagan/Documents/mesasdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
> 
> echo $MESA_DIR
> /home/teagan/Documents/mesa-r15140
> 
> Finally the error message I am receiving is the following: 
> ./install: line 22: cd: const: No such file or directory
> 
> I have also attached the build log file. I think that's everything that was asked for on the website, but I'm happy to provide more information if needed. 
> I am quite inexperienced with unix and using/installing packages like this so hoping I've just missed something simple. Any help or advice would be greatly appreciated!
> 
> Teagan, 4th year astrophysics student
> 
>


More information about the Mesa-users mailing list