1.1. Compiler


Version requirement

DAMASK in general

The material point model DAMASK relies on a working Fortran 2008 compiler on your system.

Spectral solver

As the spectral solver is based on PETSc, a full compiler suite (including C, C++, and Fortran compiler) is required. DAMASK runs with

  • GNU Compiler Collection 5.1 and higher. While the use of the most recent stable version is in general strongly recommended, 8.1 will not work due to a bug.
  • Intel Parallel Studio XE. The following are versions are known to work
    • 16.0 (only for Abaqus)
    • 17.0
    • 18.1

The code is checked to conform to the Fortran 2008 standard using the built-in features of GNU and Intel Fortran and should work with any compiler with Fortran 2008 support. If you successfully installed DAMASK using any other compiler, please let us know.

Abaqus and MSC.Marc/Mentat

Abaqus and MSC.Marc/Mentat run only with a specific version of

  • Intel Fortran and Intel C compiler

While the compilation of DAMASK as a UMAT or HYPELA2 subroutine can usually be done with any version of the Intel Fortran compiler, linking or executing might fail if the wrong compiler version was used. This is caused by a version mismatch between the Intel libraries included with Abaqus or MSC.Marc/Mentat and the version expected/included by the Intel Fortran compiler. We therefore strongly recommend to use the Intel Fortran compiler that matches the particular version of the libraries shipped with Abaqus or MSC.Marc/Mentat. This especially allows to use higher optimization levels!

For MSC.Marc/Mentat the preferred compiler version can be found in a file called include_linux64. The following list gives the default compiler version that should work:

  • MSC.Marc/Mentat 2018: Intel compiler version 17.0.2
  • MSC.Marc/Mentat 2018.1: Intel compiler version 17.0.2

For Abaqus, the preferred compiler version can be found in a file called PDir_SIMULIA_EstPrd/1/prerequisites/prerequisites.html. The following list gives the default compiler version that should work:

  • Abaqus 2017: Intel compiler version 16.0 Update 1
  • Abaqus 2018: Intel compiler version 16.0 Update 1
  • Abaqus 2019: Intel compiler version 16.0 Update 1


parent_gray

GNU Compiler Installation

Ubuntu

  • install GNU compiler suite
> apt-get install gfortran g++ gcc

Mac OS X

  • install homebrew
  • install gfortran with home-brew
> brew install gcc

This topic: Installation > WebHome > AuxiliarySoftware > Compiler
Topic revision: 11 Sep 2020, MartinDiehl
This site is powered by FoswikiCopyright by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding DAMASK? Send feedback
§ Imprint § Data Protection