It is unclear to me why the following declaration is causing a run-time error when compiled in ifort. This source does run as expected without error when compiled using GNU GCC version 4.4.3:
subroutine splitString(stringArray, stringCSV, separator)
implicit none
character(len=*), dimension(:), intent(inout) :: stringArray
character(len=*), intent(in) :: stringCSV
character(len=*), intent(in), optional :: separator
...
end subroutine
The run-time error is:
forrtl: severe (408): fort: (6): Non-unit stride for dimension 1 of assumed-shape array STRINGARRAY in routine SPLITSTRING and fe_asha_1ds1 specified
my ifort compiler is:
Intel(R) Visual Fortran Intel(R) 64 Compiler XE for applications running on Intel(R) 64, Version 12.0.4.196 Build 20110427