[Mesa-users] diff cannot configure

Jing Luan jingluan.xw at gmail.com
Sun Sep 23 11:44:15 EDT 2018


Hi Rich,

Thank you so so much!

Sincerely,
Jing

On Sun, Sep 23, 2018 at 11:40 AM RICHARD H D TOWNSEND <
townsend at astro.wisc.edu> wrote:

> Hi Jing --
>
> I think I now understand your problem. On OSX, the SDK must be installed
> in the /Applications directory -- otherwise it won't work. Obviously, in
> your case this is a problem because you're not able to write into the
> /Applications directory.
>
> I'll see if I can come up with a workaround.
>
> Best wishes,
>
> Rich
>
> > On Sep 23, 2018, at 10:36 AM, Jing Luan <jingluan.xw at gmail.com> wrote:
> >
> > Hi Rich,
> >
> > Thank you so much for your help. Below I show what I did within the same
> terminal window. I first set up mesasdk, then set up the path to gyre, then
> do 'echo $PATH', then go to $GYRE_DIR, then do 'make'. And I got some error
> message. All are shown below. It seems like it still tries to look for
> something under /Applications. Everything that I install is under
> /nethome/jingluan/Applications or /nethome/jingluan . Some idea on what
> might cause the problem please? Many thanks!
> >
> > Sincerely,
> > Jing
> >
> > imac229:gyre-5.2 jingluan$ export
> MESASDK_ROOT=/nethome/jingluan/Applications/mesasdk
> > imac229:gyre-5.2 jingluan$ source $MESASDK_ROOT/bin/mesasdk_init.sh
> > imac229:gyre-5.2 jingluan$ export GYRE_DIR=/nethome/jingluan/gyre-5.2
> > imac229:gyre-5.2 jingluan$ echo $PATH
> >
> /nethome/jingluan/Applications/mesasdk/bin:/nethome/jingluan/Applications/mesasdk/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin:/usr/local/MacGPG2/bin:/opt/X11/bin
> > imac229:gyre-5.2 jingluan$ cd $GYRE_DIR
> > imac229:gyre-5.2 jingluan$ make
> > FC core_kinds.f90
> > dyld: Library not loaded: /Applications/mesasdk/lib/libmpc.3.dylib
> >   Referenced from:
> /nethome/jingluan/Applications/mesasdk/bin/../libexec/gcc/x86_64-apple-darwin17.3.0/7.2.0/f951
> >   Reason: image not found
> > gfortran.exec: internal compiler error: Abort trap: 6 (program f951)
> > Please submit a full bug report,
> > with preprocessed source if appropriate.
> > See <https://gcc.gnu.org/bugs/> for instructions.
> > make[2]: *** [core_kinds.o] Error 4
> >
> > On Sat, Sep 22, 2018 at 9:03 PM RICHARD H D TOWNSEND <
> townsend at astro.wisc.edu> wrote:
> > Hi Jing --
> >
> > The SDK appears to be properly initialized, but then for some reason
> stops working when you try to compile something.
> >
> > Can you try compiling GYRE straight after your echo $PATH command?
> >
> > cheers,
> >
> > Rich
> >
> >
> > > On Sep 22, 2018, at 5:55 PM, Jing Luan <jingluan.xw at gmail.com> wrote:
> > >
> > > Hi Rich,
> > >
> > > Thank you so much for your help. Below is the output for 'which ndiff'
> and 'echo $PATH'.
> > >
> > > imac229:~ jingluan$ export
> MESASDK_ROOT=/nethome/jingluan/Applications/mesasdk
> > > imac229:~ jingluan$ source $MESASDK_ROOT/bin/mesasdk_init.sh
> > > imac229:~ jingluan$ which ndiff
> > > /nethome/jingluan/Applications/mesasdk/bin/ndiff
> > > imac229:~ jingluan$ echo $PATH
> > >
> /nethome/jingluan/Applications/mesasdk/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin:/usr/local/MacGPG2/bin:/opt/X11/bin
> > >
> > > I also encounter a problem when compling gyre by the following err
> message. I do not have root permission. Does the message mean that I shall
> ask our computing center to add something to /bin/sh? Thank you so much.
> > >
> > > Determining dependencies
> > > /bin/sh: fpx3_deps: command not found
> > > /bin/sh: fpx3: command not found
> > > make[2]: *** [gyre.f90] Error 127
> > >
> > > Many thanks!
> > >
> > > Sincerely,
> > > Jing
> > >
> > >
> > >
> > >
> > > On Sat, Sep 22, 2018 at 2:41 PM RICHARD H D TOWNSEND <
> townsend at astro.wisc.edu> wrote:
> > > Hi Jing --
> > >
> > > After initializing the SDK, what happens when you type 'which ndiff"?
> > >
> > > And, can you post the output from 'echo $PATH'?
> > >
> > > cheers,
> > >
> > > Rich
> > >
> > > > On Sep 22, 2018, at 12:34 PM, Jing Luan via Mesa-users <
> mesa-users at lists.mesastar.org> wrote:
> > > >
> > > > Hi Francis,
> > > >
> > > > Thank you so much for your quick response. Yes, I did all the
> required environment set-up for mesasdk and mesa. To be specific, I input
> the following lines in my terminal.
> > > > export MESA_DIR=/nethome/jingluan/Dropbox/mesa-r10398
> > > > export OMP_NUM_THREADS=4
> > > > export MESASDK_ROOT=/nethome/jingluan/Applications/mesasdk
> > > > source $MESASDK_ROOT/bin/mesasdk_init.sh
> > > >
> > > > I get the following message after doing 'gfortran --version'. But I
> still get the err message in my original email when configuring ndiff. Any
> suggestions please? Many thanks :-)
> > > >
> > > > GNU Fortran (GCC) 7.2.0
> > > > Copyright (C) 2017 Free Software Foundation, Inc.
> > > > This is free software; see the source for copying conditions.  There
> is NO
> > > > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
> PURPOSE.
> > > >
> > > > On Sat, Sep 22, 2018 at 1:20 PM Francis Timmes <fxt44 at mac.com>
> wrote:
> > > > hi jing,
> > > >
> > > > you may not have followed all of the installation instructions at
> > > > http://www.astro.wisc.edu/~townsend/static.php?ref=mesasdk
> > > >
> > > > specifically, did you set the environment variable MESASDK_ROOT
> > > > and then source $MESASDK_ROOT/bin/mesasdk_init.csh ?
> > > >
> > > > if you do a
> > > >
> > > > % gfortran --version
> > > >
> > > > the first line should be GNU Fortran (GCC) 7.2.0
> > > > indicating the the mesasdk supplied complier is being used.
> > > >
> > > > fxt
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > > On Sep 22, 2018, at 10:06 AM, Jing Luan via Mesa-users <
> mesa-users at lists.mesastar.org> wrote:
> > > > >
> > > > > Dear mesa-users:
> > > > >
> > > > > I successfully install mesasdk. Then I move on to install mesa.
> Then I got a message asking me to install ndiff. I get the following err
> message when I did ./configure under the ndiff directory. Any suggestions
> about why might went wrong please? Many thanks. Note that I am trying to
> install mesa on an institute owned iMac, and I do not have administrator
> permission.
> > > > >
> > > > > Sincerely,
> > > > > Jing
> > > > >
> > > > > loading cache ./config.cache
> > > > > checking for gcc... gcc
> > > > > checking whether the C compiler (gcc  ) works... no
> > > > > configure: error: installation or configuration problem: C
> compiler cannot create executables.
> > > > >
> > > > >
> > > > > _______________________________________________
> > > > > 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
> > > >
> > >
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20180923/88214cba/attachment.html>


More information about the Mesa-users mailing list