[Mesa-users] Installation error
Aaron Dotter
aaron.dotter at gmail.com
Mon Jul 22 07:35:51 EDT 2019
Hi,
Your question is answered here:
http://mesa.sourceforge.net/faq.html#why-do-i-get-an-error-like-error-array-reference-at-1-out-of-bounds-0--1-in-loop-beginning-at-2--werrordo-subscript
Aaron
On Mon, Jul 22, 2019 at 3:41 AM kaoutar lahlou via Mesa-users <
mesa-users at lists.mesastar.org> wrote:
> Dear MESA users,
>
> I am trying to re-install mesa-10108 with the latest MESASDK version on my
> laptop having ubuntu 18.
>
> This is the error I am getting. Before I had the same verioon of MESA with
> mesa sdk of 2018.
>
> Thanks for you help in advance !
>
> Cheers,
> Kao
>
> ****************************************
>
> 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/astro-ka/mesasdk/include -Wunused-value -Werror -W
> -Wno-compare-reals -Wno-unused-parameter -fimplicit-none -O2 -c
> -ffree-form -x f95-cpp-input -I../defaults -I../job -I../other
> ../other/other_newton_monitor.f90
> 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/astro-ka/mesasdk/include -Wunused-value -Werror -W
> -Wno-compare-reals -Wno-unused-parameter -fimplicit-none -O2 -c
> -ffree-form -x f95-cpp-input -I../defaults -I../job -I../other
> ../other/other_astero_freq_corr.f90
> 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/astro-ka/mesasdk/include -Wunused-value -Werror -W
> -Wno-compare-reals -Wno-unused-parameter -fimplicit-none -O2 -c
> -ffree-form -x f95-cpp-input -I../defaults -I../job -I../other
> ../private/star_private_def.f90
> ../private/star_private_def.f90:203:47:
>
> ../private/star_private_def.f90:199:37:
>
> do i=1,num_termination_codes
> 2
> ../private/star_private_def.f90:203:47:
>
> trim(termination_code_str(i-1)), i
> 1
> Error: Array reference at (1) out of bounds (0 < 1) in loop beginning at
> (2) [-Werror=do-subscript]
> ../private/star_private_def.f90:296:80:
>
> ../private/star_private_def.f90:293:23:
>
> do i=1,numTlim
> 2
>
> ../private/star_private_def.f90:296:80:
>
> write(*,2) 'missing dt_why_str following ' //
> trim(dt_why_str(i-1)), i
> 1
>
> Error: Array reference at (1) out of bounds (0 < 1) in loop beginning at
> (2) [-Werror=do-subscript]
> f951: all warnings being treated as errors
> make: *** [makefile:278: star_private_def.o] Error 1
>
> /home/astro-ka/mesa-10108/star/make
> FAILED
>
>
> /home/astro-ka/mesa-10108/star
> ./build_and_test FAILED
> _______________________________________________
> mesa-users at lists.mesastar.org
> https://lists.mesastar.org/mailman/listinfo/mesa-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20190722/9f914b42/attachment.html>
More information about the Mesa-users
mailing list