forrtl: error (72): floating overflow

3,783 views
Skip to first unread message

爾文超

unread,
Nov 26, 2015, 9:58:21 AM11/26/15
to SWAT-CUP
Hi everyone, just met this error when running SWAT CUP "forrtl: error (72): floating overflow", have anybody found this error as well?. I can run my original project just fine, but as soon as I increase the number of subbasins and HRUs it doesnt work anymore!!! does anybody know the causes?. Id appreciate your help very much.

Muhammad Shahid Iqbal

unread,
Jan 21, 2016, 8:02:52 AM1/21/16
to SWAT-CUP
HI
I am also facing the same problem in my project. My SWAT project runs fine but as soon as I start running my project in SWAT_CUP it gives me this error. Can any one tells whats the issue

West Cotter

unread,
Jan 22, 2016, 9:26:54 AM1/22/16
to SWAT-CUP

I have the same problem with my computer. I have run SWAT CUP for a while with no problem, but suddenly in yesterday, SWAT CUP did not work. I checked SWAT 2012, reset up SWAT CUP, but still the same error: error (72): floating overflow.

 

I plan to reinstall SWAT CUP see if the problem can be solved. We need someone here to say something about this.

 

Kangsheng

Abbaspour, Karim

unread,
Jan 22, 2016, 12:41:21 PM1/22/16
to swat...@googlegroups.com

This error is from swat. Either a swat file is corrupted, or you have some strange parameter combination in the swat files.

Run debug swat to see which file is giving the problem. You can also replace all swat files in the main swatcup directory with the files in backup directory.

At any event make sure swat is working before running swatcup.

Karim

--
You received this message because you are subscribed to the Google Groups "SWAT-CUP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to swat-cup+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Jim Almendinger

unread,
Jan 22, 2016, 5:01:21 PM1/22/16
to SWAT-CUP
If the run failed right away, it could be an input data-formatting error.  But if the run failed after a few years of simulation, then (as Karim pointed out), you may have some odd parameter combination that is causing some instability in the output.  This could be almost anything in SWAT where a quantity goes to zero and is later used as a divisor, giving you a floating overflow (infinite value) -- for example, when a volume of a pond or reservoir that has gone dry is divided into a mass of nutrients or sediment, to calculate a concentration.  You might just have some ranges beyond reasonable values in your SWAT-CUP runs that wouldn't be apparent when just running SWAT alone with a singe parameter set. 
-- Jim


From: "West Cotter" <westcot...@gmail.com>
To: "SWAT-CUP" <swat...@googlegroups.com>
Sent: Friday, January 22, 2016 8:26:53 AM
Subject: Re: forrtl: error (72): floating overflow

--
You received this message because you are subscribed to the Google Groups "SWAT-CUP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to swat-cup+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
Dr. James E. Almendinger
St. Croix Watershed Research Station
Science Museum of Minnesota
16910 152nd St N
Marine on St. Croix, MN  55047
tel: 651-433-5953 ext 19

Steven Jepsen

unread,
Jan 23, 2016, 5:49:18 PM1/23/16
to SWAT-CUP
I had this problem yesterday, and found through trial-and-error (varying one parameter at a time in SWAT-CUP par_val.txt file) that it was being caused by parameter SNO50CV becoming too close to 0.95, where it causes the natural log function to blow up. The cause of your problem may be different. This just illustrates how excessive parameter limits can cause math functions to blow up, resulting in floating overflow errors.

Steve

Pallav

unread,
May 12, 2016, 2:40:38 PM5/12/16
to SWAT-CUP
Hi Steve,


Right on spot! Your suggestion helped in my case. Changed limit of SNO50COV from 0-1 to 0.05 to 0.8 and it worked. I used to use the limits of value as prescribed in the SWAT Cup. However, it seems its wiser to shimmy a little within the both limits, just to be safe.

Thanks!


Pallav

Tesfalem Abraham

unread,
Feb 28, 2018, 3:18:16 AM2/28/18
to SWAT-CUP
Hello Dears,
I frequently checked swat.exe run and it works properly, but SWAT-CUP showes error  forrtl: error (73): floating divide by zero and sometimes forrtl: error (72): floating overflow after few simulation like 4 or 5, i see some solutions for the problem but regarding parameter combination and how can i guess it? your help please
regards!

Karim Abbaspour

unread,
Mar 1, 2018, 6:15:48 AM3/1/18
to swat...@googlegroups.com
probably a different version of swat. Copy your version into swatcup project folder.

Karim

To unsubscribe from this group and stop receiving emails from it, send an email to swat-cup+unsubscribe@googlegroups.com.

shara...@gmail.com

unread,
Dec 20, 2018, 5:11:48 AM12/20/18
to SWAT-CUP
I also got the same error. What is meant by Run debug swat and how to do it?

Tesfalem Abraham

unread,
May 2, 2019, 4:50:46 AM5/2/19
to SWAT-CUP
I have encountered the same forrtl error <73>. As suggested by Karim some strange parameters are the cause. I repeatedly changed those parameters range but not running.

Any body can suggest me how to find suitable par ranges.

Bendik Hansen

unread,
May 6, 2019, 8:35:14 AM5/6/19
to swat...@googlegroups.com
Please paste your parameters (including the r__, v__, a__ at the start) so we can see what might be wrong. 

Best regards,
Bendik

On Thu, May 2, 2019 at 10:50 AM Tesfalem Abraham <ates...@gmail.com> wrote:
I have encountered the same forrtl error <73>. As suggested by Karim some strange parameters are the cause. I repeatedly changed those parameters range but not running.

Any body can suggest me how to find suitable par ranges.

selam haftuu

unread,
May 11, 2020, 3:21:38 AM5/11/20
to SWAT-CUP
. Have you found a way to solve it?

chriss lewis

unread,
Jan 13, 2021, 5:48:14 AM1/13/21
to SWAT-CUP
shara...@gmail.com how is the run debug process done? did you get how to solve it? i am encountering the same problem, just at the start of running simulation after executing year 1 then the floating overflow error appears, but in arc swat the program runs simulation successful and the txtinout file is obtained.

2w2e

unread,
Jan 13, 2021, 6:30:46 AM1/13/21
to SWAT-CUP
where you installed ArcSWAT, there is a file called swat_64debug.exe 
Copy that into the swatcup project folder and run it in command line. 

Jillian Wangari

unread,
Jan 13, 2021, 7:29:38 AM1/13/21
to swat...@googlegroups.com
I have done this and there is no error in my execution it was completed successfully. 
Swat cup still gives the error 72 floating overflow

Filipe Pinhati

unread,
Apr 7, 2021, 4:17:41 AM4/7/21
to SWAT-CUP
In my case the run was failing right away, as soon as it started the first year of simulation.
But I could not identify any input data-formatting error.
So I created another SWAT-CUP project and pasted the content of the failing project in it, and now it works.

abiy Gebremichael

unread,
Apr 7, 2021, 9:19:33 AM4/7/21
to swat...@googlegroups.com
Copy swat2012.exe from main SWAT directory or from c drive or from your original SWAT instalstion c/Swat/arcswat/ directory and paste on SWATcup.sufi2 project and edit to swat.exe. there is other swat.exe in swatcup.sufi2 project and you can rename it to swatdefault.exe. finaly swat.exe will be that copied from SWAT instsllation. In evry new project preparation of swatcup  you need ti do this.
Cheers!

Filipe Pinhati

unread,
Apr 12, 2021, 5:01:39 PM4/12/21
to SWAT-CUP

At first I was getting the error (72) floating overflow error.
Then I run Swat-Cup in the command line using the Swat64_debug.exe application and now I got the error (63): output conversion error
So the error (72) floating overflow apparently became error (63) output conversion error.
And it says it is occurring on the output.std file.
Can anyone shed some light in this problem?

               Error below:

forrtl: error (63): output conversion error, unit 26, file E:\PhD_2019_backup\SWAT-CUP\Period_A_2nd_Calibration.Sufi2.SwatCup\output.std
Image              PC                Routine            Line        Source
swat_64debug.exe   00007FF716B264F4  Unknown               Unknown  Unknown
swat_64debug.exe   00007FF716B3D453  Unknown               Unknown  Unknown
swat_64debug.exe   00007FF7163054ED  STDAA                     493  stdaa.f
swat_64debug.exe   00007FF7165BC5C2  WRITEAA                   557  writeaa.f
swat_64debug.exe   00007FF715B94457  MAIN__                    113  main.f
swat_64debug.exe   00007FF716BF56BE  Unknown               Unknown  Unknown
swat_64debug.exe   00007FF716BF6389  Unknown               Unknown  Unknown
swat_64debug.exe   00007FF716BF62AE  Unknown               Unknown  Unknown
swat_64debug.exe   00007FF716BF616E  Unknown               Unknown  Unknown
swat_64debug.exe   00007FF716BF63F9  Unknown               Unknown  Unknown
KERNEL32.DLL       00007FFA74C17C24  Unknown               Unknown  Unknown
ntdll.dll          00007FFA750ED721  Unknown               Unknown  Unknown

Filipe Pinhati

unread,
Apr 12, 2021, 6:02:19 PM4/12/21
to SWAT-CUP
Just an update to my question, I have checked the output.std file and I found this strange data full of asterisk in the pathogen output.
It is the only portion in the entire output.std file with asterisks instead of numbers. I guess this is what is causing the problem

                   DIE-GRO P Q =     2349592.2 (No/M2)
                   DIE-GRO LP Q =  ************ (No/M2)
                   DIE-GRO P SED =       7553.8 (No/M2)
                   DIE-GRO LP SED =    -548094.3 (No/M2)
                   BACT P RUNOFF =       5490.7 (No/M2)
                   BACT LP RUNOFF = ************ (No/M2)
                   BACT P SEDIMENT =          1.5 (No/M2)
                   BACT LP SEDIMENT =          4.5 (No/M2)
                   BACT P INCORP =     472185.6 (No/M2)
                   BACT LP INCORP = ************ (No/M2)

Mamush Tekle

unread,
Dec 25, 2022, 6:00:10 PM12/25/22
to SWAT-CUP
I face the same error what i should do

Mamush Tekle

unread,
Dec 25, 2022, 6:11:02 PM12/25/22
to SWAT-CUP
Dear Dr. Abbabsour, I encountered forrtl: error (72) floating overflow while simulating a SWAT-CUP climate change scenario for 60 years, from 2031 to 2090, to assess the impact of climate change on streamflow. The calibration and validation stage was successful with good performance; however, I couldn't solve the trouble, so please help me locate the error and solve it.

Sefa Nur Yeşilyurt

unread,
Dec 22, 2024, 11:48:55 AM12/22/24
to SWAT-CUP
Thank you Steven Jepsen, You helped me solve my problem. I was really struggling for days. And the problem was SNO50CV. It works fine between 0-0.8. Thanks

26 Aralık 2022 Pazartesi tarihinde saat 02:11:02 UTC+3 itibarıyla Mamush Tekle şunları yazdı:
Reply all
Reply to author
Forward
0 new messages