check_dir behaves differently with Intel (18) and GNU (83)
check_dir subroutine behaves differently with intel and gnu for long directory paths. Gnu works fine with long directories while executable compiled with Intel, for some reason, introduces a line break during the check. As a result, Intel compiled executable always has False value for check_dir for long directory paths. Screenshots below -
Similar issue with line breaks was encountered in #40 (closed) which could already provide some clues to debug this.