[Mesa-users] Trouble Installing r-10398 on a Macbook Pro
Josiah Schwab
jwschwab at ucsc.edu
Tue Mar 19 19:41:21 EDT 2019
>
> > I got Xcode and the command line tools reinstalled and made it past
> crlibm and got a new error message.
> > 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/Applications/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: *** [star_private_def.o] Error 1
> >
> > /Users/chloekeeling/Research/Code/Mesa/mesa/star/make
> > FAILED
> >
> >
> > /Users/chloekeeling/Research/Code/Mesa/mesa/star
> > ./build_and_test FAILED
> >
>
> Hmm, now it looks as if an older compiler is being used. What's the output
> from the following two commands:
>
> gfortran -v
>
> which gfortran
>
Why do you say that Rich? To me, this looks like a newer compiler, since
the do-subscript warnings didn't start showing up until the 8 series.
Chloe, you can open up your utils/makefile_header, find where -Werror is
specified, and just delete that bit. Those warning are safe to ignore.
Josiah
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20190319/4a4ab243/attachment.html>
More information about the Mesa-users
mailing list