[Mesa-users] Encountering compile errors building mesa-r11554 on iMacPro

Samuel Dupree sdupree at speakeasy.net
Sat Mar 16 11:39:35 EDT 2019


I'm attempting to install the current version of MESA, mesa-r11554, on 
an iMacPro running MAC OS X 10.14.3, Mojave. The SDK I downloaded and 
installed from mesasdk-x86_64-osx-10.12-10.14-20190315.dmg 
<http://www.astro.wisc.edu/~townsend/resource/download/mesasdk/mesasdk-x86_64-osx-10.12-10.14-20190315.dmg>. 
The compile errors I'm getting at present are captured in the attached 
file.

In looking through the FAQ's list, I haven't seen any comments resolving 
this problem. Have any updates to the mesa_r11554 release been posted?

Please advise.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20190316/a85344b0/attachment.html>
-------------- next part --------------
Last login: Sat Mar 16 11:18:27 on ttys000
-bash: /Applications/madsdk/bin/madsdk_init.sh: No such file or directory
(base) Samuels-Mac-Pro:~ user$ cd $MESA_DIR
(base) Samuels-Mac-Pro:mesa-r11554 user$ ./install

/Volumes/Development/AstrophysicsLib/mesa-r11554/const
building const package.

gfortran -fopenmp -ggdb -o ../tester test_const.o -L../../make -lconst 
export
done

mesa/const has been built, tested, and exported.

************************************************

/Volumes/Development/AstrophysicsLib/mesa-r11554/utils
building utils package.

gfortran -Wno-uninitialized -fno-range-check -fmax-errors=7  -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 -W -Wno-compare-reals -Wno-unused-parameter -fimplicit-none   -O2 -c -ffree-form -x f95-cpp-input ../private/utils_nan_qp.f90
../private/utils_nan_qp.f90:584.27:

    call C_F_POINTER(C_LOC(x), ix, [2,SHAPE(x)])
                           1
Error: Assumed-shape array 'x' at (1) cannot be an argument to the procedure 'c_loc' because it is not C interoperable
../private/utils_nan_qp.f90:552.27:

    call C_F_POINTER(C_LOC(x), ix, [2,SHAPE(x)])
                           1
Error: Assumed-shape array 'x' at (1) cannot be an argument to the procedure 'c_loc' because it is not C interoperable
../private/utils_nan_qp.f90:520.27:

    call C_F_POINTER(C_LOC(x), ix, [2,SHAPE(x)])
                           1
Error: Assumed-shape array 'x' at (1) cannot be an argument to the procedure 'c_loc' because it is not C interoperable
../private/utils_nan_qp.f90:488.27:

    call C_F_POINTER(C_LOC(x), ix, [2,SHAPE(x)])
                           1
Error: Assumed-shape array 'x' at (1) cannot be an argument to the procedure 'c_loc' because it is not C interoperable
make: *** [makefile:63: utils_nan_qp.o] Error 1

/Volumes/Development/AstrophysicsLib/mesa-r11554/utils/make
FAILED


/Volumes/Development/AstrophysicsLib/mesa-r11554/utils
./build_and_test FAILED

(base) Samuels-Mac-Pro:mesa-r11554 user$ 


More information about the Mesa-users mailing list