Debian Codegraph @

ChangeLog

raw
1 ------------------- Released version 2.0.9 ---------------------------
2
3 - Opari2 now generates valid code for Fortran 2008's 'module
4 subroutine'.
5
6 - opari2-config now supports the option '--cflags=clang', intended to
7 be used with clang, clang++, and flang.
8
9 - Additional shortcomings and potential workarounds have been
10 documented, see file OPEN_ISSUES.
11
12 ------------------- Released version 2.0.8 ---------------------------
13
14 - Fixed compilation error for instrumented OpenMP directives inside
15 'associate' constructs with gfortran.
16
17 - Prevent make distclean from erroneously removing source files.
18
19 ------------------- Released version 2.0.7 ---------------------------
20
21 - Include omp.h via <file>.opari.inc if it got removed from
22 <file>. <file>.opari.inc was empty if the compilation unit was
23 lacking any OpenMP directives. Thus, calls to API functions or using
24 OpenMP types issued warnings/errors on compilation of the modfied
25 sources.
26
27 - Handle C++14/17 numeric literals (binary integer, hexadecimal
28 floating-point), including seperators.
29
30 ------------------- Released version 2.0.6 ---------------------------
31
32 - make check's test/awk_script_test.sh was reported to fail due to
33 wrong ordering of regions provided by
34 pomp2_parse_init_regions.awk. Fixed.
35
36 - Handle C++11 multi line strings literals with arbitrary delimiter
37
38 ------------------- Released version 2.0.5 ---------------------------
39
40 - The number of regions reported by POMP2_Get_num_regions() was too
41 small if OpenMP barrier, flush, or taskwait constructs were present
42 in the code. As a consequence opari-lib-dummy crashed; Score-P
43 handled this situation gracefully. Fixed.
44
45 - When working on preprocessed Fortran files, opari2 duplicated line
46 directives. Compiling these files triggered warnings with certain
47 compilers. Fixed.
48
49 ------------------- Released version 2.0.4 ---------------------------
50
51 - Fixed some bad string accesses, thanks to Orion Poplawski.
52
53 ------------------- Released version 2.0.3 ---------------------------
54
55 - The instrumentation of OpenMP sections, more precisely the region
56 variable passed to POMP2_Section_end, was potentially
57 invalid. Invalid values were observed in case the environment
58 variable MALLOC_PERTURB_ was set to a non-zero value. Fixed.
59
60 ------------------- Released version 2.0.2 ---------------------------
61
62 - Opari2 usually adds nowait and an explicit barrier after the single
63 construct to measure the implicit barrier overhead caused by the
64 single construct. If copyprivate is given, neither nowait nor the
65 explicit barrier must be instrumented. Opari2 complies for
66 C/C++. For Fortran it added nowait and the explicit barrier even if
67 copyprivate is present. This results in a compilation error. Fixed.
68
69 - When creating the 'pomp2_init_regions.c' file, ignore symbols that
70 contain '.ITC.' but keep symbols of type 'D' (see below). These
71 symbols are created by Intel compilers and were considered as POMP2
72 region when the compilation flags '-ipo' or '-O3' were used. These
73 symbols caused linker errors during Score-P's link step.
74
75 ------------------- Released version 2.0.1 ---------------------------
76
77 - Ignore symbols of type 'D' (symbols in the initialized data section)
78 when creating the 'pomp2_init_regions.c' file. These symbols caused
79 linker errors during Score-P's link step.
80
81 - The option --disable=omp is supposed to only instrument parallel
82 regions; these are necessary for the thread management of tools
83 building upon OPARI2. But the implicit barrier at the end of
84 parallel regions was instrumented as well. This is fixed now.
85
86 - Empty lines between continuation lines of directives (e.g., due to
87 conditional compilation) caused OPARI2 to fail. Fixed.
88
89 ------------------- Released version 2.0 -----------------------------
90
91 - Opari2 was modularized. This means, all functionality directly
92 related to OpenMP was encapsulated, thus enabling the support of
93 new paradigms by adding the respective classes.
94
95 - Parallel loop bodies consisting of if+else were incorrectly
96 instrumented with the "end-loop-instrumentation" inserted before the
97 (first) else. Fixed.
98
99 - Compilation of instrumented code failed if 'default(none)' was
100 specified in the outmost parallel region and tasking and/or nesting
101 was used. Fixed.
102
103 - The use of if- or num_threads-clauses with trailing comma caused the
104 compilation of instrumented code to fail. Fixed.
105
106 - In Fortran one can expose only selected symbols of a used module,
107 e.g., 'use omp_lib, only: <symbol>'. If <symbol> is one of the
108 OpenMP lock API calls, OPARI2 would instrument it and compilation
109 would fail. Fixed.
110
111 ------------------- Released version 1.1.4 ---------------------------
112
113 - For free form Fortran source files, atomic operations which are
114 written over multiple lines are now supported.
115
116 - When an asterisk occurs in a schedule clause, this asterisk is
117 substituted in the CTC String by an @ to avoid collision with the
118 asterisk as CTC String delimiter. opari2_ctc_parser.c transforms
119 this back, when the CTC String is read.
120
121 - Fix in handling of continuation lines in openmp directives in
122 Fortran.
123
124 - Fixed detection of function keyword in Fortran.
125
126 - Fixed handling of variables named num_threads, so that they are no
127 longer detected as a num_threads clause
128
129 ------------------- Released version 1.1.3 ---------------------------
130
131 - Blank lines between continuation lines that can occur during
132 preprocessing caused OPARI2 to fail. Fixed.
133
134 - Changes to support Fujitsu's K Computer and FX10/FX100 systems.
135
136 - Fixed conditional jumps that depend on uninitialized values.
137
138 - Fixed handling if inode numbers for very large numbers
139
140 - Fixed generation of output file names for *.cuf and *.CUF files
141
142 ------------------- Released version 1.1.2 ---------------------------
143
144 - If num_threads-clauses or if-clauses are the only clause in a
145 continuation line, OPARI2 instrumentation resulted in empty
146 continuation lines, which causes compilation errors. Fixed this by
147 removing empty continuation lines in OpenMP directives.
148
149 - Install helper scripts that are not intended to be used directly in
150 <prefix>/libexec as opposed to <prefix>/bin.
151
152 - Support the --includedir and --bindir configure options.
153
154 - Prevent creation of empty '!$omp' lines during
155 instrumentation. These cause compilation errors at least for
156 gfortran.
157
158 - Prevent insertion of a newline after the 'copyin(pomp_tpd)'
159 instrumentation.
160
161 - OPARI2 erroneously complained about a 'missing continuation line' in
162 Fortran codes where '!$OMP PARALLEL' directive spans several lines
163 that use conditional compilation.
164
165 - On some systems the compiled output of pomp2-parse-init-regions.awk
166 caused undefined symbol linker failures due to an ambiguous regular
167 expression in the AWK script. Fixed.
168
169 ------------------- Released version 1.1.1 ---------------------------
170
171 - if-else-statements preceded by #pragma omp parallel were
172 instrumented erroneously. Fixed.
173
174 - OpenMP regions are reported with incorrect source filenames, both in
175 the region name (e.g., "!$omp parallel @rhs.prep.f:28" or "!$omp
176 parallel @rhs.input.F:28" rather than "!$omp parallel @rhs.f:28")
177 and associated attributes. Although not all compilers seem to be
178 affected, this issue is seen with GNU, Intel and IBM XL
179 compilers. Fixed.
180
181 - Blank lines (often the result of preprocessing) which occur within
182 Fortran directive continuation are ignored by compilers but treated
183 by Opari2 as missing continuation line errors. Fixed.
184
185 - Do not instrument an if(true) clause if the user hasn't specified
186 one. Although the previously instrumented if(true) clauses usually
187 do no harm, they prevent the CRAY compiler from generating parallel
188 code. This compiler bug was reported to CRAY.
189
190 - Instrumenting "parallel for" with "firstprivate(x) lastprivate(x)"
191 caused compilation errors. Fixed.
192
193 ------------------- Released version 1.1 -----------------------------
194
195 - The '--preprocess' flag was added to opari2, which indicates that a file
196 has already been preprocessed. This helps to handle OpenMP constructs
197 in header files or constructs dependent on preprocessor defines. Using
198 this option requires that pomp2_lib.h is already included. Furthermore,
199 it requires the marker ___POMP2_INCLUDE___ immediately after the
200 included pomp2_lib.h file.
201
202 - Fixed enddo detection in Fortran programs when multiple commands are placed
203 on one line separated by a semicolon.
204
205 - The '--cflags' argument from opari2-config now allows to specify a compiler
206 '--cflags[=(gnu|intel|sun|pgi|ibm|cray)]'. Special compiler dependent options
207 to avoid warnings caused by the instrumentation are added if a compiler is
208 specified.
209
210 - Added a ctc_string argument to the POMP2_Begin function. Note: This change
211 breaks compatibility to previous opari2 versions.
212
213 - If Intel's Language Extensions for Offload are used to offload code to a
214 Xeon Phi coprocessor, opari2 no longer instruments OpenMP code in these
215 regions or functions marked for execution on the coprocessor. This allows
216 handling OpenMP code on the host, when the measurement system does not
217 support the offload model.
218
219
220 ------------------- Released version 1.0.7 ---------------------------
221
222 - Fixed broken option --disable=atomic in Fortran and C/C++.
223
224 - Improving options --free-form and --fix-form.
225
226 - Note that within the context of providing the new opari2-config
227 option '--region-initialization' introduced in 1.0.7-rc1, the
228 script pomp2-parse-init-regions.awk was changed into an executable
229 command. The old options '--awk-cmd', '--awk-script', and '--egrep'
230 are still available but deprecated.
231
232 - Fixed problem parsing escaped characters in C source code which
233 caused opari2 to crash.
234
235 - Provide POMP2_Init_regions functions with a unique suffix (formerly
236 used gettimeofday was not "unique enough") to prevent duplicate
237 definition linker failures.
238
239 - Improved instrumentation for parallel regions that the default(none)
240 clause by replacing the pomp2_ctc_XX constant variable by
241 preprocessor defines.
242
243 - Fixed bug in instrumenting comments in macros which caused "ERROR:
244 unbalanced pragma/directive nesting for $END$ directive".
245
246 - Fix instrumentation by adding opari2 options --free-form and
247 --fix-form for cases where opari2's assumptions based on the file
248 extension (.f fixed-form) do not hold because the user specified
249 otherwise (e.g. by compiling with --ffree-form ).
250
251 - Resurrect the hidden feature "manually prevent OpenMP directives
252 from being instrumented" by documenting it. Parallel regions still get
253 instrumented as this a prerequisite of measurement tools to get the
254 internal thread handling correct.
255
256 - Improved parsing of the nm output in order to generate the region
257 initialization file in cases where the the POMP2_Init_reg routines
258 were generated with absolute addresses (e.g. using the Open64
259 compiler with inter-procedural analysis).
260
261 - Do not add any POMP2 statements in Fortran pure
262 subroutines/functions as this leads to compile errors.
263
264 - Simplify the generation the POMP2 init region file. Previously
265 opari2-config had to be called in a sequence (--egrep, --egrep,
266 --awk-cmd, --awk-script). This sequence is replaced by opari2-config
267 --region-initialization.
268
269 - Comments in macros are now ignored when processing.
270
271 ------------------- Released version 1.0.6 ---------------------------
272
273 - Changed opari-config option --pomp2-api-version to
274 --interface-version to make it consistent with otf2-config and
275 cube-config.
276
277 ------------------- Released version 1.0.5 ---------------------------
278
279 - Fix invalid insertion of <file>.opari.inc in conjunction with
280 continued 'dimension' statements.
281
282 - Improved Fortran 'end do' detection.
283
284 - CTC-strings grew to long for Fortran77. Size reduced.
285
286 - Use inode instead of gettimeofday as unique region identifier. In
287 very special circumstances gettimeofday resolution leads to
288 non-unique identifiers.
289
290 - CTC-strings contained wrong line-number information.
291
292 - Create temporary files in the directory of the output file.
293
294 - Detection of conditional compilation in free form Fortran improved.
295
296 ------------------- Released version 1.0.4 ---------------------------
297
298 - Provide correct region line numbers also for lazy initialization
299 during runtime. Previously the region end line was always 0 for lazy
300 initialization.
301
302 - Improved region end line number handling in conjunction with omitted
303 Fortran '!$omp end do' or '!$omp end parallel do' directives.
304
305 - Fix invalid insertion of <file>.opari.inc in Fortran77 codes with
306 arbitrary continuation line characters in column 6.
307
308 - Fix invalid insertion of <file>.opari.inc in Fortran codes in
309 conjunction with subroutine calls that distribute their arguments
310 over several lines.
311
312 ------------------- Released version 1.0.3 ---------------------------
313
314 - Prevent OPARI2 from instrumenting Fortran 'abstract interfaces'.
315
316 - Fix invalid insertion of <file>.opari.inc in conjunction with
317 Fortran 'USE' statements that contain line continuations.
318
319 - Fix invalid insertion of <file>.opari.inc in conjunction with
320 user-defined operators containing '=' in Fortran 'USE' statements.
321
322 - Fix instrumentation of .c files that produce a linker/mangling error
323 when compiled with a C++ compiler.
324
325 - Support for out-of-place a.k.a. VPATH builds. Generate
326 <file>.opari.inc in the directory of the output file.
327
328 - Fix instrumentation bug (C++ files only) where IBM and PGI compilers
329 expect threadprivate variables in different locations.
330
331 ------------------- Released version 1.0.2 ---------------------------
332
333 - Renaming of the configure related variable LD_FLAGS_FOR_BUILD to
334 LDFLAGS_FOR_BUILD for consistency.
335
336 - Renaming of the installed script pomp2_parse_init_regions.awk to
337 pomp2-parse-init-regions.awk for consistency.
338
339 - In Fortran, improved parsing of function and subroutine keywords.
340
341 - In in-place builds, the [dist]clean targets accidentally removed
342 files.
343
344 - Create task events only for tasks that actually get created.
345
346 - In Fortran, added `integer ( kind=4 )' to all integer variables
347 instrumented by opari2.
348
349 - In Fortran, continuation lines ending with comments were not
350 detected as continuation lines (Ticket 77).
351
352 ------------------- Released version 1.0.1 ---------------------------
353
354 - In Fortran, continued format descriptors resulted in invalid include
355 of the opari.inc file (Ticket 76).
356
357 - In Fortran, rename lists resulted in premature include of the
358 opari.inc file (Ticket 75).
359
360 ------------------- Released version 1.0 -----------------------------