WRF_INTERP - Segmentation fault

Any other graphics packages not listed above.

WRF_INTERP - Segmentation fault

Postby darkat » Wed Jul 22, 2015 5:55 am

Hi everyone,
I tried to compile wrf_interp:

ifort -o wrf_interp.exe -traceback -fpe0 -check all -ftrapuv -unroll0 -u -fp-stack-check -fpe-all=0 -no-ftz -O0 wrf_interp.F90

and the ifort compiler showed a error:

wrf_interp.F90(10): error #5102: Cannot open include file './netcdf.inc'
INCLUDE './netcdf.inc'


I added other flags and compiled correctly:

ifort -o wrf_interp.exe -L/opt/netcdf-4.3.0/lib -I/opt/netcdf-4.3.0/include -lnetcdff -lnetcdf -traceback -fpe0 -check all -ftrapuv -unroll0 -u -fp-stack-check -fpe-all=0 -no-ftz -O0 wrf_interp.F90

Finally, when i run wrf_interp.exe:

Segmentation fault (core dumped)

How can I fix the problem?
Thanks
darkat
 
Posts: 3
Joined: Mon Jan 13, 2014 7:11 am

Re: WRF_INTERP - Segmentation fault

Postby winash12 » Thu Jul 23, 2015 12:45 am

winash12
 
Posts: 44
Joined: Thu May 29, 2014 2:56 am

Re: WRF_INTERP - Segmentation fault

Postby darkat » Thu Jul 23, 2015 3:53 am

winash12 wrote:https://software.intel.com/en-us/articles/determining-root-cause-of-sigsegv-or-sigbus-errors


Thanks! I fix with the option compiler -heap-arrays.
darkat
 
Posts: 3
Joined: Mon Jan 13, 2014 7:11 am


Return to Others

Who is online

Users browsing this forum: No registered users and 1 guest