[Mesa-users] error with ./mk on astero module

Jennifer van Saders jlvs at hawaii.edu
Mon Dec 9 22:24:49 EST 2019


Hi all,

I've just installed MESA on a new machine and have hit some issues getting
the astero module up and running.

I'm on a 2019 iMac, OSX Mojave 10.14.6.
MESA version 12115
SDK 19.11.2

echo $MESA_DIR
/Users/jvansaders/Documents/research/mesa/mesa-r12115

echo $MESASDK_ROOT
/Applications/mesasdk


When I attempt to ./clean and ./mk within the test_suite/astero_gyre
directory there are no issues; standard (non-astero) MESA runs without any
apparent issues. However, when I copy that entire test directory
(astero_gyre) to a new location, edit the path on the makefile to my
MESA_DIR, and ./clean and ./mk:

gfortran -Wno-uninitialized -fno-range-check -fmax-errors=7
 -fprotect-parens -fno-sign-zero -fbacktrace -ggdb -finit-real=snan
-fopenmp -fbounds-check -Wuninitialized -Warray-bounds -ggdb
-I/Users/jvansaders/Documents/research/mesa/mesa-r12115/include -c
-ffree-form -x f95-cpp-input
-I/Users/jvansaders/Documents/research/mesa/mesa-r12115/star/astero/defaults
/Users/jvansaders/Documents/research/mesa/mesa-r12115/star/astero/src/astero_data.f
/Users/jvansaders/Documents/research/mesa/mesa-r12115/star/astero/src/astero_data.f:901:132:
  901 |             if (ierr /= 0) call mesa_error(__FILE__,__LINE__)
      |
                                                               1
Error: Line truncated at (1) [-Werror=line-truncation]
/Users/jvansaders/Documents/research/mesa/mesa-r12115/star/astero/src/astero_data.f:901:43:
  901 |             if (ierr /= 0) call mesa_error(__FILE__,__LINE__)
      |                                           1
Error: Missing ')' in statement at or before (1
/Users/jvansaders/Documents/research/mesa/mesa-r12115/star/astero/src/astero_data.f:903:132:
  903 |             if (ierr /= 0) call mesa_error(__FILE__,__LINE__)
      |
                                                               1
Error: Line truncated at (1) [-Werror=line-truncation]
/Users/jvansaders/Documents/research/mesa/mesa-r12115/star/astero/src/astero_data.f:903:43:
  903 |             if (ierr /= 0) call mesa_error(__FILE__,__LINE__)
      |                                           1
Error: Missing ')' in statement at or before (1)
/Users/jvansaders/Documents/research/mesa/mesa-r12115/star/astero/src/astero_data.f:905:132:
  905 |             if (ierr /= 0) call mesa_error(__FILE__,__LINE__)
      |
                                                               1
Error: Line truncated at (1) [-Werror=line-truncation]
/Users/jvansaders/Documents/research/mesa/mesa-r12115/star/astero/src/astero_data.f:905:43:
  905 |             if (ierr /= 0) call mesa_error(__FILE__,__LINE__)
      |                                           1
Error: Missing ')' in statement at or before (1)
/Users/jvansaders/Documents/research/mesa/mesa-r12115/star/astero/src/astero_data.f:907:132:
  907 |             if (ierr /= 0) call mesa_error(__FILE__,__LINE__)

      |
                                                               1
Error: Line truncated at (1) [-Werror=line-truncation]
/Users/jvansaders/Documents/research/mesa/mesa-r12115/star/astero/src/astero_data.f:907:43:
  907 |             if (ierr /= 0) call mesa_error(__FILE__,__LINE__)

      |                                           1
Error: Missing ')' in statement at or before (1)
compilation terminated due to -fmax-errors=7.
f951: some warnings being treated as errors
make: *** [astero_data.o] Error 1
FAILED



I feel like I'm missing something simple, but it has me stumped!


Thanks,
Jen

-- 
Jennifer van Saders
Assistant Astronomer
Institute for Astronomy, University of Hawaii
2680 Woodlawn Dr, Honolulu, HI 96822
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20191209/11e29b96/attachment.htm>


More information about the Mesa-users mailing list