Dear all
I’ve successfully run and compiled other steps of MEGAN, but I’m encountering a segmentation fault when running ./run.mgn2mech.v31.csh
in the final step. My wrfout_d03
file is 346.40MB, so it’s not excessively large in size.
Why might this overflow be happening during execution?
Cynthia
To get more detail about where this is happening (which is the start of tracing this down), you might try re-compiling using the flags from one of the I/OI API debug types – i.e., flags from the ioapi/Makeinclude.*dbg appropriate for your compiler-set.
I have tried changing different cases, recompiling IOAPI, and switching compilers, but none have resolved the issue (see error message in ‘log.txt’ below).
Additionally, when running ./make_all_programs.scr 64bit, I encounter many WARNINGs (see ‘make_all_programs.scr-WARNING.txt’ file below). Since there are many warnings and they do not affect the output, I have not made any modifications.
I’m unsure if this step could impact the segmentation fault I’m experiencing.
Thank you for your help
Cynthia
log.txt (56.7 KB)
make_all_programs.scr-WARNING.txt (221.1 KB)
I repeat: Let’s find out where this is happening. Compile everything using the flags from ioapi/Makeinclude.Linux2_x86_64gfortdbg:
-g -m64 -fbacktrace -Wsurprising -fbounds-check -finit-real=snan -ffpe-trap=invalid,zero,overflow
That way, we’ll at least have some idea where the segfault is coming from