Skip to content

IE, EM, and KT variants encountering Floating-point exceptions for basic keyfile #49

Open
@d-diaz

Description

I am now encountering Floating-point exceptions running these keyfiles from command line for FVS built on Linux and WSL. All other US variants that we have tests like this set up for are still running fine.

EM_BUILDTEST_KEYFILE

STDIDENT
12345 TEST
STDINFO          108       260         1
DESIGN            -1         1
INVYEAR       1990.0
NUMCYCLE        10.0
TREEFMT
(I4,I4,F6.0,I1,A3,F4.1,F3.1,2F3.0,F4.1,I1,
6I2,2I1,I2,2I3,2I1,F3.0)
TREEDATA        15.0
0101 100    501  1 51
0101 101    501  2 41
-999
PROCESS
STOP

IE_BUILDTEST_KEYFILE

STDIDENT
12345 TEST
STDINFO          118       260         1
DESIGN            -1         1
INVYEAR       1990.0
NUMCYCLE        10.0
TREEFMT
(I4,I4,F6.0,I1,A3,F4.1,F3.1,2F3.0,F4.1,I1,
6I2,2I1,I2,2I3,2I1,F3.0)
TREEDATA        15.0
0101 100    501  1 51
0101 101    501  2 41
-999
PROCESS
STOP

KT_BUILDTEST_KEYFILE

STDIDENT
12345 TEST
STDINFO                    571         1
DESIGN            -1         1
INVYEAR       1990.0
NUMCYCLE        10.0
TREEFMT
(I4,I4,F6.0,I1,A3,F4.1,F3.1,2F3.0,F4.1,I1,
6I2,2I1,I2,2I3,2I1,F3.0)
TREEDATA        15.0
0101 100    501  1 51
0101 101    501  2 41
-999
PROCESS
STOP

Here is what comes out:


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

Backtrace for this error:
#0  0x7faa20477960 in ???
#1  0x7faa20476ac5 in ???
#2  0x7faa2016651f in ???
#3  0x7faa203ddb58 in ???
#4  0x55fa3bf26907 in nvb_calcht2topd_
        at /root/projects/forestvegetationsimulator/bin/FVSkt_buildDir/nsvb.f:937
#5  0x55fa3bf266ad in nvb_ht2topdib_
        at /root/projects/forestvegetationsimulator/bin/FVSkt_buildDir/nsvb.f:613
#6  0x55fa3bf292cf in nvbc_
        at /root/projects/forestvegetationsimulator/bin/FVSkt_buildDir/nsvb.f:309
#7  0x55fa3bf8cc75 in volinitnvb_
        at /root/projects/forestvegetationsimulator/bin/FVSkt_buildDir/volinit.f:884
#8  0x55fa3bf9b10a in master.0.fvsvol
        at /root/projects/forestvegetationsimulator/bin/FVSkt_buildDir/fvsvol.f:299
#9  0x55fa3bf99506 in natcrs_
        at /root/projects/forestvegetationsimulator/bin/FVSkt_buildDir/fvsvol.f:53
#10  0x55fa3bcbf6c1 in vols_
        at /root/projects/forestvegetationsimulator/bin/FVSkt_buildDir/vols.f:159
#11  0x55fa3bda1dca in update_
        at /root/projects/forestvegetationsimulator/bin/FVSkt_buildDir/update.f:108
#12  0x55fa3bd632fc in gradd_
        at /root/projects/forestvegetationsimulator/bin/FVSkt_buildDir/gradd.f:180
#13  0x55fa3bd9f082 in tregro_
        at /root/projects/forestvegetationsimulator/bin/FVSkt_buildDir/tregro.f:52
#14  0x55fa3bd616cd in fvs_
        at /root/projects/forestvegetationsimulator/bin/FVSkt_buildDir/fvs.f:331
#15  0x55fa3bd70b51 in MAIN__
        at /root/projects/forestvegetationsimulator/bin/FVSkt_buildDir/main.f:18
#16  0x55fa3bd70c40 in main
        at /root/projects/forestvegetationsimulator/bin/FVSkt_buildDir/main.f:39

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions