Skip to content

Commit a1e34f7

Browse files
committed
Change copyright, add some comments.
1 parent cbc2b91 commit a1e34f7

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

easybuild/toolchains/compiler/pgi.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
##
22
# Copyright 2015 Bart Oldeman
33
#
4+
# This file is triple-licensed under GPLv2 (see below), MIT, and
5+
# BSD three-clause licenses.
6+
#
47
# This file is part of EasyBuild,
58
# originally created by the HPC team of Ghent University (http://ugent.be/hpc/en),
69
# with support of Ghent University (http://ugent.be/hpc),
@@ -46,10 +49,11 @@ class Pgi(Compiler):
4649

4750
COMPILER_FAMILY = TC_CONSTANT_PGI
4851

52+
# Reference: https://www.pgroup.com/doc/pgiref.pdf
4953
COMPILER_UNIQUE_OPTION_MAP = {
5054
'i8': 'i8',
5155
'r8': 'r8',
52-
'optarch': '', # default!
56+
'optarch': '', # PGI by default generates code for the arch it is running on!
5357
'openmp': 'mp',
5458
'strict': ['Mnoflushz','Kieee'],
5559
'precise': ['Mnoflushz'],

easybuild/toolchains/pgi.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
##
22
# Copyright 2015 Bart Oldeman
33
#
4+
# This file is triple-licensed under GPLv2 (see below), MIT, and
5+
# BSD three-clause licenses.
6+
#
47
# This file is part of EasyBuild,
58
# originally created by the HPC team of Ghent University (http://ugent.be/hpc/en),
69
# with support of Ghent University (http://ugent.be/hpc),

0 commit comments

Comments
 (0)