kate wrote:
> Just had a segmentation fault that I can't figure out at all:
> [code]forrtl: severe (174): SIGSEGV, segmentation fault occurred
> Image PC Routine Line Source
>
> oceanG 00000000035D46E5 Unknown Unknown Unknown
> oceanG 00000000035D2307 Unknown Unknown Unknown
> oceanG 000000000357EA64 Unknown Unknown Unknown
> oceanG 000000000357E876 Unknown Unknown Unknown
> oceanG 0000000003531296 Unknown Unknown Unknown
> oceanG 0000000003534E90 Unknown Unknown Unknown
> libpthread.so.0 00007F62B67E87E0 Unknown Unknown Unknown
> oceanG 00000000035082A5 nf_fread3d_mod_mp 156
> nf_fread3d.f90
> oceanG 0000000002EA599B get_state_ 851
> get_state.f90
> oceanG 0000000000F71736 initial_ 213
> initial.f90
> oceanG 000000000040C8EF ocean_control_mod 133
> ocean_control.f90
> oceanG 000000000040B8B6 MAIN__ 95
> master.f90
> oceanG 000000000040B68E Unknown Unknown Unknown
> libc.so.6 00007F62B53A6D1D Unknown Unknown Unknown
> oceanG 000000000040B569 Unknown Unknown
> Unknown[/code]
> It is failing in the reading of "u", specifically in the floating
> point attributes of "u". This is a new initial file I made the
> same way as the last one which ROMS has read many times. The above failure
> was with ifort, trying again with gfortran doesn't fail at all, so I'm
> chalking it up to a compiler bug. :?
Dear Kate,
I noticed that you have tried the ROMS coupled to CICE by METROMS. When I build and run roms standalone , everything gose well. But If I [b]mpirun oceanG[/b] after build ROMS coupled with CICE (i.e. the METROMS
https://github.com/metno/metroms), it turned [b]forrtl: severe (174): SIGSEGV, segmentation fault occurred[/b].
Could you please help me out ? I have tried many ways but still not solved it. I have upload my output log file and in file:
https://github.com/joeailvyou/METROMS-output-log
Even in [b]debug mode[/b] (but coupled to CICE), the error is not detail enouth:
[code]forrtl: severe (174): SIGSEGV, segmentation fault occurred
Image PC Routine Line Source
oceanG 00000000012153C1 Unknown Unknown Unknown
oceanG 0000000001213B17 Unknown Unknown Unknown
libmpi.so.12 00002AF06FB10762 Unknown Unknown Unknown
libmpi.so.12 00002AF06FB105B6 Unknown Unknown Unknown
libmpi.so.12 00002AF06FAFEE1C Unknown Unknown Unknown
libmpi.so.12 00002AF06FAE07C8 Unknown Unknown Unknown
libpthread.so.0 00002AF07015B5E0 Unknown Unknown Unknown
oceanG 0000000000FD44A8 Unknown Unknown Unknown
oceanG 0000000000FD156C Unknown Unknown Unknown
oceanG 0000000000FBC6FC Unknown Unknown Unknown
oceanG 0000000000F13600 Unknown Unknown Unknown
oceanG 0000000000408403 MAIN__ 106 master.f90
oceanG 0000000000406DCE Unknown Unknown Unknown
libc.so.6 00002AF07058DC05 Unknown Unknown Unknown
oceanG 0000000000406CD9 Unknown Unknown Unknown
forrtl: severe (174): SIGSEGV, segmentation fault occurred
Image PC Routine Line Source
oceanG 00000000012153C1 Unknown Unknown Unknown
oceanG 0000000001213B17 Unknown Unknown Unknown
libmpi.so.12 00002B8F2D10F762 Unknown Unknown Unknown
libmpi.so.12 00002B8F2D10F5B6 Unknown Unknown Unknown
libmpi.so.12 00002B8F2D0FDE1C Unknown Unknown Unknown
libmpi.so.12 00002B8F2D0DF7C8 Unknown Unknown Unknown
libpthread.so.0 00002B8F2D75A5E0 Unknown Unknown Unknown
oceanG 0000000000FD44A8 Unknown Unknown Unknown
oceanG 0000000000FD156C Unknown Unknown Unknown
oceanG 0000000000FBC6FC Unknown Unknown Unknown
oceanG 0000000000F13600 Unknown Unknown Unknown
oceanG 0000000000408403 MAIN__ 106 master.f90
oceanG 0000000000406DCE Unknown Unknown Unknown
libc.so.6 00002B8F2DB8CC05 Unknown Unknown Unknown
oceanG 0000000000406CD9 Unknown Unknown Unknown
real 0.49
user 5.06
sys 5.64
[/code]