[Mesa-users] Trouble Installing r-10398 on a Macbook Pro

RICHARD H D TOWNSEND townsend at astro.wisc.edu
Tue Mar 19 18:59:41 EDT 2019



> On Mar 19, 2019, at 4:19 PM, Sandoval, Chloe <ckeeling at vols.utk.edu> wrote:
> 
> Amber,
> 
> Yep that's how I intended it to be setup.  I have multiple large codes on my computer and I was using multiple versions of MESA so I have the Mesa/ folder to hold all my different versions.
> 
> Rich,
> 
> 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

cheers,

Rich

> 
> I've attached another tmp.txt for this failure and the new build.log file.
> 
> 
> 
> 
> On Tue, Mar 19, 2019 at 4:22 PM amber lauer <amberlauer at gmail.com> wrote:
> Hey Chloe, just noticed you seemed to have doubled up on the "mesa" subfolder in your path variable. Is that intentional?
> 
> For example the line :
> 
> echo $MESA_DIR: 
> /Users/chloekeeling/Research/Code/Mesa/mesa
> 
> looks like this on my system:
> 
> echo $MESA_DIR: 
> /home/amber/executables/mesa10398
>  
> and then, for example, the folder crlibm would be directly under that
> 
> /home/amber/executables/mesa10398/crlibm
> 
> whereas yours is 
>  
> /Users/chloekeeling/Research/Code/Mesa/mesa/crlibm
> 
> Just want to check and make sure that's what you want. 
> 
> 
> On Tue, Mar 19, 2019 at 3:50 PM RICHARD H D TOWNSEND via Mesa-users <mesa-users at lists.mesastar.org> wrote:
> OK. Is there anything in the /Library/Developer/CommandLineTools/Packages directory?
> 
> > On Mar 19, 2019, at 2:47 PM, Sandoval, Chloe <ckeeling at vols.utk.edu> wrote:
> > 
> > No I'm not able to do so. I get the following error message.
> > 
> > The file /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg does not exist.
> > -Chloe
> > 
> > On Tue, Mar 19, 2019 at 3:41 PM RICHARD H D TOWNSEND <townsend at astro.wisc.edu> wrote:
> > Hi Chloe (cc'ing the MESA users list, to keep them in the loop) --
> > 
> > Are you able to install the system headers via the command
> > 
> > open /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg
> > 
> > (This usually only needs to be done on OSX 10.14 systems, but for some reason your system also seems to need it).
> > 
> > cheers,
> > 
> > Rich
> > 
> > > On Mar 19, 2019, at 2:21 PM, Sandoval, Chloe <ckeeling at vols.utk.edu> wrote:
> > > 
> > > Hi Rich,
> > > 
> > > Here's the outputs
> > > ls /usr:
> > > X11           lib             local           share
> > > bin           libexec         sbin            standalone 
> > > 
> > > 
> > > system_profiler SPSoftwareDataType:
> > > Software:
> > > 
> > >     System Software Overview:
> > > 
> > >       System Version: macOS 10.13.6 (17G5019)
> > >       Kernel Version: Darwin 17.7.0
> > >       Boot Volume: Macintosh HD
> > >       Boot Mode: Normal
> > >       Computer Name: Chloe’s MacBook Pro
> > >       User Name: Chloe Keeling (chloekeeling)
> > >       Secure Virtual Memory: Enabled
> > >       System Integrity Protection: Enabled
> > >       Time since boot: 31 days 18:32
> > > 
> > > 
> > > 
> > > ls /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs:
> > > 
> > > MacOSX.sdk    MacOSX10.14.sdk
> > > 
> > > -Chloe
> > > 
> > > On Tue, Mar 19, 2019 at 3:05 PM RICHARD H D TOWNSEND <townsend at astro.wisc.edu> wrote:
> > > Hi Chloe --
> > > 
> > > It seems the system header files for the compiler are not being found. Can you send the output from the following three commands:
> > > 
> > > ls /usr
> > > 
> > > system_profiler SPSoftwareDataType
> > > 
> > > ls /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs
> > > 
> > > cheers,
> > > 
> > > Rich
> > > 
> > > > On Mar 19, 2019, at 2:00 PM, Sandoval, Chloe via Mesa-users <mesa-users at lists.mesastar.org> wrote:
> > > > 
> > > > Hi all,
> > > > 
> > > > I'm having trouble installing r-10398 on my laptop after previously installing 3 different versions of MESA successfully on this machine. I'm using the most recent version of the SDK and I've tried it with the release before that as well and still failed. I've tried using svn co to download everything after deleting it all. 
> > > > 
> > > > I get the following error when the install gets to crlibm
> > > > 
> > > > ./configure CC=gcc CFLAGS=
> > > > checking for a BSD-compatible install... /usr/bin/install -c
> > > > checking whether build environment is sane... yes
> > > > checking for a thread-safe mkdir -p... ./install-sh -c -d
> > > > checking for gawk... no
> > > > checking for mawk... no
> > > > checking for nawk... no
> > > > checking for awk... awk
> > > > checking whether make sets $(MAKE)... yes
> > > > checking build system type... i386-apple-darwin17.7.0
> > > > checking host system type... i386-apple-darwin17.7.0
> > > > checking whether make sets $(MAKE)... (cached) yes
> > > > checking for C compiler default output file name... 
> > > > configure: error: in `/Users/chloekeeling/Research/Code/Mesa/mesa/crlibm/crlibm':
> > > > configure: error: C compiler cannot create executables
> > > > See `config.log' for more details.
> > > > make: *** [build] Error 77
> > > > make: *** No targets specified and no makefile found.  Stop.
> > > > 
> > > > /Users/chloekeeling/Research/Code/Mesa/mesa/crlibm/crlibm
> > > > ./build_and_test FAILED
> > > > 
> > > > 
> > > > /Users/chloekeeling/Research/Code/Mesa/mesa/crlibm
> > > > ./build_and_test FAILED
> > > > 
> > > > I've also attached the build.log and the config.log from $MESA_DIR/crlibm/crlibm and the tmp.txt file as well.
> > > > 
> > > > Specs:
> > > > Macbook Pro 
> > > > OS: High Sierra v 10.13.6
> > > > 
> > > > uname -a : Darwin Chloes-MacBook-Pro.local 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: 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 $MESASDK_ROOT: /Applications/mesasdk 
> > > > 
> > > > echo $PATH: /Applications/mesasdk/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin:/opt/X11/bin
> > > > 
> > > > echo $MESA_DIR: 
> > > > /Users/chloekeeling/Research/Code/Mesa/mesa
> > > > 
> > > > 
> > > > Thanks for the help.
> > > > 
> > > > -Chloe Sandoval
> > > > 
> > > > 
> > > > 
> > > > 
> > > > 
> > > > 
> > > > 
> > > > <tmp.txt><build.log><config.log>_______________________________________________
> > > > mesa-users at lists.mesastar.org
> > > > https://lists.mesastar.org/mailman/listinfo/mesa-users
> > > > 
> > > 
> > 
> 
> _______________________________________________
> mesa-users at lists.mesastar.org
> https://lists.mesastar.org/mailman/listinfo/mesa-users
> 
> 
> 
> -- 
> Amber Lauer
> Postdoctoral Researcher
> Triangle Universities Nuclear Lab
> Duke University
> amber.lauer at tunl.duke.edu
> <tmp.txt><build.log>



More information about the Mesa-users mailing list