[Mesa-users] MESA Installation Issue
Tripathi, Akshat
akshatt3 at illinois.edu
Mon Aug 30 20:23:45 UTC 2021
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20210830/aec7d21b/attachment.htm>
-------------- next part --------------
pi 3.1415926535897931E+00
ln10 2.3025850929940455E+00
boltz_sigma 5.6703999999999998E-05
boltz_sigma*4 2.2681599999999999E-04
boltz_sigma*4/clight 7.5657673816464059E-15
boltz_sigma/clight 1.8914418454116015E-15
crad 7.5657673816464059E-15
secyer 3.1558149984000001E+07
msol 1.9891999999999999E+33
rsol 6.9598000000000000E+10
lsol 3.8417999999999997E+33
ly 9.4605280000000000E+17
m_earth 5.9763999999999996E+27
au 1.4959789210000000E+13
amu 1.6605387831627259E-24
mn 1.6749285999999999E-24
mp 1.6726230999999999E-24
me 9.1093825999999998E-28
planck_h 6.6260689600000000E-27
qe 4.8032044000000005E-10
avo 6.0221417899999999E+23
clight 2.9979245800000000E+10
kerg 1.3806504000000000E-16
More information about the Mesa-users
mailing list