This document provides a summary of new and changed product features and includes notes about features and problems not described in the product documentation.
Please see the licenses included in the distribution as well as the Disclaimer and Legal Information section of these release notes for details. Please see the following links for information on this release of the Intel® Fortran Compiler 18.0.
- System Requirements
- How to install
- How to Use
- Documentation
- Intel-provided Debug Solutions
- Samples
- Redistributable Libraries
- Technical Support
- Compatibility
- New and Changed Compiler Features
- New and Changed Compiler Options
- Support removed
- Known Limitations
- Fortran 2008 and Fortran 2015 Feature Summary
- Disclaimer and Legal Information
Change History
This section highlights important changes from the previous product version and changes in product updates.
Changes in Update 5 (Intel® Fortran Compiler 18.0.6)
- Intel® Parallel Studio XE 2018 Update 5 Composer Edition has been updated to include more recent versions of 3rd party components, which include functional and security updates. Users should update to the latest version.
NOTE: Although the Intel® Parallel Studio XE 2018 installer package for this update release is Update 5, the actual compiler package within this Intel® Parallel Studio XE 2018 Update 5 installation package is the Intel® Compilers 2018 Update 6 component and NOT an Update 5 component. So you will see the Intel® Compilers 2018 Update 6 and not Update 5 in this installer package. The compiler(s) will also identify as 2018 Update 6. Be assured that the 2018.6.xxx directories and product versions 18.0.6 in packages you see during installation from the Intel® Parallel Studio XE 2018 Update 5 release are correct and are for the Intel® Compilers 2018 Update 6 component. We apologize for the confusion in the update numbering between the enclosing Intel® Parallel Studio XE 2018 Update 5 package and the actual Intel® Compilers 2018 Update 6 which is installed and is to be used for this update.
Changes in Update 4 (Intel® Fortran Compiler 18.0.4)
- Corrections to reported problems
Changes in Update 3 (Intel® Fortran Compiler 18.0.3)
- Changes to mitigate speculative execution side-channel issues
- -[a]xIcelake-server and -[a]xIcelake-client options added to support Ice Lake microarchitecture
- -[a]xCannonlake option added to support Cannon Lake microarchitecture
- Xcode* 9.3 support
- Corrections to reported problems
Changes in Update 2 (Intel® Fortran Compiler 18.0.2)
- Changes to mitigate speculative execution side-channel issues and new -mindirect-branch option
- Xcode* 9.2 support
- Corrections to reported problems
Changes in Update 1 (Intel® Fortran Compiler 18.0.1)
- Xcode* 9.1 and macOS* 10.13 support
- Corrections to reported problems
Changes since Intel® Fortran Compiler 17.0 (New in Intel® Fortran Compiler 18.0.0)
- New -assume contiguous_pointer and -assume contiguous_assumed_shape options
- New -qopt-zmm-usage option
- Diagnose non-contiguous pointer assignment to CONTIGUOUS pointer with -check contiguous
- New option -fimf-use-svml to force the usage of SVML
- Compile time dispatching for SVML calls
- Compiler treatment of -openmp option
- Enhanced -init=[keyword] initialization choices
- All -o* options replaced with -qo* options
- Offline documentation removed from the Installed Image
- Features from OpenMP* TR4 Version 5.0 Preview 1
- New and changed compiler options
- Fortran 2008 features supported
- Corrections to reported problems
System Requirements
- A 64-bit Intel®-based Apple* Mac* system host (development for 32-bit is still supported)
- 2GB RAM minimum, 4GB RAM recommended
- 4GB free disk space for all features
- One of the following combinations of macOS*, Xcode* and the Xcode SDK:
- macOS* 10.13
- Xcode* 9.4
- If doing command line development, the Command Line Tools component of Xcode* is required
Note: Advanced optimization options or very large programs may require additional resources such as memory or disk space.
How to install the Intel® Fortran Compiler
If you received the compiler product on DVD insert the DVD. Locate the disk image file (xxx.dmg) on the DVD and double-click. If you received the compiler product as a download, double-click the downloaded file. When the disk image opens, double-click on the xxx.app file to begin installation. Follow the prompts to complete installation.
How to use the Intel® Fortran Compiler
Intel® Parallel Studio XE 2018: Getting Started with the Intel® Fortran Compiler 18.0 for macOS* at <install-dir>/documentation_2018/en/compiler_f/ps2018/get_started_mf.htm contains information on how to use the Intel® Fortran Compiler from the command line and from Xcode*.
Documentation
Product documentation is linked from <install-dir>/documentation_2018/en/compiler_f/ps2018/get_started_mf.htm.
Offline Core Documentation Removed from the Installed Image
Offline core documentation is removed from the Intel® Parallel Studio XE installed image. The core documentation for the components of Intel® Parallel Studio XE are available at the Intel® Software Documentation Library for viewing online. You can also download an offline version of the documentation from the Intel® Software Development Products Registration Center: Product List > Intel® Parallel Studio XE Documentation.
User and Reference Guides, What's New and Release Notes, Installation Guides
Refer to the Intel® Parallel Studio XE Support – Documentation for additional User and Reference Guides, What’s New and Release Notes, and Installation Guides.
Intel-provided Debug Solutions
Intel®-provided debug solutions are based GNU* GDB. Please see Intel® Parallel Studio 2018 Composer Edition Fortran - Debug Solutions Release Notes for further information.
Samples
Product samples are now available online at Intel® Software Product Samples and Tutorials
Redistributable Libraries
Refer to the Redistributable Libraries for Intel® Parallel Studio XE for more information.
Technical Support
If you did not register your compiler during installation, please do so at the Intel® Software Development Products Registration Center. Registration entitles you to free technical support, product updates and upgrades for the duration of the support term.
For information about how to find Technical Support, Product Updates, User Forums, FAQs, tips and tricks, and other support information, please visit: http://www.intel.com/software/products/support/
Note: If your distributor provides technical support for this product, please contact them for support rather than Intel.
Compatibility
In general, object code and modules compiled with earlier versions of Intel Fortran Compiler for Linux* (8.0 and later) may be used in a build with version 17. Exceptions include:
- Sources that use the CLASS keyword to declare polymorphic variables and which were built with a compiler version earlier than 12.0 must be recompiled.
- Objects built with the multi-file interprocedural optimization (-ipo) option must be recompiled with the current version.
- Objects that use the REAL(16), REAL*16, COMPLEX(16) or COMPLEX*32 datatypes and which were compiled with versions earlier than 12.0 must be recompiled.
- Objects built for the Intel® 64 architecture with a compiler version earlier than 10.0 and that have module variables must be recompiled. If non-Fortran sources reference these variables, the external names may need to be changed to remove an incorrect leading underscore.
- Modules that specified an ATTRIBUTES ALIGN directive outside of a derived type and were compiled with versions earlier than 11.0 must be recompiled. The compiler will notify you if this issue is encountered.
- Modules that specified an ATTRIBUTES ALIGN directive inside a derived type declaration cannot be used by compilers older than 13.0.1.
- The implementation of the Fortran 2008 submodules feature required extensive changes to the internal format of binary .mod files. Therefore module files created by the version 16.0 or newer Fortran compiler cannot be used with version 15.0 or older Fortran compilers.
Stack Alignment Change for REAL(16) and COMPLEX(16) Datatypes
In versions prior to 12.0, when a REAL(16) or COMPLEX(16) (REAL*16 or COMPLEX*32) item was passed by value, the stack address was aligned at 4 bytes. For improved performance, the version 12 and later compilers align such items at 16 bytes and expects received arguments to be aligned on 16-byte boundaries. This change is also compatible with gcc.
This change primarily affects compiler-generated calls to library routines that do computations on REAL(16) values, including intrinsics. If you have code compiled with earlier versions and link it with the version 12 libraries, or have an application linked to the shared version of the Intel run-time libraries, it may give incorrect results.
In order to avoid errors, you must recompile all Fortran sources that use the REAL(16) and COMPLEX(16) datatypes if they were compiled by compiler versions earlier than 12.0.
New and Changed Features
The Intel® Fortran Compiler now supports all features from the Fortran 2008 standard. Additional Fortran 2008 features added in the Intel® Fortran 18.0 release are noted below. Please refer to the Fortran 2008 Standard (PDF) and the proposed draft Fortran 2015 Standard (PDF) if necessary.
Features from Fortran 2008
- COMPILER_OPTIONS and COMPILER_VERSION in ISO_FORTRAN_ENV
- COMPLEX arguments to trigonometric and hyperbolic intrinsic functions
- FINDLOC intrinsic function
- Optional argument BACK in MAXLOC and MINLOC intrinsic functions
- Multiple type-bound procedures in a PROCEDURE list
- Passing a non-pointer data item to a pointer dummy argument
- Polymorphic assignment with allocatable Left Hand Side (LHS)
- Allocatable components of recursive type and forward reference
- Data statement restrictions removed
Features from OpenMP*
Language features for task reductions from the OpenMP* Technical Report 4 : Version 5.0 Preview 1 specifications are now supported.
TASKGROUP now has the TASK_REDUCTION clause.
TASK includes now has the IN_REDUCTION clause.
TASKLOOP now has the REDUCTION and IN_REDUCTION clauses.
New monotonic, overlap and lastprivate keywords for OpenMP* SIMD directive:
!$omp ordered simd overlap(overlap_index)
!$omp ordered simd monotonic([var:step]s)
!$omp simd lastprivate(conditional:[vars])
For more information, see the compiler documentation or the link to the OpenMP* Specification above.
New and Changed Directives
New and Changed Compiler Options
Please refer to the compiler documentation for details
- -qopenmp replaces -openmp
- -init=[keyword]
- -o* options replaced by -qo* options
- -assume contiguous_pointer and -assume contiguous_assumed_shape options
- -check contiguous
- -fimf-use-svml
- -fimf-force-dynamic-target
For a list of deprecated compiler options, see the Compiler Options section of the documentation.
New -qopenmp Compiler Option replaces -openmp
To enable the OpenMP* feature, use -qopenmp. The compiler no longer accepts the previous spelling -openmp
Enhanced -init=[keyword] Compiler option
The option already allows scalars and arrays to be initialized with ZERO or SNAN. Feature support extends this to HUGE and MINUS_HUGE {+/- largest representable integer or real}, TINY and MINUS_Tiny {+/- smallest representable integer or real}, and INFINITY and MINUS_INFINITY for +/- IEEE Infinity.
All –o* options replaced by –qo* options
All the –o* options deprecated in the previous release have been replaced with –qo* options in this release with one noted exception, there is no change to the –o option for Linux* and macOS* used to name the output file.
A new diagnostic is issued when any now replaced –o option is used. For example:
$ ifort -openmp example.f90
ifort: command line error: option '-openmp' is not supported. Please use the replacement option '-qopenmp'
Options affected:
-offload-attribute-target=<target>
-offload-option,<target>,<tool>,<opts>
-[no-]offload[=<arg>]
-[no-]openmp
-openmp-lib=<arg>
-openmp-link=<arg>
-[no-]openmp-offload
-[no-]openmp-simd
-openmp-stubs
-openmp-threadprivate=<arg>
-openmp-report[=<level>]
-openmp-task=<arg>
-opt-args-in-regs=<arg>
-[no-]opt-assume-safe-padding
-opt-block-factor=<arg>
-[no-]opt-calloc
-[no-]opt-class-analysis
-[no-]opt-dynamic-align
-[no-]opt-gather-scatter-unroll
-[no-]opt-jump-tables=<arg>
-opt-malloc-options=<arg>
-[no-]opt-matmul
-[no-]opt-mem-layout-trans=<arg>
-[no-]opt-multi-version-aggressive
-[no-]opt-prefetch[=<val>]
-opt-prefetch-distance=<arg>
-opt-ra-region-strategy[=<arg>]
-[no-]opt-report-embed
-opt-report-file=<arg>
-opt-report-filter=<arg>
-opt-report-format=<arg>
-opt-report-phase=<arg>
-opt-report-routine=<arg>
-opt-report-help
-opt-report[=<arg>]
-opt-report-per-object
-opt-streaming-cache-evict=<arg>
-opt-streaming-stores=<arg>
-[no-]opt-subscript-in-range
-opt-threads-per-core=<arg>
New -assume contiguous_pointer and -assume contiguous_assumed_shape Compiler options
These are new options to assert that all assumed shape arrays and/or pointers have unit stride.
New -check contiguous Compiler option
The -check contiguous compiler option help to diagnose non-contiguous pointer assignment to CONTIGUOUS pointer. The -check all option includes this check.
New option -fimf-use-svml to force the usage of SVML
New option forces use of SVML where currently LIBM is used, for scalar math. This guarantees bitwise-same result of computations made with vectorized code vs computations made with scalar code. With this feature the compiler vectorizes math functions in -fp-model precise FP model and vectorized code produces results consistent with scalar code results.
Compile time dispatching for SVML calls
The compiler default behaviour is changed for SVML functions and a call to cpu-specific SVML entry is performed. Specifying new option -fimf-force-dynamic-target reverts to the previous behavior and dynamic SVML dispatching is used.
New -qopt-zmm-usage option
You can tune the zmm code generation done by the compiler with the new additional option -qopt-zmm-usage:low|high. The argument value of low provides a smooth transition experience from Intel® Advanced Vector Extensions 2 (Intel® AVX2) ISA to Intel® Advanced Vector Extensions 512 (Intel® AVX-512) ISA on a Skylake server microarchitecture target, such as for enterprise applications. Tuning for ZMM instruction use via explicit vector syntax such as #pragma omp simd simdlen() is recommended. The argument value of high is recommended for applications, such as HPC codes, that are bounded by vector computation to achieve more compute per instruction through use of the wider vector operations. The default value is low for Skylake server microarchitecture-family compilation targets and high for combined compilation targets.
Support Removed
Support for installation on OS X 10.11 or earlier has been removed
Support has been removed for installation and use on these operating system versions. Intel recommends migrating to a newer version of these operating systems.
Support for Xcode* 7.x or earlier has been removed
Support has been removed for these Xcode versions. Intel recommends migrating to a newer version of these developer toolsets.
Known Limitations
Xcode* requires explicit acceptance of Intel bundle at startup for integration to be installed
Beginning with Xcode* 6.3.2, the IDE integration for Intel® Parallel Studio XE does not complete installation until the next time Xcode is started after completing the product installation. When Xcode* is started, you will see a dialog:
The dialog is titled “Unexpected code bundles”, and mentions that Xcode found one or more code bundles not provided by Apple. It then has two buttons, one to “Load Bundles” and one to “Skip Bundles”. “Load Bundles” is required to be clicked to complete the Intel Parallel Studio XE IDE integration. Clicking “Skip Bundles” will cause the Intel tools to not be selectable in Xcode*.
Certain uses of OMP THREADPRIVATE with COMMON block name not diagnosed per OpenMP 4.5 rules
The OpenMP* 4.5 rules states that if a threadprivate directive specifying a common block name appears in one program unit, then such a directive must also appear in every other program unit that contains a COMMON statement specifying the same name. It must appear after the last such COMMON statement in the program unit. The Intel Fortran compiler does not properly diagnose this.
For example, the following program does not conform to the OpenMP* 4.5 specification and ifort does not diagnose and issue an error for the COMMON statements following the OMP THREADPRIVATE statement according to the rule above.
PROGRAM ex1
COMMON /common_blk1/x
!$OMP THREADPRIVATE(/common_blk1/)
COMMON /common_blk1/y
COMMON /common_blk1/z
END PROGRAM
Fortran 2008 and Fortran 2015 Feature Summary
The Intel® Fortran Compiler now supports all features from the Fortran 2008 standard. The Intel® Fortran Compiler also supports features from the proposed draft Fortran 2015 standard. Additional features will be supported in future releases. Features from the proposed Fortran 2015 standard supported by the current version include:
- Support for all features from “Technical Specification 29113 Further Interoperability with C”, planned for inclusion in Fortran 2015. These include:
- Assumed type (TYPE(*))
- Assumed rank (DIMENSION(..))
- relaxed restrictions on interoperable dummy arguments
- ISO_Fortran_binding.H C include file for use by C code manipulating “C descriptors” used by Fortran
Disclaimer and Legal Information
Optimization Notice |
---|
Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice. Notice revision #20110804 |
INFORMATION IN THIS DOCUMENT IS PROVIDED IN CONNECTION WITH INTEL(R) PRODUCTS. NO LICENSE, EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, TO ANY INTELLECTUAL PROPERTY RIGHTS IS GRANTED BY THIS DOCUMENT. EXCEPT AS PROVIDED IN INTEL'S TERMS AND CONDITIONS OF SALE FOR SUCH PRODUCTS, INTEL ASSUMES NO LIABILITY WHATSOEVER, AND INTEL DISCLAIMS ANY EXPRESS OR IMPLIED WARRANTY, RELATING TO SALE AND/OR USE OF INTEL PRODUCTS INCLUDING LIABILITY OR WARRANTIES RELATING TO FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR INFRINGEMENT OF ANY PATENT, COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT. UNLESS OTHERWISE AGREED IN WRITING BY INTEL, THE INTEL PRODUCTS ARE NOT DESIGNED NOR INTENDED FOR ANY APPLICATION IN WHICH THE FAILURE OF THE INTEL PRODUCT COULD CREATE A SITUATION WHERE PERSONAL INJURY OR DEATH MAY OCCUR.
Intel may make changes to specifications and product descriptions at any time, without notice. Designers must not rely on the absence or characteristics of any features or instructions marked "reserved" or "undefined." Intel reserves these for future definition and shall have no responsibility whatsoever for conflicts or incompatibilities arising from future changes to them. The information here is subject to change without notice. Do not finalize a design with this information.
The products described in this document may contain design defects or errors known as errata which may cause the product to deviate from published specifications. Current characterized errata are available on request.
Contact your local Intel sales office or your distributor to obtain the latest specifications and before placing your product order.
Copies of documents which have an order number and are referenced in this document, or other Intel literature, may be obtained by calling 1-800-548-4725, or go to: http://www.intel.com/design/literature.htm
Intel processor numbers are not a measure of performance. Processor numbers differentiate features within each processor family, not across different processor families. Go to:
http://www.intel.com/products/processor%5Fnumber/
The Intel® Fortran Compiler is provided under Intel’s End User License Agreement (EULA).
Please consult the licenses included in the distribution for details.
Intel, Intel logo, and Cilk are trademarks of Intel Corporation in the U.S. and other countries.
* Other names and brands may be claimed as the property of others.
Copyright © 2019 Intel Corporation. All Rights Reserved.
For more complete information about compiler optimizations, see our Optimization Notice.