# Problem compiling FAST with gfortran on Windows

**URL:** <https://forums.nlr.gov/t/problem-compiling-fast-with-gfortran-on-windows/897>\
**Category:** Computer-Aided Engineering Software Tools\
**Created:** [April 22, 2014, 5:49pm UTC](https://forums.nlr.gov/t/problem-compiling-fast-with-gfortran-on-windows/897 "2014-04-22T17:49:17Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Bonnie.Jonkman](https://dub1.discourse-cdn.com/nrel/user_avatar/forums.nlr.gov/bonnie.jonkman/32/3230_2.png) [@Bonnie.Jonkman](https://forums.nlr.gov/u/Bonnie.Jonkman)\
**Post date:** [April 23, 2014, 3:39pm UTC](https://forums.nlr.gov/t/problem-compiling-fast-with-gfortran-on-windows/897/2 "2014-04-23T15:39:02Z")

</div>

Hi Simon.

I have not experienced the issue you are having, but I did receive an email from someone several months ago, describing a similar problem. Here’s what he said:

> [@](#):
>
> In the NWTC Subroutine Library and the file NWTC\_IO.f90 the subroutine CheckArgs allocates the size of the Arg parameter based on the length of one of the Input parameters. This causes GFortran 4.8.1 to crash with “internal compiler error: in gfc\_get\_symbol\_decl, at fortran/trans-decl.c:1444”,  
> if you use the -finit-local-zero -fno-automatic flags. My workaround was to just allocate the size of the Arg parameter after it was declared.

I don’t think we have any strings longer than 1024 characters anywhere in the code, so instead of making it allocatable, you could also try to change this line in CheckArgs` CHARACTER(LEN(InputFile)) :: Arg ! A command-line argument.
`to ` CHARACTER(1024) :: Arg ! A command-line argument.
`

---

_[View the full topic](https://forums.nlr.gov/t/problem-compiling-fast-with-gfortran-on-windows/897)._
