Closed danieljprice closed 3 years ago
got a line number at least:
*** longjmp causes uninitialized stack frame ***: mcfost terminated
======= Backtrace: =========
*** longjmp causes uninitialized stack frame ***: mcfost terminated
/lib64/libc.so.6(+0x1185ad)[0x2b8d63b195ad]
/lib64/libc.so.6(__fortify_fail+0x37)[0xmcfost2b8d63b19697]
[0x19872a2/lib64/libc.so.6(+0x]
followed by:
Image PC Routine Line Source
mcfost 0000000001896ABD Unknown Unknown Unknown
libpthread-2.17.s 00002B8D637F4630 Unknown Unknown Unknown
mcfost 00000000011EDBF7 atom_transfer_mp_ 671 atom_transfer.f90
mcfost 00000000011DDE9D atom_transfer_mp_ 923 atom_transfer.f90
libiomp5.so 00002B8D634F17A3 __kmp_invoke_micr Unknown Unknown
libiomp5.so 00002B8D634BF53A Unknown Unknown Unknown
libiomp5.so 00002B8D634BECCA Unknown Unknown Unknown
libiomp5.so 00002B8D634F1C00 Unknown Unknown Unknown
libpthread-2.17.s 00002B8D637ECEA5 Unknown Unknown Unknown
libc-2.17.so 00002B8D63AFF9FD clone Unknown Unknown
Aborted
which corresponds to the line of code:
I0_star = I0_star + Istar_loc(:,id) / npix2
so probably the issue is that there are no stars!
confirmed, if I comment out this line then everything runs ok. Not sure the best way to skip it... presumably just if (n_etoiles > 0)?
yes yes I'll modify it accordingly. That's because in general I always have a star even if Teff = 0 (basically I'm using the star as a spherical boundary, optically thick, condition). Meanwhile you can also set T = 0 in the parameter file and a very small radius.
currently the Atomictransfer branch fails with seg fault during emission_line_map, I am trying to track the origin of this: