[mesa-users] compile time error

Evan O'Connor evanoc at caltech.edu
Thu Nov 17 19:54:21 EST 2011

Hi all,

sorry, I don't like when I can't figure these things out on my own but this one has me stuck all afternoon.  If anyone else has/had this issue, any help would be great.

This has occurred with ifort 11.1, 12.0 and 12.1 and the at least the recent version of MESA (3723). The 11.1 was a on linux machine, the 12.0 and 12.1 on my mac book pro, they all have the same error.  I don't have access to gfortran 4.6, it would require an install so getting around this with ifort would be great.  For simplicity I turned off pgstar (although I get the same error with it turned on).  The only other change was that I commented out the -openmp option in the makefile_header file (I do this because it also gives me an error on my macbook pro, but I'm okay with no openmp support for now)


Error message:

ifort  -vec-report0 -traceback -error-limit 6   -o ../star \
	run_star_extras.o run_star.o  run.o -L../../make -lstar -L../../../lib -ldiffusion -lionization -lmlt -latm -lkaro -lcolors -leos -lkap -lnet -lscreen -lrates -lreaclib -lweak -lneu -lchem -linterp_2d -linterp_1d -lnum -lutils -lalert -lconst -lmtx -lmesaklu -lmesalapack -lmesablas   

forrtl: severe (173): A pointer passed to DEALLOCATE points to an array that cannot be deallocated
Image              PC                Routine            Line        Source             
star               0000000100648DE4  Unknown               Unknown  Unknown
star               000000010064757E  Unknown               Unknown  Unknown
star               0000000100611A21  Unknown               Unknown  Unknown
star               00000001005BBD3E  Unknown               Unknown  Unknown
star               00000001005F1CE0  Unknown               Unknown  Unknown
star               00000001000505DC  _alloc_mp_get_wor        1728  alloc.f
star               00000001000AB4C6  _mesh_adjust_mp_d         696  mesh_adjust.f
star               00000001000A1110  _mesh_adjust_mp_d         147  mesh_adjust.f
star               000000010015C6DF  _adjust_mesh_mp_r         423  adjust_mesh.f
star               0000000100181CE4  _evolve_mp_do_evo         108  evolve.f
star               00000001001A5166  _star_lib_mp_star         315  star_lib.f
star               00000001001B38AB  _run_star_support        2031  run_star_support.f
star               0000000100002FD1  _run_star_mp_do_r          15  run_star.f
star               00000001000030AC  _MAIN__                    38  run.f
star               000000010000125C  Unknown               Unknown  Unknown
star               0000000100001214  Unknown               Unknown  Unknown
first file is short

TEST FAILED -- compare test_output to tmp.txt

./build_and_test FAILED

As a note, tmp.txt is empty

More information about the Mesa-users mailing list