Hello Support Team,
I’m requesting help because my SWAT+ project crashes consistently as soon as I enable at least one pesticide (I use the pesticide module as a PFAS proxy). The model runs normally when the number of pesticides in constituents.cs is 0, but crashes immediately when !pesticides > 0.
1. Primary Issue LocationComponent: SWAT+ Executable (Fortran crash during initialization) + SWAT+ Editor interaction (writing/reading inputs)
Area of impact: Model input / initialization and model functionality (pesticide module)
SWAT+ Editor Version: 3.2.1
Platform: win32 (Windows)
Python Mode: Compiled
Python Version: 3.13.12
SWAT+ Revision (Executable): 61.0.2 (I also tested 61.0.1 and rev60; the crash still happens as soon as a pesticide is declared)
Watershed details:
The problem: As soon as constituents.cs contains !pesticides > 0, SWAT+ crashes at startup with:
forrtl: severe (151): allocatable array is already allocated
Routine: PESTICIDE_INIT (line 43, pesticide_init.f90)
Call stack excerpt:
simulation.out stops right after reading the weather inputs (pet/precip/temp/solar/rh/wind/wgn/wx).
Steps to reproduce:
Troubleshooting already attempted:
Best regards,
Noémie
Noemie: Thank you for your email and your txtinout. I will take a look and get back to you as soon as possible.
Nancy
From: swatplu...@googlegroups.com <swatplu...@googlegroups.com>
On Behalf Of Noémie Morier
Sent: Monday, April 13, 2026 11:15 AM
To: SWAT+ Editor <swatplu...@googlegroups.com>
Subject: [SWAT+ Editor User Group] SWAT+ crash when enabling pesticides (forrtl severe 151 in PESTICIDE_INIT) — support request
|
You don't often get email from noemie...@gmail.com. Learn why this is important |
--
You received this message because you are subscribed to the Google Groups "SWAT+ Editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
swatplus-edit...@googlegroups.com.
To view this discussion visit
https://groups.google.com/d/msgid/swatplus-editor/beb61825-8b76-4d75-8b16-a64226004f36n%40googlegroups.com.