[Mesa-users] Compile issue with r11554
Eric Sandquist
esandquist at sdsu.edu
Tue Apr 23 16:03:21 EDT 2019
Hello -
I run into a problem in the eos portion of the MESA compile after having
installed the most recent version of sdk (seemingly successfully):
gfortran -fopenmp -o ../run/ceos create_DT2_eos_files.o -L../../../lib
-leos -lchem -linterp_2d -linterp_1d -lnum -lf2crlibm -lcrlibm -lmtx
-lconst -lutils `mesasdk_lapack_link` `mesasdk_blas_link`
`mesasdk_hdf5_link`
Undefined symbols for architecture x86_64:
"__gfortran_stop_numeric_f08", referenced from:
_init_mesa.3387 in create_DT2_eos_files.o
ld: symbol(s) not found for architecture x86_64
collect2: error: ld returned 1 exit status
make: *** [ceos] Error 1
/Users/esandquist/codes/mesa-r11554/eos/eosDT2_builder/make
build FAILED
It wasn't clear where the gfortran error was coming from and why this was
the first place it showed up. Ideas?
*System information:*
I am running macOS 10.13.6 (High Sierra).
uname -a gives:
Darwin bronte.sdsu.edu 17.7.0 Darwin Kernel Version 17.7.0: Thu Dec 20
21:47:19 PST 2018; root:xnu-4570.71.22~1/RELEASE_X86_64 x86_64
gfortran -v gives:
Using built-in specs.
COLLECT_GCC=/Applications/mesasdk/bin/gfortran.exec
COLLECT_LTO_WRAPPER=/Applications/mesasdk/libexec/gcc/x86_64-apple-darwin18.2.0/8.3.0/lto-wrapper
Target: x86_64-apple-darwin18.2.0
Configured with: /Users/townsend/devel/mesasdk-src/gcc/configure CC='gcc
-D_FORTIFY_SOURCE=0' --build=x86_64-apple-darwin18.2.0
--prefix=/Applications/mesasdk --with-gmp=/Applications/mesasdk
--with-mpfr=/Applications/mesasdk --with-mpc=/Applications/mesasdk
--enable-languages=c,c++,fortran --disable-multilib --disable-nls
--disable-libsanitizer
--with-sysroot=/Users/townsend/devel/mesasdk-src/MacOSX10.12.sdk
Thread model: posix
gcc version 8.3.0 (GCC)
echo $MESA_DIR gives:
/Users/esandquist/codes/mesa-r11554
echo $MESASDK_ROOT gives:
/Applications/mesasdk
echo $PATH gives:
/Applications/mesasdk/bin:/Users/esandquistadmin/anaconda2/bin:/opt/local/bin:/opt/local/sbin:/Users/esandquist/bin:/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python:/Library/Python/2.7/site-packages:/usr/local/sm:/usr/local/sm/bin:/opt/pgi/osx86-64/2016/bin:/Library/TeX/Root/bin/x86_64-darwin/:/sw/bin:/sw/sbin:/Users/esandquistadmin/anaconda2/bin:/opt/local/bin:/opt/local/sbin:/Applications/mesasdk/bin:/Users/esandquist/bin:/Users/esandquistadmin/anaconda2/bin:/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python:/Library/Python/2.7/site-packages:/usr/local/sm:/usr/local/sm/bin:/opt/pgi/osx86-64/2016/bin:/usr/local/gfortran:/usr/local/gfortran/bin:/Library/TeX/Root/bin/x86_64-darwin/:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Library/TeX/texbin:.:/opt/X11/bin:.
--
Eric Sandquist
San Diego State University
Office phone: 619-594-2694 <(619)%20594-2694>
Web: esandquist.sdsu.edu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20190423/72813c72/attachment.html>
More information about the Mesa-users
mailing list