[Mesa-users] diff cannot configure

RICHARD H D TOWNSEND townsend at astro.wisc.edu
Sat Sep 22 14:41:07 EDT 2018


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
> 




More information about the Mesa-users mailing list