Issue running APEX

閲覧: 161 回
最初の未読メッセージにスキップ

Carlos Alberto Arnillas

未読、
2021/09/01 8:08:192021/09/01
To: EPIC / APEX Modeling Forum
Hello
I am having issues to run APEX, but I'm not certain what is causing the problems. I'm using APEX 1501, distributed independently from ArcAPEX.
The input and output files are attached, and the message reported by the console too.
Thanks in advance

Carlos Alberto




 FSITE    SITECOM.DAT
 FSUBA    SUBACOM.DAT
  FWPM    WPM10604.DAT
 FWIND    WIND0604.DAT
 FCROP    CROPCOM.DAT
 FTILL    TILLCOM.DAT
 FPEST    PESTCOM.DAT
 FFERT    FERTCOM.DAT
 FSOIL    SOILCOM.DAT
 FOPSC    OPSCCOM.DAT
 FTR55    TR55COM.DAT
 FPARM    PARM1501.DAT
 FMLRN    MLRN1501.DAT
 FPRNT    PRNT1501.DAT
 FHERD    HERD1501.DAT
 FWLST    WDLSTCOM.DAT
 FPSOD    PSOCOM.DAT
 FRFDT    RFDTLST.DAT
     RUN # =    0  SUBAREA FILE = ws00013.SUB
forrtl: severe (408): fort: (3): Subscript #1 of the array NCP has value 0 which is less than the lower bound of 1

Image              PC        Routine            Line        Source
APEX1501.exe       00DF05CF  Unknown               Unknown  Unknown
APEX1501.exe       00BF5F49  _MAIN__                  3245  MAIN_1501.f90
APEX1501.exe       00E91C3F  Unknown               Unknown  Unknown
APEX1501.exe       00E927DE  Unknown               Unknown  Unknown
APEX1501.exe       00E926C7  Unknown               Unknown  Unknown
APEX1501.exe       00E9256D  Unknown               Unknown  Unknown
APEX1501.exe       00E92848  Unknown               Unknown  Unknown
KERNEL32.DLL       767C6359  Unknown               Unknown  Unknown
ntdll.dll          773387A4  Unknown               Unknown  Unknown
ntdll.dll          77338774  Unknown               Unknown  Unknown
apex_in_out.zip

Luca

未読、
2021/09/07 5:47:002021/09/07
To: EPIC / APEX Modeling Forum
Dear Carlos,

From the information you made available, I think the problem is caused by the management file used in the third subarea. The management file is called fl_EstJsns_1.OPC and the problem is the fact that the first year of the rotation has value zero that is not accepted by the model.
Please, try to correct the value of the year for the first two operation, sort the operations by date, and try to run the model again.

Let me know if this solves the problem.
Luca

Carlos Alberto Arnillas

未読、
2021/09/08 18:46:202021/09/08
To: EPIC / APEX Modeling Forum
Thanks Luca
That problem was fixed after scheduling all the activities on year zero (applying fertilizers) to January 1st, year 1.
Now I am getting this other error: "fort: (3): Subscript #1 of the array TC has value 0 which is less than the lower bound of 1"
what could be causing it?
The updated zip file is attached 
Thanks in advance!

Carlos Alberto

ps. I tried to send this message twice, but an error message showed up. hopefully I'm not repeating it

apex_in_out2.zip

Luca

未読、
2021/09/10 3:39:422021/09/10
To: EPIC / APEX Modeling Forum
Carlos,
I replicated the error you are having in your simulation, and it seems to be related to a problem with the subarea configuration. Check again the routing and compare it to how the water should move from one subarea to the next one.

Luca

Carlos Alberto Arnillas

未読、
2021/09/10 18:05:542021/09/10
To: EPIC / APEX Modeling Forum
Thanks Luca!
I updated the SUB file and that problem was solved! First year started running, but unfortunately, another issue showed up.
Below is the error message and the files are also attached. Any advice will be greatly appreciated.

E:\BoQ\GIS_gan2\apex_files\apex_in>C:/APEX/apex1501.exe
 FSITE    SITECOM.DAT
 FSUBA    SUBACOM.DAT
  FWPM    WPM10604.DAT
 FWIND    WIND0604.DAT
 FCROP    CROPCOM.DAT
 FTILL    TILLCOM.DAT
 FPEST    PESTCOM.DAT
 FFERT    FERTCOM.DAT
 FSOIL    SOILCOM.DAT
 FOPSC    OPSCCOM.DAT
 FTR55    TR55COM.DAT
 FPARM    PARM1501.DAT
 FMLRN    MLRN1501.DAT
 FPRNT    PRNT1501.DAT
 FHERD    HERD1501.DAT
 FWLST    WDLSTCOM.DAT
 FPSOD    PSOCOM.DAT
 FRFDT    RFDTLST.DAT
     RUN # =    0  SUBAREA FILE = ws00013.SUB

    YEAR    1 OF   14

forrtl: error (72): floating overflow
Image              PC        Routine            Line        Source
APEX1501.exe       00E7A65F  ___libm_exp_w7              0  Unknown
APEX1501.exe       00E7A769  ___libm_exp_s9              0  Unknown
APEX1501.exe       007287BD  _CGROW                    113  CGROW.f90
APEX1501.exe       007B45B7  _BSUB                     768  BSUB.f90
APEX1501.exe       005EDF23  _BSIM                     469  BSIM.f90
APEX1501.exe       00C33D22  _MAIN__                  3761  MAIN_1501.f90
APEX1501.exe       00E91C3F  Unknown               Unknown  Unknown
APEX1501.exe       00E927DE  Unknown               Unknown  Unknown
APEX1501.exe       00E926C7  Unknown               Unknown  Unknown
APEX1501.exe       00E9256D  Unknown               Unknown  Unknown
APEX1501.exe       00E92848  Unknown               Unknown  Unknown
KERNEL32.DLL       767C6359  Unknown               Unknown  Unknown
ntdll.dll          773387A4  Unknown               Unknown  Unknown
ntdll.dll          77338774  Unknown               Unknown  Unknown
apex_in_out3.zip

Luca

未読、
2021/09/13 3:32:132021/09/13
To: EPIC / APEX Modeling Forum
Dear Carlos,

This time, I was not able to replicate the error. From the information provided by the error message, it seems to be related to the crop growth. One easy check you can do is to open the PARM file and check if you have any value on row 20 (you should have two numbers).
If you have two values, we will have to find a way to replicate this error on my computer so I can tell you what is causing it.

Luca

Carlos Alberto Arnillas

未読、
2021/09/13 18:11:242021/09/13
To: EPIC / APEX Modeling Forum
Dear Luca,
these are the values on row 20
  400.05  600.90
in the PARM1501.DAT file.
If you don't get the same error, which error message do you get? Or is it running without errors on your computer?

Carlos Alberto

Luca

未読、
2021/09/15 10:34:402021/09/15
To: EPIC / APEX Modeling Forum
Carlos,

I am having a different error. It happens in a different subroutine from the one you posted in your previous message. Tracing the error back in the code, it seems to be related to the standing live biomass that at some point has a negative value. The error happens in subarea 12 on year 2004, month 7, day 28 (but the standing live biomass becomes negative on day 27). I modified the subarea file removing subarea 12 and all the other subareas and the same error happened this time in subarea 4.
From the error message you posted, the problem in your case seems to be related to the crop growth, so I am wondering if, in the end, your and mine error are related.
A test you can do is to use just one subarea and run the model several times, every time with a different management of those you are using in this simulation. In this way you might be able to identify the management the is creating the error.

Let me know what you find.
Luca
メッセージは削除されました

Carlos Alberto Arnillas

未読、
2021/09/27 10:17:312021/09/27
To: EPIC / APEX Modeling Forum
Hi Luca
I followed your advice and ran each sub watershed independently to see if there was a problem with the crop management or soil data.
I found several ones that had issues running, apparently caused by some problem with the management. However, one of the operations had issues running in some areas but not in others. The only difference was the soil, so I started trying to understand what kind of problem was the soil causing. The  weird thing is that the problem seems to be originated by the thickness of the first layer. 
The soil file is "ONBDH~~~~~A.SOL"
Changing the first value from 0.13 to something else may cause APEX to crash. I checked one by one each of the possible values for the first layer, between 0.02 until 0.37. Of them, the model didn't crash with the following numbers: 0.04, 0.06, 0.09, 0.13, 0.15, 0.16, 0.17, 0.18, 0.19, 0.22, 0.23, 0.26, 0.29, 0.30, 0.31, 0.32, 0.34, 0.35, 0.36, 0.37. 
As you can see, the sequence is rather hectic. When the model crashed, it could be after one, two, three... thirteen years, or even before start running. I was not able to find any pattern there either.

The attached file contains all the information in the folder. 
As before, I would greatly appreciate any feedback!
Thanks!

Carlos Alberto
メッセージは削除されました
メッセージは削除されました
メッセージは削除されました

Luca

未読、
2021/09/28 8:37:432021/09/28
To: EPIC / APEX Modeling Forum
Dear Carlos,
Thank you for the information provided. I will do my best to work on your simulation and hopefully, I will be able to replicate your error and give you a solution.
I will let you know as soon as possible.

Best,
Luca
全員に返信
投稿者に返信
転送
新着メール 0 件