[Mesa-users] diff cannot configure

Jing Luan jingluan.xw at gmail.com
Sat Sep 22 18:55:38 EDT 2018


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/20180922/99116bb3/attachment.html>


More information about the Mesa-users mailing list