[mesa-users] Errors showing up during installing MESA
Sanskriti Das
dassanskriti at gmail.com
Fri Jun 3 13:26:32 EDT 2016
Hello,
I am a masters student involved in a research project. I was
trying to install the latest version of MESA (mesa-r8118.zip) in my machine
( Mac OS X Lion 10.7.5). First I have installed the appropriate version of
MESAsdk (mesasdk-x86_64-osx-10.6-10.9-20160404.dmg
<http://www.astro.wisc.edu/%7Etownsend/resource/download/mesasdk/mesasdk-x86_64-osx-10.6-10.9-20160404.dmg>)
already. Hopefully MESAsdk is properly installed since it is showing the
version of gfortran without error ( although I am not exactly sure, since
gfortran was already installed in my machine, and the version mentioned in
the mesasdk website does not match with what I have), which has been asked
to test to verify the installation. 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-
"
gcc -O3 -fno-common -fexceptions -fbounds-check -Wuninitialized
-Warray-bounds -I../klu_src -c ../klu_src/klu_solve.c -o klu_d_solve.o
cc1: error: unrecognized command line option "-Warray-bounds"
cc1: error: unrecognized command line option "-Warray-bounds"
gcc -O3 -fno-common -fexceptions -fbounds-check -Wuninitialized
-Warray-bounds -I../klu_src -c ../klu_src/klu_scale.c -o klu_d_scale.o
cc1: error: unrecognized command line option "-Warray-bounds"
gcc -O3 -fno-common -fexceptions -fbounds-check -Wuninitialized
-Warray-bounds -I../klu_src -c ../klu_src/klu_refactor.c -o
klu_d_refactor.o
cc1: error: unrecognized command line option "-Warray-bounds"
cc1: error: unrecognized command line option "-Warray-bounds"
cc1: error: unrecognized command line option "-Warray-bounds"
cc1: error: unrecognized command line option "-Warray-bounds"
make: *** [btf_maxtrans.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [btf_order.o] Error 1
make: *** [btf_strongcomp.o] Error 1
make: *** [colamd_global.o] Error 1
make: *** [amd_1.o] Error 1
make: *** [amd_aat.o] Error 1
cc1: error: unrecognized command line option "-Warray-bounds"
cc1: error: unrecognized command line option "-Warray-bounds"
cc1: error: unrecognized command line option "-Warray-bounds"
make: *** [colamd.o] Error 1
make: *** [amd_2.o] Error 1
cc1: error: unrecognized command line option "-Warray-bounds"
cc1: error: unrecognized command line option "-Warray-bounds"
cc1: error: unrecognized command line option "-Warray-bounds"
make: *** [amd_defaults.o] Error 1
cc1: error: unrecognized command line option "-Warray-bounds"
make: *** [amd_postorder.o] Error 1
make: *** [amd_post_tree.o] Error 1
cc1: error: unrecognized command line option "-Warray-bounds"
cc1: error: unrecognized command line option "-Warray-bounds"
make: *** [amd_control.o] Error 1
cc1: error: unrecognized command line option "-Warray-bounds"
cc1: error: unrecognized command line option "-Warray-bounds"
make: *** [amd_order.o] Error 1
cc1: error: unrecognized command line option "-Warray-bounds"
cc1: error: unrecognized command line option "-Warray-bounds"
make: *** [amd_global.o] Error 1
cc1: error: unrecognized command line option "-Warray-bounds"
make: *** [klu_d.o] Error 1
cc1: error: unrecognized command line option "-Warray-bounds"
make: *** [klu_d_kernel.o] Error 1
make: *** [amd_valid.o] Error 1
make: *** [amd_info.o] Error 1
make: *** [klu_d_factor.o] Error 1
make: *** [klu_d_free_numeric.o] Error 1
cc1: error: unrecognized command line option "-Warray-bounds"
make: *** [amd_preprocess.o] Error 1
make: *** [klu_d_solve.o] Error 1
make: *** [klu_d_refactor.o] Error 1
make: *** [klu_d_scale.o] Error 1
/Users/admin/desktop/MESA/mesa-core/mtx/make
FAILED
/Users/admin/desktop/MESA/mesa-core/mtx
./build_and_test FAILED
"
*Let me tell how I tried to fix things and failed. *
1. I have checked that the make directory
(/Users/admin/desktop/MESA/mesa-core/mtx/make) contains a makefile and some
empty fortran 90 files. That is all I found. I do not know what failure it
directs to.
2. I have tried to run build_and_test as well, which is giving this error
message-
"
i686-apple-darwin11-llvm-gcc-4.2: ../private/mod_klu.F90: Fortran compiler
not installed on this system
i686-apple-darwin11-llvm-gcc-4.2: ../private/mod_klu.F90: Fortran compiler
not installed on this system
i686-apple-darwin11-llvm-gcc-4.2: ../private/my_lapack95.F90: Fortran
compiler not installed on this system
i686-apple-darwin11-llvm-gcc-4.2: ../private/my_lapack95.F90: Fortran
compiler not installed on this system
i686-apple-darwin11-llvm-gcc-4.2: ../private/thomas_block.F90: Fortran
compiler not installed on this system
i686-apple-darwin11-llvm-gcc-4.2: ../private/thomas_block.F90: Fortran
compiler not installed on this system
gcc -O3 -fno-common -fexceptions -fbounds-check -Wuninitialized
-Warray-bounds -I../klu_src -c ../klu_src/btf_order.c
cc1: error: unrecognized command line option "-Warray-bounds"
make: *** [btf_order.o] Error 1
/Users/admin/desktop/MESA/mesa-core/mtx/make
FAILED
"
This error is partly due to the absence of a file called 'format.dek' in
the mesa directory which has been asked to include in the script of all the
3 fortran files (mod_klu.F90,my_lapack95.F90,thomas_block.F90).
3. The gcc compiler in my machine (version 4.2.1) cannot recognize the
command "Warray-bounds" as shown in the error message, and hence the
executable files with extension .o cannot be produced. Since the command of
installation was in-built, I do not know how to change this cammand line of
gcc compiling. Apparently that would be the key to solve the problem.
*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)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20160603/e9117b77/attachment.html>
More information about the Mesa-users
mailing list