We have seen an increase in the file size of an executable of almost a factor of two (from 18Mb to 36Mb), when chaning from the intel compiler version 16.3 to 18.3.
My suspecition is the embeded IMKL library. We include the MKL library but try to limit it to only the double precision versions by this:
USE MKL_DFTI, FORGET=>DFTI_SINGLE, DFTI_SINGLE=>DFTI_SINGLE_R
As recommended in the documentation.
When compiling with 16.3 the size is 18.8Mb/31.6Mb (with/without the FORGET part).
When compiling with 18.3 the size is 36.0Mb/38.4Mb (with/without the FORGET part).
Is this expected behaviour?
Maybe ask in the MKL forum? I don’t quite get why so many MKL-specific questions get asked in the Fortran section.
For more complete information about compiler optimizations, see our Optimization Notice.