Hi, I got following error when I run CMAQv5.3.3:
Program received signal SIGFPE: Floating-point exception - erroneous arithmetic operation.
Backtrace for this error:
#0 0x2AC6866D4697
#1 0x2AC6866D4CDE
#2 0x2AC6871673FF
#3 0x9381DA in m3dry_
#4 0x6CC539 in __depv_defn_MOD_get_depv at DEPV_DEFN.F:544
#5 0x91E7E4 in vdiff_ at vdiffproc.F:411
#6 0x86810D in sciproc_ at sciproc.F:237
#7 0x8566DD in cmaq_driver_ at driver.F:717
#8 0x8510C4 in MAIN__ at cmaq_main.F:97
==================================================================
= BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES
= PID 53953 RUNNING AT cuter-r740
= EXIT CODE: 136
= CLEANING UP REMAINING PROCESSES
= YOU CAN IGNORE THE BELOW CLEANUP MESSAGES
==================================================================
I had encounted this error before, but it disappeared after setting the DEBUG=FALSE.
For this run, I used the Noah LSM and the MODIS land use data and my WRF, CMAQ and MCIP version are 4.1.1, 5.3.3 and 5.3.3,separately. The compiler is gcc and gfortran.
I checked the m3dry.F and printed some information:
The code is:
IF ( ( NINT(GRID_DATA%LWMASK( c,r )) .EQ. 0 ) .OR. ( vegcr .EQ. 0.0 ) ) THEN ! water
print *, 'WATER:====================================='
print *, 'LWMASK:==================', GRID_DATA%LWMASK( c,r )
print *, 'vegcr:===============', vegcr
...
ELSE ! land
print *, 'LAND:====================================='
print *, 'LWMASK:==================', GRID_DATA%LWMASK( c,r )
print *, 'vegcr:===============', vegcr
The output is (can see from the attachment dust202103.log):
WATER:=====================================
LWMASK:================== 0.00000000
vegcr:=============== 0.00000000
WATER:=====================================
LWMASK:================== 0.00000000
vegcr:=============== 0.00000000
WATER:=====================================
LWMASK:================== 0.00000000
vegcr:=============== 0.00000000
...
LAND:=====================================
LWMASK:================== 1.00000000
vegcr:=============== 0.484998971
=============================
7.00000022E-03
1101.12646
0.217800006 0.128800005 0.00000000 4.50000000
=============================
LAND:=====================================
LWMASK:================== 1.00000000
vegcr:=============== 0.258183330
=============================
27376.0254
1.34305178E+09
0.217800006 0.108900003 0.00000000 0.00000000
=============================
Program received signal SIGFPE: Floating-point exception - erroneous arithmetic operation.
Backtrace for this error:
#0 0x2AC6866D4697
#1 0x2AC6866D4CDE
#2 0x2AC6871673FF
#3 0x9381DA in m3dry_
#4 0x6CC539 in __depv_defn_MOD_get_depv at DEPV_DEFN.F:544
#5 0x91E7E4 in vdiff_ at vdiffproc.F:411
#6 0x86810D in sciproc_ at sciproc.F:237
#7 0x8566DD in cmaq_driver_ at driver.F:717
#8 0x8510C4 in MAIN__ at cmaq_main.F:97
===================================================================================
= BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES
= PID 53953 RUNNING AT cuter-r740
= EXIT CODE: 136
= CLEANING UP REMAINING PROCESSES
= YOU CAN IGNORE THE BELOW CLEANUP MESSAGES
===================================================================================
YOUR APPLICATION TERMINATED WITH THE EXIT STRING: Floating point exception (signal 8)
This typically refers to a problem with your application.
Please see the FAQ page for debugging suggestions
real 28.91
user 11.91
sys 6.06
**************************************************************
** Runscript Detected an Error: CGRID file was not written. **
** This indicates that CMAQ was interrupted or an issue **
** exists with writing output. The runscript will now **
** abort rather than proceeding to subsequent days. **
**************************************************************
==================================
***** CMAQ TIMING REPORT *****
==================================
Start Day: 2021-03-06
End Day: 2021-03-07
Number of Simulation Days: 1
Domain Name: DUST202103
Number of Grid Cells: 803088 (ROW x COL x LAY)
Number of Layers: 39
Number of Processes: 1
All times are in seconds.
Num Day Wall Time
01 2021-03-06 28.91
Total Time = 28.91
Avg. Time = 28.91
I found there were zero LAI values over points where the grid cell is categorized as land within the landmask file(LWMASK in the file GRIDCRO2D ). I extracted the LAI and VEGCR from file METCRO2D and the LWMASK from file GRIDCRO2D into the excel, see the attachments. The excel file anomaly.xlsx shows the points where lai equal zero and landmask equal one (land).
!!!
My question are:
- This error may be bypassed setting the DEBUG=FALSE, and I can successfully got the results. However I wonder if this error can influence my results?
- Why there are zero LAI over the land points? Does something wrong with my WRF run or the land use data? If I want to solve it what I need to do?
anomaly.xlsx (65.6 KB)
lai-metcro2d.xlsx (75.7 KB)
lwmask-gridcro2d.xlsx (61.6 KB)
vegcr-metcro2d.xlsx (162.0 KB)
dust202103.log.txt (208.9 KB)