[mesa-users] Errors in installing MESA
RICHARD H D TOWNSEND
townsend at astro.wisc.edu
Thu Jul 7 15:50:57 EDT 2016
> On Jul 7, 2016, at 2:32 PM, Sanskriti Das <dassanskriti at gmail.com> wrote:
>
> 1. Output of gfortran --version:
> GNU Fortran (GCC) 6.1.0 (1st line)
>
The current SDK ships with gfortran 5.3.1. So, it seems a different version of the compiler is being found.
My guess is that other commands in your login scripts, after the SDK initialization, are modifying the PATH environment variable so that the 6.1 version of gfortran is being found, instead of the SDK gfortran.
The fix is to move the initialization of the SDK to the end of your login scripts.
> 2. I have saved ALL of the necessary commands in the shell script. (Please note that I have already been using MESA in a different machine)
>
> 3. Last time also I had to install ndiff and makedepf90 separately although MESAsdk was properly initialised.
>
>
>
>
>
>
>
>
>
> On Fri, Jul 8, 2016 at 12:07 AM, Robert Farmer <rjfarmer at asu.edu> wrote:
> Hi
> Whats the output of:
> gfortran --version
>
> It looks like the kind of error that occurs if the sdk hasn't been initialized properly and you are using a different compiler. Remember the sdk needs to be initialized every time you open a new terminal, if you don't put it your shell startup scripts. Also you shouldn't need to install ndiff or makedepf90 if the sdk has been initialized.
>
> Rob
>
> On Thu, Jul 7, 2016 at 11:25 AM, Sanskriti Das <dassanskriti at gmail.com> wrote:
> Hello ,
>
> I am a masters student involved in a research project. I was trying to install the latest version of MESA (mesa-r8845.zip) in a machine ( Mac OS X EI Capitan 10.11.4). First I have installed Xcode, Xquartz and the appropriate version of MESAsdk (mesasdk-x86_64-osx-10.10-20160404.dmg) already and set all the environment variables properly. After that when I am trying to install MESA ( by the command ./install from the mesa directory itself) after downloading the zip file and installing other utilities like ndiff and makedepf90 properly, at the end it is showing an error message like this-
> "
>
> error: invalid value 'f95-cpp-input' in '-x f95-cpp-input'
>
> In file included from ../klu_src/klu_internal.h:10:
>
> ../klu_src/klu.h:143:5: error: unknown type name '__float128'
>
> __float128 *Rs ;
>
> ^
>
> ../klu_src/klu.h:249:5: error: unknown type name '__float128'
>
> __float128 tol ; /* pivot tolerance for diagonal preference */
>
> ^
>
> ../klu_src/klu.h:310:5: error: unknown type name '__float128'
>
> __float128 rcond ; /* crude reciprocal condition est., from klu_rcond */
>
> ^
>
> ../klu_src/klu.h:311:5: error: unknown type name '__float128'
>
> __float128 condest ; /* accurate condition est., from klu_condest */
>
> ^
>
> ../klu_src/klu.h:312:5: error: unknown type name '__float128'
>
> __float128 rgrowth ; /* reciprocal pivot rgrowth, from klu_rgrowth */
>
> ^
>
> ../klu_src/klu.h:430:44: error: unknown type name '__float128'
>
> klu_q_numeric *klu_q_factor (int *, int *, __float128 *,
>
> ^
>
> ../klu_src/klu.h:469:15: error: unknown type name '__float128'
>
> int, int, __float128 *, klu_q_common *) ;
>
> ^
>
> ../klu_src/klu.h:511:15: error: unknown type name '__float128'
>
> int, int, __float128 *, klu_q_common *) ;
>
> ^
>
> ../klu_src/klu.h:550:5: error: unknown type name '__float128'
>
> __float128 *, klu_symbolic *, klu_q_numeric *, klu_q_common *) ;
>
> ^
>
> ../klu_src/klu.h:698:5: error: unknown type name '__float128'
>
> __float128 *, klu_symbolic *, klu_q_numeric *, klu_q_common *) ;
>
> ^
>
> ../klu_src/klu.h:733:27: error: unknown type name '__float128'
>
> int klu_q_condest (int *, __float128 *, klu_symbolic *,
>
> ^
>
> ../klu_src/klu.h:806:19: error: unknown type name '__float128'
>
> int *, int *, __float128 *,
>
> ^
>
> ../klu_src/klu.h:807:5: error: unknown type name '__float128'
>
> __float128 *, int *, klu_q_common *) ;
>
> ^
>
> ../klu_src/klu.h:903:19: error: unknown type name '__float128'
>
> int *, int *, __float128 *,
>
> ^
>
> ../klu_src/klu.h:904:19: error: unknown type name '__float128'
>
> int *, int *, __float128 *,
>
> ^
>
> ../klu_src/klu.h:905:19: error: unknown type name '__float128'
>
> int *, int *, __float128 *,
>
> ^
>
> ../klu_src/klu.h:906:19: error: unknown type name '__float128'
>
> int *, int *, __float128 *,
>
> ^
>
> 17 errors generated.
>
> make: *** [klu_d.o] Error 1
>
> make: *** Waiting for unfinished jobs....
>
> /Users/Alak/desktop/MESA/mesa-r8845/mtx/make
>
> FAILED
>
>
> /Users/Alak/desktop/MESA/mesa-r8845/mtx
>
>
> ./build_and_test FAILED"
>
> Just for information: the machine is 64 bit. Compilers are so.
>
> I just want to mention that I had already installed an earlier version of MESA (r8118) in a Mac OS X 10.7.5 machine and that is working absolutely fine. Here I do not understand either of the errors. I opened the file klu.h to see what is happening but it was unclear. I have gone through the FAQs of MESA and MESAsdk but it didn't help. Can anyone please let me know how to solve this problem and install MESA properly ?
>
>
> Thanking,
>
> Regards,
> Sanskriti
>
> ( A project student at DAA in TIFR, Mumbai, India)
>
>
>
>
>
> ------------------------------------------------------------------------------
> Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
> Francisco, CA to explore cutting-edge tech and listen to tech luminaries
> present their vision of the future. This family event has something for
> everyone, including kids. Get more information and register today.
> http://sdm.link/attshape
> _______________________________________________
> mesa-users mailing list
> mesa-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mesa-users
>
>
>
> ------------------------------------------------------------------------------
> Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
> Francisco, CA to explore cutting-edge tech and listen to tech luminaries
> present their vision of the future. This family event has something for
> everyone, including kids. Get more information and register today.
> http://sdm.link/attshape_______________________________________________
> mesa-users mailing list
> mesa-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mesa-users
More information about the Mesa-users
mailing list