• Home
  • News
  • Tutorials
  • Analysis
  • About
  • Contact

TechEnablement

Education, Planning, Analysis, Code

  • CUDA
    • News
    • Tutorials
    • CUDA Study Guide
  • OpenACC
    • News
    • Tutorials
    • OpenACC Study Guide
  • Xeon Phi
    • News
    • Tutorials
    • Intel Xeon Phi Study Guide
  • OpenCL
    • News
    • Tutorials
    • OpenCL Study Guide
  • Web/Cloud
    • News
    • Tutorials
You are here: Home / Featured news / GCC 4.9.1 Adds OpenMP 4.0 Fortran Support for Multicore

GCC 4.9.1 Adds OpenMP 4.0 Fortran Support for Multicore

July 20, 2014 by Rob Farber Leave a Comment

Jakub Jelinek <jakub at redhat dot com> posted on July 16th that the GCC 4.9.1 release now supports  OpenMP 4.0 in Fortran (as well as C/C++). This is great news for multi-core programmers. GCC looks to be on-track to become the opensource platform that both Intel Xeon Phi and GPU programmers can use to to test pragma based programming. As reported on techEnablement.com, GCC is likely to support Intel Xeon Phi offload and OpenACC pragmas in 2015.

The Gnu gfortran wiki reports:

  • Full support for OpenMP 4.0: In GCC 4.9.1 (and later) there is now also full OpenMP 4.0 support for Fortran. (Except for actual offloading of target sections onto accelerators.) NOTE that modules using new OpenMPv4 features will generate a .mod file which is incompatible with GCC 4.9.0; otherwise, 4.9.0 and 4.9.1 generate identical (and hence compatible) .mod files.

The  “GCC 4.9 Release Series Changes, New Features, and Fixes” state:

  • Version 4.0 of the OpenMP specification is now supported in the C and C++ compilers and starting with the 4.9.1 release also in the Fortran compiler. The new -fopenmp-simd option can be used to enable OpenMP’s SIMD directives, while ignoring other OpenMP directives. The new -fsimd-cost-model= option permits to tune the vectorization cost model for loops annotated with OpenMP and Cilk Plus simd directives; -Wopenmp-simd warns when the current cost model overrides simd directives set by the user.

GNU OpenMP 4.0 Fortran

 

The 4.9.1 release is available from the FTP servers listed at  http://www.gnu.org/order/ftp.html.

For developers who wish to learn more, check out the five part Intel OpenMP 4.0 video series on SIMD and processor affinity. This should prove useful for those who use the GCC compiler even though the videos are based on the the Intel compiler.

As a side note, Phoronix notes that Intel’s Compiler Team Is Trying To Land OpenMP In Clang ASAP. Phoronix recently ran some OpenMP benchmarks of the out-of-tree LLVM Clang OpenMP support and compared the OMP performance to GCC in various multi-threaded benchmarks workloads. They wrote, “Clang will be much more competitive to GCC on modern multi-core systems in the many scientific applications that take advantage of OpenMP”.

Share this:

  • Twitter

Filed Under: Featured news, News, News, News, openacc, Xeon Phi Tagged With: Intel Xeon Phi, NVIDIA, OpenMP, x86

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Tell us you were here

Recent Posts

Farewell to a Familiar HPC Friend

May 27, 2020 By Rob Farber Leave a Comment

TechEnablement Blog Sunset or Sunrise?

February 12, 2020 By admin Leave a Comment

The cornerstone is laid – NVIDIA acquires ARM

September 13, 2020 By Rob Farber Leave a Comment

Third-Party Use Cases Illustrate the Success of CPU-based Visualization

April 14, 2018 By admin Leave a Comment

More Tutorials

Learn how to program IBM’s ‘Deep-Learning’ SyNAPSE chip

February 5, 2016 By Rob Farber Leave a Comment

Free Intermediate-Level Deep-Learning Course by Google

January 27, 2016 By Rob Farber Leave a Comment

Intel tutorial shows how to view OpenCL assembly code

January 25, 2016 By Rob Farber Leave a Comment

More Posts from this Category

Top Posts & Pages

  • Intel Broadwell Compute Gen8 GPU Architecture
  • LibreOffice OpenCL Acceleration for the Masses - Intel vs. AMD GPU performance
  • Recovering Speech from a Potato-chip Bag Viewed Through Soundproof Glass - Even With Commodity Cameras!
  • MultiOS Gaming, Media, and OpenCL Using XenGT Virtual Machines On Shared Intel GPUs
  • NVIDIA GTC 2015 keynote - Near-term Roadmap is Deep-Learning

Archives

© 2025 · techenablement.com