[mesa-users] Error installing with development SDK
Adam Jacobs
adam.jacobs at stonybrook.edu
Fri Nov 1 17:20:42 EDT 2013
Hello All w/ ATTN to Dr. Townsend,
Though I successfully installed MESA, I thought it might be of interest to
the developers (especially the primary SDK developer, Dr. Townsend) that I
had the following error occur during installation when using the
development SDK instead of the 'current' SDK:
$ ./install
> <lots of error-free install output>
> ************************************************
> /home/ajacobs/Research/Codebase/mesa_temp/eos
> building eos package.
> gfortran -fno-range-check -fmax-errors=100 -fopenmp -I../public
> -I../private -I../../include -Wunused-value -Werror -W -Wno-compare-reals
> -Wno-unused-parameter -fimplicit-none -O2 -c -ffixed-form
> -ffixed-line-length-132 -x f77-cpp-input ../private/eosPT_eval.f
> ../private/eosPT_eval.f: In function 'get_eospt_results':
> ../private/eosPT_eval.f:373:0: error: 'c_dy' may be used uninitialized in
> this function [-Werror=maybe-uninitialized]
> beta = 1 - alfa
> ^
> ../private/eosPT_eval.f:284:0: note: 'c_dy' was declared here
> > logW1, logW2, logW3, logW4, logT1, logT2, logT3, logT4,
> c_dx, c_dy
> ^
> ../private/eosPT_eval.f:378:0: error: 'c_dx' may be used uninitialized in
> this function [-Werror=maybe-uninitialized]
> alfa = min(1d0, sqrt(c_dx**2 + c_dy**2))
> ^
> ../private/eosPT_eval.f:284:0: note: 'c_dx' was declared here
> > logW1, logW2, logW3, logW4, logT1, logT2, logT3, logT4,
> c_dx, c_dy
> ^
> f951: all warnings being treated as errors
> make: *** [eosPT_eval.o] Error 1
> /home/ajacobs/Research/Codebase/mesa_temp/eos/make
> FAILED
>
> /home/ajacobs/Research/Codebase/mesa_temp/eos
> ./build_and_test FAILED
>
I did this install on a 64-bit Fedora 19 system with the latest version of
MESA (via svn co -r 5527 svn://svn.code.sf.net/p/mesa/code/trunk mesa) and
the development version of the MESA SDK (Sept. 18, 2013,
http://www.astro.wisc.edu/~townsend/static.php?ref=mesasdk). On the same
system the install goes fine using the current SDK (April 8, 2013).
--
Adam Jacobs
Department of Physics and Astronomy, PhD Candidate
Stony Brook University
http://astro.sunysb.edu/amjacobs/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20131101/3e5227aa/attachment.html>
More information about the Mesa-users
mailing list