My program runs ok under 32bit platform. However when running in x64 platform, it crashes when it enters DftiCreateDescriptor. There is no error output when the app crashes, not even under debug mode.
I have tried Intel Fortran compiler 2017.8.275, and 2018.5.274, Also sequential and parallel modes.
That's an MKL thing - go ask in the MKL forum, and provide a test case.
For more complete information about compiler optimizations, see our Optimization Notice.