[mesa-users] Problem building library adipls on my first MESA install

Simon Jeffery csj at arm.ac.uk
Tue Sep 16 12:28:42 EDT 2014


My credentials ...

OS X 10.9.4
mesa -r6794
mesasdk 245
gfortran -v
gcc version 4.10.0 20140710 (experimental) (GCC) 

./install .....

************************************************
> 
> /Users/csj/Apps.Theory/mesa-r6794/adipls
> building adipls package.
> 
> make: `libadipls.a' is up to date.
> 
> At line 360 of file ../gensr/ofiles.c.f
> Fortran runtime error: Substring out of bounds: upper bound (2) of 'status' exceeds string length (1)
> 
> FAILED
> 
> 
> /Users/csj/Apps.Theory/mesa-r6794/adipls/test
> TEST FAILED -- compare obs.txt to obs.test.txt
> 
> 
> /Users/csj/Apps.Theory/mesa-r6794/adipls
> ./build_and_test FAILED
> 

**********************************************

Status is declared as a variable length string,  and referenced with length (1:1) and (1:2). 
I  restricted the tests to status(1:1) in lines 360 and 414, which fixed this bug. 

**********************************************
> 
> At line 110 of file readml.n.d.f
> Fortran runtime error: Index '2' of dimension 2 of array 'aa1' above upper bound of 1
> 
> FAILED
> 
> ***********************************************

aa1 is a 2d array with the length of the second dimension being 1, but is referenced by a variable (nn) 
defined by the same read statement, so I can see this going pear-shaped; 
thought I had better stop fixing things and ask for advice. 

Thanks - Simon

========================================================================
Professor C. Simon Jeffery                                                email: csj at arm.ac.uk
Research Astronomer,  Armagh Observatory                office: +442837512958
Adjunct Professor,  Trinity College Dublin                      skype: dr.simon.jeffery
VP, IAU Commission 27 - Variable Stars                        www: www.arm.ac.uk/~csj/
========================================================================









More information about the Mesa-users mailing list