metgrid.exe: problem with read_met_module.f90 or gfortran?

Installing the WRF Preprocessing System

metgrid.exe: problem with read_met_module.f90 or gfortran?

Postby agwrffor » Fri May 20, 2016 12:49 am

I'm on a 64-bit Fedora 23 machine with gcc/gfortran/g++ version
5.3.1-6. I'm trying to run metgrid.exe with GFS data. Console output shows "Successful completion of metgrid", but at the end there is "Note: The following floating-point
exceptions are signalling: IEEE_OVERFLOW_FLAG IEEE_UNDERFLOW_FLAG
IEEE_DENORMAL". is this error message due to some issues with gfortran
and cause metgrid.exe to behave erratically.

I try to rebuild WPS 3.8 with a small modification in configure.wps :

FFLAGS = -ffree-form -O -fconvert=big-endian -frecord-marker=4 \
-g -fbacktrace -ffpe-trap=zero,overflow,underflow
F77FLAGS = -ffixed-form -O -fconvert=big-endian -frecord-marker=4 \
-g -fbacktrace -ffpe-trap=zero,overflow,underflow

and then
gdb ./metgrid.exe

(gdb) run

which shows some issues (at read_met_module.f90:354) . I wonder if anyone suggest me how to fix this problem.


Program received signal SIGFPE, Arithmetic exception.
0x0000000000444302 in read_met_module::read_next_met_field (fg_data=<error reading variable: Cannot access memory at address 0x7ffffffff000>, istatus=1)
at read_met_module.f90:354
354 fg_data % dx = fg_data % dx * 1000.
(gdb) continue
Continuing.

Program received signal SIGFPE: Floating-point exception - erroneous arithmetic operation.

Backtrace for this error:
Detaching after fork from child process 4155.
#0 0x7FFFF6E6FD58
#1 0x7FFFF6E6EEE0
#2 0x7FFFF636FB1F
#3 0x444302 in __read_met_module_MOD_read_next_met_field at read_met_module.f90:354
#4 0x43846D in __process_domain_module_MOD_get_interp_masks at process_domain_module.f90:1367
#5 0x43955E in __process_domain_module_MOD_process_single_met_time at process_domain_module.f90:757
#6 0x44294E in __process_domain_module_MOD_process_domain at process_domain_module.f90:184
#7 0x407234 in metgrid at metgrid.f90:80
#8 0x7FFFF635B57F
agwrffor
 
Posts: 1
Joined: Thu May 12, 2016 6:26 am

Return to Installation

Who is online

Users browsing this forum: No registered users and 2 guests

cron