[Mesa-users] MESA Installation Issue
Francis Timmes
fxt44 at mac.com
Tue Aug 31 09:41:04 UTC 2021
it appears you are trying to build an older version of mesa
with the latest mesask. its best to use an age appropriate
version of the mesasdk:
http://www.astro.wisc.edu/~townsend/static.php?ref=mesasdk
fxt
> On Aug 30, 2021, at 1:23 PM, Tripathi, Akshat via Mesa-users <mesa-users at lists.mesastar.org> wrote:
>
> Hello!
>
> I'm trying to install Mesa with the following configuration:
>
> • MESA Version: mesa-r10108
> • MESA SDK Version (by running gfortran --version):
> GNU Fortran (GCC) 10.2.0
> Copyright (C) 2020 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions. There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
>
> • My computer: Ubuntu 20.04.3 LTS; x86_64 64; 11th Gen Intel(R) Core(TM) i5-1135G7 @ 2.40GHz; 16 GB Memory
> • Output of various commands:
> akshat at akshat-yoga:~/mesasdk$ uname -a
> Linux akshat-yoga 5.11.0-27-generic #29~20.04.1-Ubuntu SMP Wed Aug 11 15:58:17 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
> akshat at akshat-yoga:~/mesasdk$ gfortran -v
> Using built-in specs.
> COLLECT_GCC=/home/akshat/mesasdk/bin/gfortran.exec
> COLLECT_LTO_WRAPPER=/home/akshat/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)
> akshat at akshat-yoga:~/mesasdk$ echo $MESASDK_ROOT
> /home/akshat/mesasdk
> akshat at akshat-yoga:~/mesasdk$ echo $PATH
> /home/akshat/mesasdk/bin:/home/akshat/miniconda3/condabin:/home/akshat/idl_lib/xidl/:/home/akshat/idl_lib/FIRE//:/home/akshat/idl_lib/idlspec2d/:/home/akshat/idl_lib/idlutils/bin:/home/akshat/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
> akshat at akshat-yoga:~/mesasdk$ echo $MESA_DIR
> /home/akshat/Downloads/mesa-r10108
> akshat at akshat-yoga:~/mesasdk$
>
> • Error message:
> /home/akshat/Downloads/mesa-r10108/const
> building const package.
>
> gfortran -fopenmp -o ../tester test_const.o -L../../make -lconst
> export
> done
>
> mesa/const has been built, tested, and exported.
>
> ************************************************
>
> /home/akshat/Downloads/mesa-r10108/utils
> building utils package.
>
> gfortran -Wno-uninitialized -fno-range-check -fmax-errors=12 -fprotect-parens -fno-sign-zero -fbacktrace -ggdb -finit-real=snan -fopenmp -std=f2008 -Wno-error=tabs -I../public -I../private -I../../include -I/home/akshat/mesasdk/include -Wunused-value -Werror -W -Wno-compare-reals -Wno-unused-parameter -fimplicit-none -O2 -c -ffree-form -x f95-cpp-input ../private/utils_nan_qp.f90
> ../private/utils_nan_qp.f90:278:27:
>
> 278 | is_inf = is_inf .OR. is_inf_qp_0d(x(i))
> | 1
> Error: Impure function 'is_inf_qp_0d' at (1) might not be evaluated [-Werror=function-elimination]
> ../private/utils_nan_qp.f90:149:27:
>
> 149 | is_nan = is_nan .OR. is_nan_qp_0d(x(i))
> | 1
> Error: Impure function 'is_nan_qp_0d' at (1) might not be evaluated [-Werror=function-elimination]
> ../private/utils_nan_qp.f90:369:27:
>
> 369 | is_bad = is_nan(x) .OR. is_inf(x)
> | 1
> Error: Impure function 'is_inf_qp_0d' at (1) might not be evaluated [-Werror=function-elimination]
> f951: all warnings being treated as errors
> make: *** [makefile:52: utils_nan_qp.o] Error 1
>
> /home/akshat/Downloads/mesa-r10108/utils/make
> FAILED
>
>
> /home/akshat/Downloads/mesa-r10108/utils
> ./build_and_test FAILED
>
> • No file named build.log exists in $MESA_DIR
> • tmp.txt exists in (and is attached in the email) :
> akshat at akshat-yoga:~/Downloads/mesa-r10108$ find . -name "tmp.txt"
> ./const/test/tmp.txt
>
> akshat at akshat-yoga:~/Downloads/mesa-r10108$ ./tester 2>&1 | tee tester.log
> bash: ./tester: No such file or directory
>
> Please let me know if you need any other information.
>
> Thank you
> Akshat Tripathi
> <tmp.txt>_______________________________________________
> mesa-users at lists.mesastar.org
> https://lists.mesastar.org/mailman/listinfo/mesa-users
More information about the Mesa-users
mailing list