[Mesa-users] ./mk suddenly failing

Francis Timmes fxt44 at mac.com
Wed Oct 16 17:15:46 EDT 2019


not enough coherent information is being provided
for someone to offer meaningful help. from the mesasdk page:


Be sure to include the following information in your bug report:

	• The version of MESA you are trying to build
	• The version of the SDK you are using (use the mesasdk_version.sh command to determine this)
	• Your platform (machine type, operating system, version)

Also, it would be helpful if you could post the output of the following commands:

	• uname -a
	• gfortran -v
	• echo $MESASDK_ROOT
	• echo $PATH



fxt





> On Oct 16, 2019, at 2:10 PM, Jeremy Sakstein <sakstein at sas.upenn.edu> wrote:
> 
> I tried both of these. When I type the trying to install xcode gives me this message:
> 
> command line tools are already installed, use "Software Update" to install updates.
> 
> I'm currently using MESA via SSH. Could this be the issue? I don't see how.
> 
> 
> On Wed, Oct 16, 2019 at 5:05 PM Francis Timmes <fxt44 at mac.com> wrote:
> >
> > also do a
> >
> > xcode-select --install
> >
> > whenever xcode is updated.
> >
> > fxt
> >
> >
> >
> > > On Oct 16, 2019, at 1:47 PM, Rob Farmer via Mesa-users <mesa-users at lists.mesastar.org> wrote:
> > >
> > > >It worked perfectly fine and I didn't re-install MESA at all. I just ran ./mk on a test_suite. Sometimes updates get pushed to my computer and I had to reaccept the XCode terms so maybe that is it?
> > >
> > > Maybe, did you try re-running:
> > > open /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg
> > >
> > > As the notes on http://www.astro.wisc.edu/~townsend/static.php?ref=mesasdk#Mac_OS_X mention this must be re-ran whenever xcode is updated
> > >
> > > Rob
> > >
> > >
> > >
> > > On Wed, 16 Oct 2019 at 16:15, Jeremy Sakstein <sakstein at sas.upenn.edu> wrote:
> > > Hi Rob,
> > >
> > > I am using r12115 with OS 10.14.6 build18G95.
> > >
> > > The MESA SDK version is x86_64-osx-10.14-20181104 (I got this from mesasdk_version.sh).
> > >
> > > It worked perfectly fine and I didn't re-install MESA at all. I just ran ./mk on a test_suite. Sometimes updates get pushed to my computer and I had to reaccept the XCode terms so maybe that is it?
> > >
> > > Cheers,
> > >
> > > Jeremy
> > >
> > >
> > >
> > > On Wed, Oct 16, 2019 at 4:00 PM Rob Farmer <r.j.farmer at uva.nl> wrote:
> > > >
> > > > Hi,
> > > >
> > > > Which OS (plus version) are you on? What mesa version? What MESASDK version? Did this combination of mesa/mesasdk/os work previously for you?
> > > >
> > > > Rob
> > > >
> > > > On Wed, 16 Oct 2019 at 12:29, Jeremy Sakstein <sakstein at sas.upenn.edu> wrote:
> > > >>
> > > >> Hi Everyone,
> > > >>
> > > >> So today I tried to compile an example in the test_suite and got the following error:
> > > >>
> > > >> gfortran -Wno-uninitialized -fno-range-check -fmax-errors=7  -fprotect-parens -fno-sign-zero -fbacktrace -ggdb -finit-real=snan -fopenmp -fbounds-check -Wuninitialized -Warray-bounds -ggdb -ffree-form -x f95-cpp-input -I../../../../include -I/Applications/mesasdk/include -c ../src/run_star_extras.f
> > > >>
> > > >> gfortran -Wno-uninitialized -fno-range-check -fmax-errors=7  -fprotect-parens -fno-sign-zero -fbacktrace -ggdb -finit-real=snan -fopenmp -fbounds-check -Wuninitialized -Warray-bounds -ggdb -ffree-form -x f95-cpp-input -I../../../../include -I/Applications/mesasdk/include -c ../../../../star/job/run_star.f
> > > >>
> > > >> gfortran -Wno-uninitialized -fno-range-check -fmax-errors=7  -fprotect-parens -fno-sign-zero -fbacktrace -ggdb -finit-real=snan -fopenmp -fbounds-check -Wuninitialized -Warray-bounds -ggdb -ffree-form -x f95-cpp-input -I../../../../include -I/Applications/mesasdk/include -c ../src/run.f
> > > >>
> > > >> gfortran -fopenmp -o ../star run_star_extras.o run_star.o  run.o  -L../../../../lib -lstar -lgyre -lionization -latm -lcolors -lnet -leos -lkap -lrates -lneu -lchem -linterp_2d -linterp_1d -lnum -lmtx -lconst -lutils -lf2crlibm -lcrlibm  `mesasdk_lapack_link` `mesasdk_blas_link` `mesasdk_hdf5_link`  `mesasdk_pgplot_link` -lz
> > > >>
> > > >> ld: library not found for -lz
> > > >>
> > > >> collect2: error: ld returned 1 exit status
> > > >>
> > > >> make: *** [star] Error 1
> > > >>
> > > >>
> > > >> I checked the SDK website and it suggested xcode and xquartz may not be installed so I reinstalled both but this is still not working. I also googled a bit and tried to set the LD library path and library path to /user/local/lib but this still doesn't work.
> > > >>
> > > >> Is anyone able to help me with this?
> > > >>
> > > >> Cheers,
> > > >>
> > > >> Jeremy
> > > _______________________________________________
> > > mesa-users at lists.mesastar.org
> > > https://lists.mesastar.org/mailman/listinfo/mesa-users
> > >



More information about the Mesa-users mailing list