[Mesa-users] Issue Installing MESA 15140: Error in Utils
Caleb Levy '23
cmlevy at colgate.edu
Mon Apr 12 22:16:29 UTC 2021
Hi Richard,
Thank you for such a swift response! I ended up moving it to .zshrc which
did the trick.
Best,
Caleb
On Mon, Apr 12, 2021 at 5:53 PM RICHARD H D TOWNSEND <
townsend at astro.wisc.edu> wrote:
> Hi Caleb —
>
> It looks like MESA is picking up the wrong compiler (the one that ships
> with the MESA SDK is 10.2, not 8.2.0).
>
> Can you try moving the SDK initialization to the end of your .bashrc or
> .bash_profile file?
>
> cheers,
>
> Rich
>
> On Apr 12, 2021, at 4:49 PM, Caleb Levy '23 via Mesa-users <
> mesa-users at lists.mesastar.org> wrote:
>
> Hello MESA Community,
>
> I am having issues installing MESA version 15140 on Mac OS 10.15.7 with
> the 21.4.1 SDK. Below is the output I am getting after running ./install in
> the MESA directory:
>
> /Applications/mesa-r15140/utils
> building utils package.
>
> MAKEDEPF90
> COMPILE_CMD ../public/utils_def.f
> COMPILE_CMD ../private/utils_dict.f
> COMPILE_CMD ../private/utils_idict.f
> COMPILE_CMD ../private/utils_system.f90
> COMPILE_CMD ../private/utils_openmp.f
> COMPILE_CMD ../private/utils_nan_qp.f90
> COMPILE_CMD ../private/utils_nan_dp.f90
> COMPILE_CMD ../private/utils_nan_sp.f90
> COMPILE_CMD ../private/utils_nan.f90
> COMPILE_CMD ../public/utils_lib.f
> CC ../private/utils_c_system.c
> ../private/utils_c_system.c:42:27: error: initializer element is not a
> compile-time constant
> static const int LEN_TEMP=strlen(TEMPLATE);
> ^~~~~~~~~~~~~~~~
> 1 error generated.
> make: *** [utils_c_system.o] Error 1
>
> /Applications/mesa-r15140/utils/make
> FAILED
>
>
> /Applications/mesa-r15140/utils
> ./build_and_test FAILED
>
>
> As recommended on the SDK troubleshooting page, here are some outputs that
> may be useful:
>
> % uname -a
>
> Darwin calebs-air.colgate.edu 19.6.0 Darwin Kernel Version 19.6.0: Mon
> Aug 31 22:12:52 PDT 2020; root:xnu-6153.141.2~1/RELEASE_X86_64 x86_64
>
> % gfortran -v
> Using built-in specs.
> COLLECT_GCC=gfortran
>
> COLLECT_LTO_WRAPPER=/usr/local/gfortran/libexec/gcc/x86_64-apple-darwin18/8.2.0/lto-wrapper
> Target: x86_64-apple-darwin18
> Configured with: ../gcc-8.2.0/configure --prefix=/usr/local/gfortran
> --with-gmp=/Users/fx/devel/gcc/build_package/deps
> --enable-languages=c,c++,fortran,objc,obj-c++ --build=x86_64-apple-darwin18
> --disable-multilib --with-native-system-header-dir=/usr/include
> --with-sysroot=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk
> Thread model: posix
>
> gcc version 8.2.0 (GCC)
>
> % echo $MESASDK_ROOT
>
> /Applications/mesasdk
>
> % echo $PATH
>
>
> /usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin:/opt/X11/bin:/Library/Apple/usr/bin:/Applications/mesasdk/bin
>
>
>
> Any help would be greatly appreciated!
>
> Best,
> Caleb
> _______________________________________________
> 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/20210412/ebd67b77/attachment.htm>
More information about the Mesa-users
mailing list