UPP (upp-srw-2.2.0)
Loading...
Searching...
No Matches
CMakeFortranCompilerId.F
1 PROGRAM cmakefortrancompilerid
2#if 0
3! Identify the compiler
4#endif
5#if defined(_MSC_VER)
6 print *, 'INFO:simulate[MSVC]'
7# if _MSC_VER >= 1900
8 print *, 'INFO:simulate_version[019.00]'
9# elif _MSC_VER >= 1800
10 print *, 'INFO:simulate_version[018.00]'
11# elif _MSC_VER >= 1700
12 print *, 'INFO:simulate_version[017.00]'
13# elif _MSC_VER >= 1600
14 print *, 'INFO:simulate_version[016.00]'
15# elif _MSC_VER >= 1500
16 print *, 'INFO:simulate_version[015.00]'
17# elif _MSC_VER >= 1400
18 print *, 'INFO:simulate_version[014.00]'
19# elif _MSC_VER >= 1310
20 print *, 'INFO:simulate_version[013.01]'
21# else
22 print *, 'INFO:simulate_version[013.00]'
23# endif
24#endif
25#if defined(__INTEL_LLVM_COMPILER)
26 print *, 'INFO:compiler[IntelLLVM]'
27! __INTEL_LLVM_COMPILER = VVVVRP prior to 2021.2.0, VVVVRRPP for 2021.2.0 and
28! later. Look for 6 digit vs. 8 digit version number to decide encoding.
29! VVVV is no smaller than the current year when a version is released.
30# if __INTEL_LLVM_COMPILER < 1000000
31# define COMPILER_VERSION_MAJOR DEC(__INTEL_LLVM_COMPILER/100)
32# define COMPILER_VERSION_MINOR DEC(__INTEL_LLVM_COMPILER/10 % 10)
33# define COMPILER_VERSION_PATCH DEC(__INTEL_LLVM_COMPILER % 10)
34# else
35# define COMPILER_VERSION_MAJOR DEC(__INTEL_LLVM_COMPILER/10000)
36# define COMPILER_VERSION_MINOR DEC(__INTEL_LLVM_COMPILER/100 % 100)
37# define COMPILER_VERSION_PATCH DEC(__INTEL_LLVM_COMPILER % 100)
38# endif
39#elif defined(__INTEL_COMPILER) && __INTEL_COMPILER == 201900
40 print *, 'INFO:compiler[IntelLLVM]'
41! ifx 2021.1 forgot to define __INTEL_LLVM_COMPILER.
42! Instead it defines __INTEL_COMPILER == 201900.
43# define COMPILER_VERSION_MAJOR DEC(2021)
44# define COMPILER_VERSION_MINOR DEC(1)
45# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER_UPDATE)
46# define COMPILER_VERSION_TWEAK DEC(__INTEL_COMPILER_BUILD_DATE)
47#elif defined(__INTEL_COMPILER) || defined(__ICC)
48 print *, 'INFO:compiler[Intel]'
49! __INTEL_COMPILER = VRP prior to 2021, and then VVVV for 2021 and later.
50# if __INTEL_COMPILER < 2021
51# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER/100)
52# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER/10 % 10)
53# if defined(__INTEL_COMPILER_UPDATE)
54# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER_UPDATE)
55# else
56# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER % 10)
57# endif
58# else
59# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER)
60# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER_UPDATE)
61! The third version component from --version is an update index,
62! but no macro is provided for it.
63# define COMPILER_VERSION_PATCH DEC(0)
64# endif
65# if defined(__INTEL_COMPILER_BUILD_DATE)
66# define COMPILER_VERSION_TWEAK DEC(__INTEL_COMPILER_BUILD_DATE)
67# endif
68#elif defined(__SUNPRO_F95)
69 print *, 'INFO:compiler[SunPro]'
70# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_F95>>8)
71# define COMPILER_VERSION_MINOR HEX(__SUNPRO_F95>>4 & 0xF)
72# define COMPILER_VERSION_PATCH HEX(__SUNPRO_F95 & 0xF)
73#elif defined(__SUNPRO_F90)
74 print *, 'INFO:compiler[SunPro]'
75# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_F90>>8)
76# define COMPILER_VERSION_MINOR HEX(__SUNPRO_F90>>4 & 0xF)
77# define COMPILER_VERSION_PATCH HEX(__SUNPRO_F90 & 0xF)
78#elif defined(_CRAYFTN)
79 print *, 'INFO:compiler[Cray]'
80# define COMPILER_VERSION_MAJOR DEC(_RELEASE_MAJOR)
81# define COMPILER_VERSION_MINOR DEC(_RELEASE_MINOR)
82# if defined(_RELEASE_PATCHLEVEL)
83# define COMPILER_VERSION_PATCH DEC(_RELEASE_PATCHLEVEL)
84# endif
85#elif defined(__G95__)
86 print *, 'INFO:compiler[G95]'
87# define COMPILER_VERSION_MAJOR DEC(__G95__)
88# define COMPILER_VERSION_MINOR DEC(__G95_MINOR__)
89#elif defined(__PATHSCALE__)
90 print *, 'INFO:compiler[PathScale]'
91# define COMPILER_VERSION_MAJOR DEC(__PATHCC__)
92# define COMPILER_VERSION_MINOR DEC(__PATHCC_MINOR__)
93# if defined(__PATHCC_PATCHLEVEL__)
94# define COMPILER_VERSION_PATCH DEC(__PATHCC_PATCHLEVEL__)
95# endif
96#elif defined(__ABSOFT__)
97 print *, 'INFO:compiler[Absoft]'
98#elif defined(__LCC__) && (defined(__GNUC__) || defined(__GNUG__) || defined(__MCST__))
99 print *, 'INFO:compiler[LCC]'
100# define COMPILER_VERSION_MAJOR DEC(1)
101# define COMPILER_VERSION_MINOR DEC(__LCC__ - 100)
102# if defined(__LCC_MINOR__)
103# define COMPILER_VERSION_PATCH DEC(__LCC_MINOR__)
104# endif
105#elif defined(__GNUC__)
106 print *, 'INFO:compiler[GNU]'
107# define COMPILER_VERSION_MAJOR DEC(__GNUC__)
108# define COMPILER_VERSION_MINOR DEC(__GNUC_MINOR__)
109# if defined(__GNUC_PATCHLEVEL__)
110# define COMPILER_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
111# endif
112#elif defined(__IBMC__)
113# if defined(__COMPILER_VER__)
114 print *, 'INFO:compiler[zOS]'
115# elif __IBMC__ >= 800
116 print *, 'INFO:compiler[XL]'
117# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100)
118# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10)
119# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10)
120# else
121 print *, 'INFO:compiler[VisualAge]'
122# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100)
123# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10)
124# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10)
125# endif
126#elif defined(__NVCOMPILER) || defined(__NVCOMPILER_LLVM__)
127 print *, 'INFO:compiler[NVHPC]'
128# if defined(__NVCOMPILER_MAJOR__)
129# define COMPILER_VERSION_MAJOR DEC(__NVCOMPILER_MAJOR__)
130# else
131# define COMPILER_VERSION_MAJOR DEC(__PGIC__)
132# endif
133# if defined(__NVCOMPILER_MINOR__)
134# define COMPILER_VERSION_MINOR DEC(__NVCOMPILER_MINOR__)
135# else
136# define COMPILER_VERSION_MINOR DEC(__PGIC_MINOR__)
137# endif
138# if defined(__NVCOMPILER_PATCHLEVEL__)
139# define COMPILER_VERSION_PATCH DEC(__NVCOMPILER_PATCHLEVEL__)
140# elif defined(__PGIC_PATCHLEVEL__)
141# define COMPILER_VERSION_PATCH DEC(__PGIC_PATCHLEVEL__)
142# endif
143#elif defined(__PGI)
144 print *, 'INFO:compiler[PGI]'
145# define COMPILER_VERSION_MAJOR DEC(__PGIC__)
146# define COMPILER_VERSION_MINOR DEC(__PGIC_MINOR__)
147# if defined(__PGIC_PATCHLEVEL__)
148# define COMPILER_VERSION_PATCH DEC(__PGIC_PATCHLEVEL__)
149# endif
150#elif defined(__FLANG)
151 print *, 'INFO:compiler[Flang]'
152# define COMPILER_VERSION_MAJOR DEC(__FLANG_MAJOR__)
153# define COMPILER_VERSION_MINOR DEC(__FLANG_MINOR__)
154# if defined(__FLANG_PATCHLEVEL__)
155# define COMPILER_VERSION_PATCH DEC(__FLANG_PATCHLEVEL__)
156# endif
157#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__)
158 print *, 'INFO:compiler[VisualAge]'
159#elif defined(__hpux) || defined(__hpux__)
160 print *, 'INFO:compiler[HP]'
161#elif defined(NAGFOR)
162 print *, 'INFO:compiler[NAG]'
163#define COMPILER_VERSION_MAJOR DEC(__NAG_COMPILER_RELEASE/10)
164#define COMPILER_VERSION_MINOR DEC(__NAG_COMPILER_RELEASE % 10)
165#define COMPILER_VERSION_PATCH DEC(__NAG_COMPILER_BUILD)
166#elif defined(__FUJITSU)
167 print *, 'INFO:compiler[Fujitsu]'
168# if defined(__FRT_major__)
169# define COMPILER_VERSION_MAJOR DEC(__FRT_major__)
170# define COMPILER_VERSION_MINOR DEC(__FRT_minor__)
171# define COMPILER_VERSION_PATCH DEC(__FRT_patchlevel__)
172# elif defined(__FRT_version__)
173 print *, 'INFO:compiler_version['//__frt_version__//']'
174# endif
175#else
176 print *, 'INFO:compiler[]'
177#endif
178#if defined(__CRAYXT_COMPUTE_LINUX_TARGET)
179 print *, 'INFO:compiler_wrapper[CrayPrgEnv]'
180#endif
181
182#if 0
183! Identify the platform
184#endif
185#if defined(__linux) || defined(__linux__) || defined(linux)
186 print *, 'INFO:platform[Linux]'
187#elif defined(__CYGWIN__)
188 print *, 'INFO:platform[Cygwin]'
189#elif defined(__MINGW32__)
190 print *, 'INFO:platform[MinGW]'
191#elif defined(__APPLE__)
192 print *, 'INFO:platform[Darwin]'
193#elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32)
194 print *, 'INFO:platform[Windows]'
195#elif defined(__FreeBSD__) || defined(__FreeBSD)
196 print *, 'INFO:platform[FreeBSD]'
197#elif defined(__NetBSD__) || defined(__NetBSD)
198 print *, 'INFO:platform[NetBSD]'
199#elif defined(__OpenBSD__) || defined(__OPENBSD)
200 print *, 'INFO:platform[OpenBSD]'
201#elif defined(__sun) || defined(sun)
202 print *, 'INFO:platform[SunOS]'
203#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__)
204 print *, 'INFO:platform[AIX]'
205#elif defined(__hpux) || defined(__hpux__)
206 print *, 'INFO:platform[HP-UX]'
207#elif defined(__HAIKU__)
208 print *, 'INFO:platform[Haiku]'
209#elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS)
210 print *, 'INFO:platform[BeOS]'
211#elif defined(__QNX__) || defined(__QNXNTO__)
212 print *, 'INFO:platform[QNX]'
213#elif defined(__tru64) || defined(_tru64) || defined(__TRU64__)
214 print *, 'INFO:platform[Tru64]'
215#elif defined(__riscos) || defined(__riscos__)
216 print *, 'INFO:platform[RISCos]'
217#elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__)
218 print *, 'INFO:platform[SINIX]'
219#elif defined(__UNIX_SV__)
220 print *, 'INFO:platform[UNIX_SV]'
221#elif defined(__bsdos__)
222 print *, 'INFO:platform[BSDOS]'
223#elif defined(_MPRAS) || defined(MPRAS)
224 print *, 'INFO:platform[MP-RAS]'
225#elif defined(__osf) || defined(__osf__)
226 print *, 'INFO:platform[OSF1]'
227#elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv)
228 print *, 'INFO:platform[SCO_SV]'
229#elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX)
230 print *, 'INFO:platform[ULTRIX]'
231#elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX)
232 print *, 'INFO:platform[Xenix]'
233#else
234 print *, 'INFO:platform[]'
235#endif
236#if defined(_WIN32) && (defined(__INTEL_COMPILER) || defined(__ICC))
237# if defined(_M_IA64)
238 print *, 'INFO:arch[IA64]'
239# elif defined(_M_X64) || defined(_M_AMD64)
240 print *, 'INFO:arch[x64]'
241# elif defined(_M_IX86)
242 print *, 'INFO:arch[X86]'
243# endif
244#endif
245
246#if 0
247! Encode compiler version digits
248#endif
249#define DEC_8(n) (((n) / 10000000) % 10)
250#define DEC_7(n) (((n) / 1000000) % 10)
251#define DEC_6(n) (((n) / 100000) % 10)
252#define DEC_5(n) (((n) / 10000) % 10)
253#define DEC_4(n) (((n) / 1000) % 10)
254#define DEC_3(n) (((n) / 100) % 10)
255#define DEC_2(n) (((n) / 10) % 10)
256#define DEC_1(n) (((n) ) % 10)
257#define HEX_8(n) ((n)>>28 & 0xF)
258#define HEX_7(n) ((n)>>24 & 0xF)
259#define HEX_6(n) ((n)>>20 & 0xF)
260#define HEX_5(n) ((n)>>16 & 0xF)
261#define HEX_4(n) ((n)>>12 & 0xF)
262#define HEX_3(n) ((n)>>8 & 0xF)
263#define HEX_2(n) ((n)>>4 & 0xF)
264#define HEX_1(n) ((n) & 0xF)
265
266#if defined(COMPILER_VERSION_MAJOR)
267# undef DEC
268# undef HEX
269# define DEC(n) DEC_1(n)
270# define HEX(n) HEX_1(n)
271# if COMPILER_VERSION_MAJOR == 0
272 print *, 'INFO:compiler_version_MAJOR_digit_1[0]'
273# elif COMPILER_VERSION_MAJOR == 1
274 print *, 'INFO:compiler_version_MAJOR_digit_1[1]'
275# elif COMPILER_VERSION_MAJOR == 2
276 print *, 'INFO:compiler_version_MAJOR_digit_1[2]'
277# elif COMPILER_VERSION_MAJOR == 3
278 print *, 'INFO:compiler_version_MAJOR_digit_1[3]'
279# elif COMPILER_VERSION_MAJOR == 4
280 print *, 'INFO:compiler_version_MAJOR_digit_1[4]'
281# elif COMPILER_VERSION_MAJOR == 5
282 print *, 'INFO:compiler_version_MAJOR_digit_1[5]'
283# elif COMPILER_VERSION_MAJOR == 6
284 print *, 'INFO:compiler_version_MAJOR_digit_1[6]'
285# elif COMPILER_VERSION_MAJOR == 7
286 print *, 'INFO:compiler_version_MAJOR_digit_1[7]'
287# elif COMPILER_VERSION_MAJOR == 8
288 print *, 'INFO:compiler_version_MAJOR_digit_1[8]'
289# elif COMPILER_VERSION_MAJOR == 9
290 print *, 'INFO:compiler_version_MAJOR_digit_1[9]'
291# endif
292
293# undef DEC
294# undef HEX
295# define DEC(n) DEC_2(n)
296# define HEX(n) HEX_2(n)
297# if COMPILER_VERSION_MAJOR == 0
298 print *, 'INFO:compiler_version_MAJOR_digit_2[0]'
299# elif COMPILER_VERSION_MAJOR == 1
300 print *, 'INFO:compiler_version_MAJOR_digit_2[1]'
301# elif COMPILER_VERSION_MAJOR == 2
302 print *, 'INFO:compiler_version_MAJOR_digit_2[2]'
303# elif COMPILER_VERSION_MAJOR == 3
304 print *, 'INFO:compiler_version_MAJOR_digit_2[3]'
305# elif COMPILER_VERSION_MAJOR == 4
306 print *, 'INFO:compiler_version_MAJOR_digit_2[4]'
307# elif COMPILER_VERSION_MAJOR == 5
308 print *, 'INFO:compiler_version_MAJOR_digit_2[5]'
309# elif COMPILER_VERSION_MAJOR == 6
310 print *, 'INFO:compiler_version_MAJOR_digit_2[6]'
311# elif COMPILER_VERSION_MAJOR == 7
312 print *, 'INFO:compiler_version_MAJOR_digit_2[7]'
313# elif COMPILER_VERSION_MAJOR == 8
314 print *, 'INFO:compiler_version_MAJOR_digit_2[8]'
315# elif COMPILER_VERSION_MAJOR == 9
316 print *, 'INFO:compiler_version_MAJOR_digit_2[9]'
317# endif
318
319# undef DEC
320# undef HEX
321# define DEC(n) DEC_3(n)
322# define HEX(n) HEX_3(n)
323# if COMPILER_VERSION_MAJOR == 0
324 print *, 'INFO:compiler_version_MAJOR_digit_3[0]'
325# elif COMPILER_VERSION_MAJOR == 1
326 print *, 'INFO:compiler_version_MAJOR_digit_3[1]'
327# elif COMPILER_VERSION_MAJOR == 2
328 print *, 'INFO:compiler_version_MAJOR_digit_3[2]'
329# elif COMPILER_VERSION_MAJOR == 3
330 print *, 'INFO:compiler_version_MAJOR_digit_3[3]'
331# elif COMPILER_VERSION_MAJOR == 4
332 print *, 'INFO:compiler_version_MAJOR_digit_3[4]'
333# elif COMPILER_VERSION_MAJOR == 5
334 print *, 'INFO:compiler_version_MAJOR_digit_3[5]'
335# elif COMPILER_VERSION_MAJOR == 6
336 print *, 'INFO:compiler_version_MAJOR_digit_3[6]'
337# elif COMPILER_VERSION_MAJOR == 7
338 print *, 'INFO:compiler_version_MAJOR_digit_3[7]'
339# elif COMPILER_VERSION_MAJOR == 8
340 print *, 'INFO:compiler_version_MAJOR_digit_3[8]'
341# elif COMPILER_VERSION_MAJOR == 9
342 print *, 'INFO:compiler_version_MAJOR_digit_3[9]'
343# endif
344
345# undef DEC
346# undef HEX
347# define DEC(n) DEC_4(n)
348# define HEX(n) HEX_4(n)
349# if COMPILER_VERSION_MAJOR == 0
350 print *, 'INFO:compiler_version_MAJOR_digit_4[0]'
351# elif COMPILER_VERSION_MAJOR == 1
352 print *, 'INFO:compiler_version_MAJOR_digit_4[1]'
353# elif COMPILER_VERSION_MAJOR == 2
354 print *, 'INFO:compiler_version_MAJOR_digit_4[2]'
355# elif COMPILER_VERSION_MAJOR == 3
356 print *, 'INFO:compiler_version_MAJOR_digit_4[3]'
357# elif COMPILER_VERSION_MAJOR == 4
358 print *, 'INFO:compiler_version_MAJOR_digit_4[4]'
359# elif COMPILER_VERSION_MAJOR == 5
360 print *, 'INFO:compiler_version_MAJOR_digit_4[5]'
361# elif COMPILER_VERSION_MAJOR == 6
362 print *, 'INFO:compiler_version_MAJOR_digit_4[6]'
363# elif COMPILER_VERSION_MAJOR == 7
364 print *, 'INFO:compiler_version_MAJOR_digit_4[7]'
365# elif COMPILER_VERSION_MAJOR == 8
366 print *, 'INFO:compiler_version_MAJOR_digit_4[8]'
367# elif COMPILER_VERSION_MAJOR == 9
368 print *, 'INFO:compiler_version_MAJOR_digit_4[9]'
369# endif
370
371# undef DEC
372# undef HEX
373# define DEC(n) DEC_5(n)
374# define HEX(n) HEX_5(n)
375# if COMPILER_VERSION_MAJOR == 0
376 print *, 'INFO:compiler_version_MAJOR_digit_5[0]'
377# elif COMPILER_VERSION_MAJOR == 1
378 print *, 'INFO:compiler_version_MAJOR_digit_5[1]'
379# elif COMPILER_VERSION_MAJOR == 2
380 print *, 'INFO:compiler_version_MAJOR_digit_5[2]'
381# elif COMPILER_VERSION_MAJOR == 3
382 print *, 'INFO:compiler_version_MAJOR_digit_5[3]'
383# elif COMPILER_VERSION_MAJOR == 4
384 print *, 'INFO:compiler_version_MAJOR_digit_5[4]'
385# elif COMPILER_VERSION_MAJOR == 5
386 print *, 'INFO:compiler_version_MAJOR_digit_5[5]'
387# elif COMPILER_VERSION_MAJOR == 6
388 print *, 'INFO:compiler_version_MAJOR_digit_5[6]'
389# elif COMPILER_VERSION_MAJOR == 7
390 print *, 'INFO:compiler_version_MAJOR_digit_5[7]'
391# elif COMPILER_VERSION_MAJOR == 8
392 print *, 'INFO:compiler_version_MAJOR_digit_5[8]'
393# elif COMPILER_VERSION_MAJOR == 9
394 print *, 'INFO:compiler_version_MAJOR_digit_5[9]'
395# endif
396
397# undef DEC
398# undef HEX
399# define DEC(n) DEC_6(n)
400# define HEX(n) HEX_6(n)
401# if COMPILER_VERSION_MAJOR == 0
402 print *, 'INFO:compiler_version_MAJOR_digit_6[0]'
403# elif COMPILER_VERSION_MAJOR == 1
404 print *, 'INFO:compiler_version_MAJOR_digit_6[1]'
405# elif COMPILER_VERSION_MAJOR == 2
406 print *, 'INFO:compiler_version_MAJOR_digit_6[2]'
407# elif COMPILER_VERSION_MAJOR == 3
408 print *, 'INFO:compiler_version_MAJOR_digit_6[3]'
409# elif COMPILER_VERSION_MAJOR == 4
410 print *, 'INFO:compiler_version_MAJOR_digit_6[4]'
411# elif COMPILER_VERSION_MAJOR == 5
412 print *, 'INFO:compiler_version_MAJOR_digit_6[5]'
413# elif COMPILER_VERSION_MAJOR == 6
414 print *, 'INFO:compiler_version_MAJOR_digit_6[6]'
415# elif COMPILER_VERSION_MAJOR == 7
416 print *, 'INFO:compiler_version_MAJOR_digit_6[7]'
417# elif COMPILER_VERSION_MAJOR == 8
418 print *, 'INFO:compiler_version_MAJOR_digit_6[8]'
419# elif COMPILER_VERSION_MAJOR == 9
420 print *, 'INFO:compiler_version_MAJOR_digit_6[9]'
421# endif
422
423# undef DEC
424# undef HEX
425# define DEC(n) DEC_7(n)
426# define HEX(n) HEX_7(n)
427# if COMPILER_VERSION_MAJOR == 0
428 print *, 'INFO:compiler_version_MAJOR_digit_7[0]'
429# elif COMPILER_VERSION_MAJOR == 1
430 print *, 'INFO:compiler_version_MAJOR_digit_7[1]'
431# elif COMPILER_VERSION_MAJOR == 2
432 print *, 'INFO:compiler_version_MAJOR_digit_7[2]'
433# elif COMPILER_VERSION_MAJOR == 3
434 print *, 'INFO:compiler_version_MAJOR_digit_7[3]'
435# elif COMPILER_VERSION_MAJOR == 4
436 print *, 'INFO:compiler_version_MAJOR_digit_7[4]'
437# elif COMPILER_VERSION_MAJOR == 5
438 print *, 'INFO:compiler_version_MAJOR_digit_7[5]'
439# elif COMPILER_VERSION_MAJOR == 6
440 print *, 'INFO:compiler_version_MAJOR_digit_7[6]'
441# elif COMPILER_VERSION_MAJOR == 7
442 print *, 'INFO:compiler_version_MAJOR_digit_7[7]'
443# elif COMPILER_VERSION_MAJOR == 8
444 print *, 'INFO:compiler_version_MAJOR_digit_7[8]'
445# elif COMPILER_VERSION_MAJOR == 9
446 print *, 'INFO:compiler_version_MAJOR_digit_7[9]'
447# endif
448
449# undef DEC
450# undef HEX
451# define DEC(n) DEC_8(n)
452# define HEX(n) HEX_8(n)
453# if COMPILER_VERSION_MAJOR == 0
454 print *, 'INFO:compiler_version_MAJOR_digit_8[0]'
455# elif COMPILER_VERSION_MAJOR == 1
456 print *, 'INFO:compiler_version_MAJOR_digit_8[1]'
457# elif COMPILER_VERSION_MAJOR == 2
458 print *, 'INFO:compiler_version_MAJOR_digit_8[2]'
459# elif COMPILER_VERSION_MAJOR == 3
460 print *, 'INFO:compiler_version_MAJOR_digit_8[3]'
461# elif COMPILER_VERSION_MAJOR == 4
462 print *, 'INFO:compiler_version_MAJOR_digit_8[4]'
463# elif COMPILER_VERSION_MAJOR == 5
464 print *, 'INFO:compiler_version_MAJOR_digit_8[5]'
465# elif COMPILER_VERSION_MAJOR == 6
466 print *, 'INFO:compiler_version_MAJOR_digit_8[6]'
467# elif COMPILER_VERSION_MAJOR == 7
468 print *, 'INFO:compiler_version_MAJOR_digit_8[7]'
469# elif COMPILER_VERSION_MAJOR == 8
470 print *, 'INFO:compiler_version_MAJOR_digit_8[8]'
471# elif COMPILER_VERSION_MAJOR == 9
472 print *, 'INFO:compiler_version_MAJOR_digit_8[9]'
473# endif
474
475#endif
476#if defined(COMPILER_VERSION_MINOR)
477# undef DEC
478# undef HEX
479# define DEC(n) DEC_1(n)
480# define HEX(n) HEX_1(n)
481# if COMPILER_VERSION_MINOR == 0
482 print *, 'INFO:compiler_version_MINOR_digit_1[0]'
483# elif COMPILER_VERSION_MINOR == 1
484 print *, 'INFO:compiler_version_MINOR_digit_1[1]'
485# elif COMPILER_VERSION_MINOR == 2
486 print *, 'INFO:compiler_version_MINOR_digit_1[2]'
487# elif COMPILER_VERSION_MINOR == 3
488 print *, 'INFO:compiler_version_MINOR_digit_1[3]'
489# elif COMPILER_VERSION_MINOR == 4
490 print *, 'INFO:compiler_version_MINOR_digit_1[4]'
491# elif COMPILER_VERSION_MINOR == 5
492 print *, 'INFO:compiler_version_MINOR_digit_1[5]'
493# elif COMPILER_VERSION_MINOR == 6
494 print *, 'INFO:compiler_version_MINOR_digit_1[6]'
495# elif COMPILER_VERSION_MINOR == 7
496 print *, 'INFO:compiler_version_MINOR_digit_1[7]'
497# elif COMPILER_VERSION_MINOR == 8
498 print *, 'INFO:compiler_version_MINOR_digit_1[8]'
499# elif COMPILER_VERSION_MINOR == 9
500 print *, 'INFO:compiler_version_MINOR_digit_1[9]'
501# endif
502
503# undef DEC
504# undef HEX
505# define DEC(n) DEC_2(n)
506# define HEX(n) HEX_2(n)
507# if COMPILER_VERSION_MINOR == 0
508 print *, 'INFO:compiler_version_MINOR_digit_2[0]'
509# elif COMPILER_VERSION_MINOR == 1
510 print *, 'INFO:compiler_version_MINOR_digit_2[1]'
511# elif COMPILER_VERSION_MINOR == 2
512 print *, 'INFO:compiler_version_MINOR_digit_2[2]'
513# elif COMPILER_VERSION_MINOR == 3
514 print *, 'INFO:compiler_version_MINOR_digit_2[3]'
515# elif COMPILER_VERSION_MINOR == 4
516 print *, 'INFO:compiler_version_MINOR_digit_2[4]'
517# elif COMPILER_VERSION_MINOR == 5
518 print *, 'INFO:compiler_version_MINOR_digit_2[5]'
519# elif COMPILER_VERSION_MINOR == 6
520 print *, 'INFO:compiler_version_MINOR_digit_2[6]'
521# elif COMPILER_VERSION_MINOR == 7
522 print *, 'INFO:compiler_version_MINOR_digit_2[7]'
523# elif COMPILER_VERSION_MINOR == 8
524 print *, 'INFO:compiler_version_MINOR_digit_2[8]'
525# elif COMPILER_VERSION_MINOR == 9
526 print *, 'INFO:compiler_version_MINOR_digit_2[9]'
527# endif
528
529# undef DEC
530# undef HEX
531# define DEC(n) DEC_3(n)
532# define HEX(n) HEX_3(n)
533# if COMPILER_VERSION_MINOR == 0
534 print *, 'INFO:compiler_version_MINOR_digit_3[0]'
535# elif COMPILER_VERSION_MINOR == 1
536 print *, 'INFO:compiler_version_MINOR_digit_3[1]'
537# elif COMPILER_VERSION_MINOR == 2
538 print *, 'INFO:compiler_version_MINOR_digit_3[2]'
539# elif COMPILER_VERSION_MINOR == 3
540 print *, 'INFO:compiler_version_MINOR_digit_3[3]'
541# elif COMPILER_VERSION_MINOR == 4
542 print *, 'INFO:compiler_version_MINOR_digit_3[4]'
543# elif COMPILER_VERSION_MINOR == 5
544 print *, 'INFO:compiler_version_MINOR_digit_3[5]'
545# elif COMPILER_VERSION_MINOR == 6
546 print *, 'INFO:compiler_version_MINOR_digit_3[6]'
547# elif COMPILER_VERSION_MINOR == 7
548 print *, 'INFO:compiler_version_MINOR_digit_3[7]'
549# elif COMPILER_VERSION_MINOR == 8
550 print *, 'INFO:compiler_version_MINOR_digit_3[8]'
551# elif COMPILER_VERSION_MINOR == 9
552 print *, 'INFO:compiler_version_MINOR_digit_3[9]'
553# endif
554
555# undef DEC
556# undef HEX
557# define DEC(n) DEC_4(n)
558# define HEX(n) HEX_4(n)
559# if COMPILER_VERSION_MINOR == 0
560 print *, 'INFO:compiler_version_MINOR_digit_4[0]'
561# elif COMPILER_VERSION_MINOR == 1
562 print *, 'INFO:compiler_version_MINOR_digit_4[1]'
563# elif COMPILER_VERSION_MINOR == 2
564 print *, 'INFO:compiler_version_MINOR_digit_4[2]'
565# elif COMPILER_VERSION_MINOR == 3
566 print *, 'INFO:compiler_version_MINOR_digit_4[3]'
567# elif COMPILER_VERSION_MINOR == 4
568 print *, 'INFO:compiler_version_MINOR_digit_4[4]'
569# elif COMPILER_VERSION_MINOR == 5
570 print *, 'INFO:compiler_version_MINOR_digit_4[5]'
571# elif COMPILER_VERSION_MINOR == 6
572 print *, 'INFO:compiler_version_MINOR_digit_4[6]'
573# elif COMPILER_VERSION_MINOR == 7
574 print *, 'INFO:compiler_version_MINOR_digit_4[7]'
575# elif COMPILER_VERSION_MINOR == 8
576 print *, 'INFO:compiler_version_MINOR_digit_4[8]'
577# elif COMPILER_VERSION_MINOR == 9
578 print *, 'INFO:compiler_version_MINOR_digit_4[9]'
579# endif
580
581# undef DEC
582# undef HEX
583# define DEC(n) DEC_5(n)
584# define HEX(n) HEX_5(n)
585# if COMPILER_VERSION_MINOR == 0
586 print *, 'INFO:compiler_version_MINOR_digit_5[0]'
587# elif COMPILER_VERSION_MINOR == 1
588 print *, 'INFO:compiler_version_MINOR_digit_5[1]'
589# elif COMPILER_VERSION_MINOR == 2
590 print *, 'INFO:compiler_version_MINOR_digit_5[2]'
591# elif COMPILER_VERSION_MINOR == 3
592 print *, 'INFO:compiler_version_MINOR_digit_5[3]'
593# elif COMPILER_VERSION_MINOR == 4
594 print *, 'INFO:compiler_version_MINOR_digit_5[4]'
595# elif COMPILER_VERSION_MINOR == 5
596 print *, 'INFO:compiler_version_MINOR_digit_5[5]'
597# elif COMPILER_VERSION_MINOR == 6
598 print *, 'INFO:compiler_version_MINOR_digit_5[6]'
599# elif COMPILER_VERSION_MINOR == 7
600 print *, 'INFO:compiler_version_MINOR_digit_5[7]'
601# elif COMPILER_VERSION_MINOR == 8
602 print *, 'INFO:compiler_version_MINOR_digit_5[8]'
603# elif COMPILER_VERSION_MINOR == 9
604 print *, 'INFO:compiler_version_MINOR_digit_5[9]'
605# endif
606
607# undef DEC
608# undef HEX
609# define DEC(n) DEC_6(n)
610# define HEX(n) HEX_6(n)
611# if COMPILER_VERSION_MINOR == 0
612 print *, 'INFO:compiler_version_MINOR_digit_6[0]'
613# elif COMPILER_VERSION_MINOR == 1
614 print *, 'INFO:compiler_version_MINOR_digit_6[1]'
615# elif COMPILER_VERSION_MINOR == 2
616 print *, 'INFO:compiler_version_MINOR_digit_6[2]'
617# elif COMPILER_VERSION_MINOR == 3
618 print *, 'INFO:compiler_version_MINOR_digit_6[3]'
619# elif COMPILER_VERSION_MINOR == 4
620 print *, 'INFO:compiler_version_MINOR_digit_6[4]'
621# elif COMPILER_VERSION_MINOR == 5
622 print *, 'INFO:compiler_version_MINOR_digit_6[5]'
623# elif COMPILER_VERSION_MINOR == 6
624 print *, 'INFO:compiler_version_MINOR_digit_6[6]'
625# elif COMPILER_VERSION_MINOR == 7
626 print *, 'INFO:compiler_version_MINOR_digit_6[7]'
627# elif COMPILER_VERSION_MINOR == 8
628 print *, 'INFO:compiler_version_MINOR_digit_6[8]'
629# elif COMPILER_VERSION_MINOR == 9
630 print *, 'INFO:compiler_version_MINOR_digit_6[9]'
631# endif
632
633# undef DEC
634# undef HEX
635# define DEC(n) DEC_7(n)
636# define HEX(n) HEX_7(n)
637# if COMPILER_VERSION_MINOR == 0
638 print *, 'INFO:compiler_version_MINOR_digit_7[0]'
639# elif COMPILER_VERSION_MINOR == 1
640 print *, 'INFO:compiler_version_MINOR_digit_7[1]'
641# elif COMPILER_VERSION_MINOR == 2
642 print *, 'INFO:compiler_version_MINOR_digit_7[2]'
643# elif COMPILER_VERSION_MINOR == 3
644 print *, 'INFO:compiler_version_MINOR_digit_7[3]'
645# elif COMPILER_VERSION_MINOR == 4
646 print *, 'INFO:compiler_version_MINOR_digit_7[4]'
647# elif COMPILER_VERSION_MINOR == 5
648 print *, 'INFO:compiler_version_MINOR_digit_7[5]'
649# elif COMPILER_VERSION_MINOR == 6
650 print *, 'INFO:compiler_version_MINOR_digit_7[6]'
651# elif COMPILER_VERSION_MINOR == 7
652 print *, 'INFO:compiler_version_MINOR_digit_7[7]'
653# elif COMPILER_VERSION_MINOR == 8
654 print *, 'INFO:compiler_version_MINOR_digit_7[8]'
655# elif COMPILER_VERSION_MINOR == 9
656 print *, 'INFO:compiler_version_MINOR_digit_7[9]'
657# endif
658
659# undef DEC
660# undef HEX
661# define DEC(n) DEC_8(n)
662# define HEX(n) HEX_8(n)
663# if COMPILER_VERSION_MINOR == 0
664 print *, 'INFO:compiler_version_MINOR_digit_8[0]'
665# elif COMPILER_VERSION_MINOR == 1
666 print *, 'INFO:compiler_version_MINOR_digit_8[1]'
667# elif COMPILER_VERSION_MINOR == 2
668 print *, 'INFO:compiler_version_MINOR_digit_8[2]'
669# elif COMPILER_VERSION_MINOR == 3
670 print *, 'INFO:compiler_version_MINOR_digit_8[3]'
671# elif COMPILER_VERSION_MINOR == 4
672 print *, 'INFO:compiler_version_MINOR_digit_8[4]'
673# elif COMPILER_VERSION_MINOR == 5
674 print *, 'INFO:compiler_version_MINOR_digit_8[5]'
675# elif COMPILER_VERSION_MINOR == 6
676 print *, 'INFO:compiler_version_MINOR_digit_8[6]'
677# elif COMPILER_VERSION_MINOR == 7
678 print *, 'INFO:compiler_version_MINOR_digit_8[7]'
679# elif COMPILER_VERSION_MINOR == 8
680 print *, 'INFO:compiler_version_MINOR_digit_8[8]'
681# elif COMPILER_VERSION_MINOR == 9
682 print *, 'INFO:compiler_version_MINOR_digit_8[9]'
683# endif
684
685#endif
686#if defined(COMPILER_VERSION_PATCH)
687# undef DEC
688# undef HEX
689# define DEC(n) DEC_1(n)
690# define HEX(n) HEX_1(n)
691# if COMPILER_VERSION_PATCH == 0
692 print *, 'INFO:compiler_version_PATCH_digit_1[0]'
693# elif COMPILER_VERSION_PATCH == 1
694 print *, 'INFO:compiler_version_PATCH_digit_1[1]'
695# elif COMPILER_VERSION_PATCH == 2
696 print *, 'INFO:compiler_version_PATCH_digit_1[2]'
697# elif COMPILER_VERSION_PATCH == 3
698 print *, 'INFO:compiler_version_PATCH_digit_1[3]'
699# elif COMPILER_VERSION_PATCH == 4
700 print *, 'INFO:compiler_version_PATCH_digit_1[4]'
701# elif COMPILER_VERSION_PATCH == 5
702 print *, 'INFO:compiler_version_PATCH_digit_1[5]'
703# elif COMPILER_VERSION_PATCH == 6
704 print *, 'INFO:compiler_version_PATCH_digit_1[6]'
705# elif COMPILER_VERSION_PATCH == 7
706 print *, 'INFO:compiler_version_PATCH_digit_1[7]'
707# elif COMPILER_VERSION_PATCH == 8
708 print *, 'INFO:compiler_version_PATCH_digit_1[8]'
709# elif COMPILER_VERSION_PATCH == 9
710 print *, 'INFO:compiler_version_PATCH_digit_1[9]'
711# endif
712
713# undef DEC
714# undef HEX
715# define DEC(n) DEC_2(n)
716# define HEX(n) HEX_2(n)
717# if COMPILER_VERSION_PATCH == 0
718 print *, 'INFO:compiler_version_PATCH_digit_2[0]'
719# elif COMPILER_VERSION_PATCH == 1
720 print *, 'INFO:compiler_version_PATCH_digit_2[1]'
721# elif COMPILER_VERSION_PATCH == 2
722 print *, 'INFO:compiler_version_PATCH_digit_2[2]'
723# elif COMPILER_VERSION_PATCH == 3
724 print *, 'INFO:compiler_version_PATCH_digit_2[3]'
725# elif COMPILER_VERSION_PATCH == 4
726 print *, 'INFO:compiler_version_PATCH_digit_2[4]'
727# elif COMPILER_VERSION_PATCH == 5
728 print *, 'INFO:compiler_version_PATCH_digit_2[5]'
729# elif COMPILER_VERSION_PATCH == 6
730 print *, 'INFO:compiler_version_PATCH_digit_2[6]'
731# elif COMPILER_VERSION_PATCH == 7
732 print *, 'INFO:compiler_version_PATCH_digit_2[7]'
733# elif COMPILER_VERSION_PATCH == 8
734 print *, 'INFO:compiler_version_PATCH_digit_2[8]'
735# elif COMPILER_VERSION_PATCH == 9
736 print *, 'INFO:compiler_version_PATCH_digit_2[9]'
737# endif
738
739# undef DEC
740# undef HEX
741# define DEC(n) DEC_3(n)
742# define HEX(n) HEX_3(n)
743# if COMPILER_VERSION_PATCH == 0
744 print *, 'INFO:compiler_version_PATCH_digit_3[0]'
745# elif COMPILER_VERSION_PATCH == 1
746 print *, 'INFO:compiler_version_PATCH_digit_3[1]'
747# elif COMPILER_VERSION_PATCH == 2
748 print *, 'INFO:compiler_version_PATCH_digit_3[2]'
749# elif COMPILER_VERSION_PATCH == 3
750 print *, 'INFO:compiler_version_PATCH_digit_3[3]'
751# elif COMPILER_VERSION_PATCH == 4
752 print *, 'INFO:compiler_version_PATCH_digit_3[4]'
753# elif COMPILER_VERSION_PATCH == 5
754 print *, 'INFO:compiler_version_PATCH_digit_3[5]'
755# elif COMPILER_VERSION_PATCH == 6
756 print *, 'INFO:compiler_version_PATCH_digit_3[6]'
757# elif COMPILER_VERSION_PATCH == 7
758 print *, 'INFO:compiler_version_PATCH_digit_3[7]'
759# elif COMPILER_VERSION_PATCH == 8
760 print *, 'INFO:compiler_version_PATCH_digit_3[8]'
761# elif COMPILER_VERSION_PATCH == 9
762 print *, 'INFO:compiler_version_PATCH_digit_3[9]'
763# endif
764
765# undef DEC
766# undef HEX
767# define DEC(n) DEC_4(n)
768# define HEX(n) HEX_4(n)
769# if COMPILER_VERSION_PATCH == 0
770 print *, 'INFO:compiler_version_PATCH_digit_4[0]'
771# elif COMPILER_VERSION_PATCH == 1
772 print *, 'INFO:compiler_version_PATCH_digit_4[1]'
773# elif COMPILER_VERSION_PATCH == 2
774 print *, 'INFO:compiler_version_PATCH_digit_4[2]'
775# elif COMPILER_VERSION_PATCH == 3
776 print *, 'INFO:compiler_version_PATCH_digit_4[3]'
777# elif COMPILER_VERSION_PATCH == 4
778 print *, 'INFO:compiler_version_PATCH_digit_4[4]'
779# elif COMPILER_VERSION_PATCH == 5
780 print *, 'INFO:compiler_version_PATCH_digit_4[5]'
781# elif COMPILER_VERSION_PATCH == 6
782 print *, 'INFO:compiler_version_PATCH_digit_4[6]'
783# elif COMPILER_VERSION_PATCH == 7
784 print *, 'INFO:compiler_version_PATCH_digit_4[7]'
785# elif COMPILER_VERSION_PATCH == 8
786 print *, 'INFO:compiler_version_PATCH_digit_4[8]'
787# elif COMPILER_VERSION_PATCH == 9
788 print *, 'INFO:compiler_version_PATCH_digit_4[9]'
789# endif
790
791# undef DEC
792# undef HEX
793# define DEC(n) DEC_5(n)
794# define HEX(n) HEX_5(n)
795# if COMPILER_VERSION_PATCH == 0
796 print *, 'INFO:compiler_version_PATCH_digit_5[0]'
797# elif COMPILER_VERSION_PATCH == 1
798 print *, 'INFO:compiler_version_PATCH_digit_5[1]'
799# elif COMPILER_VERSION_PATCH == 2
800 print *, 'INFO:compiler_version_PATCH_digit_5[2]'
801# elif COMPILER_VERSION_PATCH == 3
802 print *, 'INFO:compiler_version_PATCH_digit_5[3]'
803# elif COMPILER_VERSION_PATCH == 4
804 print *, 'INFO:compiler_version_PATCH_digit_5[4]'
805# elif COMPILER_VERSION_PATCH == 5
806 print *, 'INFO:compiler_version_PATCH_digit_5[5]'
807# elif COMPILER_VERSION_PATCH == 6
808 print *, 'INFO:compiler_version_PATCH_digit_5[6]'
809# elif COMPILER_VERSION_PATCH == 7
810 print *, 'INFO:compiler_version_PATCH_digit_5[7]'
811# elif COMPILER_VERSION_PATCH == 8
812 print *, 'INFO:compiler_version_PATCH_digit_5[8]'
813# elif COMPILER_VERSION_PATCH == 9
814 print *, 'INFO:compiler_version_PATCH_digit_5[9]'
815# endif
816
817# undef DEC
818# undef HEX
819# define DEC(n) DEC_6(n)
820# define HEX(n) HEX_6(n)
821# if COMPILER_VERSION_PATCH == 0
822 print *, 'INFO:compiler_version_PATCH_digit_6[0]'
823# elif COMPILER_VERSION_PATCH == 1
824 print *, 'INFO:compiler_version_PATCH_digit_6[1]'
825# elif COMPILER_VERSION_PATCH == 2
826 print *, 'INFO:compiler_version_PATCH_digit_6[2]'
827# elif COMPILER_VERSION_PATCH == 3
828 print *, 'INFO:compiler_version_PATCH_digit_6[3]'
829# elif COMPILER_VERSION_PATCH == 4
830 print *, 'INFO:compiler_version_PATCH_digit_6[4]'
831# elif COMPILER_VERSION_PATCH == 5
832 print *, 'INFO:compiler_version_PATCH_digit_6[5]'
833# elif COMPILER_VERSION_PATCH == 6
834 print *, 'INFO:compiler_version_PATCH_digit_6[6]'
835# elif COMPILER_VERSION_PATCH == 7
836 print *, 'INFO:compiler_version_PATCH_digit_6[7]'
837# elif COMPILER_VERSION_PATCH == 8
838 print *, 'INFO:compiler_version_PATCH_digit_6[8]'
839# elif COMPILER_VERSION_PATCH == 9
840 print *, 'INFO:compiler_version_PATCH_digit_6[9]'
841# endif
842
843# undef DEC
844# undef HEX
845# define DEC(n) DEC_7(n)
846# define HEX(n) HEX_7(n)
847# if COMPILER_VERSION_PATCH == 0
848 print *, 'INFO:compiler_version_PATCH_digit_7[0]'
849# elif COMPILER_VERSION_PATCH == 1
850 print *, 'INFO:compiler_version_PATCH_digit_7[1]'
851# elif COMPILER_VERSION_PATCH == 2
852 print *, 'INFO:compiler_version_PATCH_digit_7[2]'
853# elif COMPILER_VERSION_PATCH == 3
854 print *, 'INFO:compiler_version_PATCH_digit_7[3]'
855# elif COMPILER_VERSION_PATCH == 4
856 print *, 'INFO:compiler_version_PATCH_digit_7[4]'
857# elif COMPILER_VERSION_PATCH == 5
858 print *, 'INFO:compiler_version_PATCH_digit_7[5]'
859# elif COMPILER_VERSION_PATCH == 6
860 print *, 'INFO:compiler_version_PATCH_digit_7[6]'
861# elif COMPILER_VERSION_PATCH == 7
862 print *, 'INFO:compiler_version_PATCH_digit_7[7]'
863# elif COMPILER_VERSION_PATCH == 8
864 print *, 'INFO:compiler_version_PATCH_digit_7[8]'
865# elif COMPILER_VERSION_PATCH == 9
866 print *, 'INFO:compiler_version_PATCH_digit_7[9]'
867# endif
868
869# undef DEC
870# undef HEX
871# define DEC(n) DEC_8(n)
872# define HEX(n) HEX_8(n)
873# if COMPILER_VERSION_PATCH == 0
874 print *, 'INFO:compiler_version_PATCH_digit_8[0]'
875# elif COMPILER_VERSION_PATCH == 1
876 print *, 'INFO:compiler_version_PATCH_digit_8[1]'
877# elif COMPILER_VERSION_PATCH == 2
878 print *, 'INFO:compiler_version_PATCH_digit_8[2]'
879# elif COMPILER_VERSION_PATCH == 3
880 print *, 'INFO:compiler_version_PATCH_digit_8[3]'
881# elif COMPILER_VERSION_PATCH == 4
882 print *, 'INFO:compiler_version_PATCH_digit_8[4]'
883# elif COMPILER_VERSION_PATCH == 5
884 print *, 'INFO:compiler_version_PATCH_digit_8[5]'
885# elif COMPILER_VERSION_PATCH == 6
886 print *, 'INFO:compiler_version_PATCH_digit_8[6]'
887# elif COMPILER_VERSION_PATCH == 7
888 print *, 'INFO:compiler_version_PATCH_digit_8[7]'
889# elif COMPILER_VERSION_PATCH == 8
890 print *, 'INFO:compiler_version_PATCH_digit_8[8]'
891# elif COMPILER_VERSION_PATCH == 9
892 print *, 'INFO:compiler_version_PATCH_digit_8[9]'
893# endif
894
895#endif
896#if defined(COMPILER_VERSION_TWEAK)
897# undef DEC
898# undef HEX
899# define DEC(n) DEC_1(n)
900# define HEX(n) HEX_1(n)
901# if COMPILER_VERSION_TWEAK == 0
902 print *, 'INFO:compiler_version_TWEAK_digit_1[0]'
903# elif COMPILER_VERSION_TWEAK == 1
904 print *, 'INFO:compiler_version_TWEAK_digit_1[1]'
905# elif COMPILER_VERSION_TWEAK == 2
906 print *, 'INFO:compiler_version_TWEAK_digit_1[2]'
907# elif COMPILER_VERSION_TWEAK == 3
908 print *, 'INFO:compiler_version_TWEAK_digit_1[3]'
909# elif COMPILER_VERSION_TWEAK == 4
910 print *, 'INFO:compiler_version_TWEAK_digit_1[4]'
911# elif COMPILER_VERSION_TWEAK == 5
912 print *, 'INFO:compiler_version_TWEAK_digit_1[5]'
913# elif COMPILER_VERSION_TWEAK == 6
914 print *, 'INFO:compiler_version_TWEAK_digit_1[6]'
915# elif COMPILER_VERSION_TWEAK == 7
916 print *, 'INFO:compiler_version_TWEAK_digit_1[7]'
917# elif COMPILER_VERSION_TWEAK == 8
918 print *, 'INFO:compiler_version_TWEAK_digit_1[8]'
919# elif COMPILER_VERSION_TWEAK == 9
920 print *, 'INFO:compiler_version_TWEAK_digit_1[9]'
921# endif
922
923# undef DEC
924# undef HEX
925# define DEC(n) DEC_2(n)
926# define HEX(n) HEX_2(n)
927# if COMPILER_VERSION_TWEAK == 0
928 print *, 'INFO:compiler_version_TWEAK_digit_2[0]'
929# elif COMPILER_VERSION_TWEAK == 1
930 print *, 'INFO:compiler_version_TWEAK_digit_2[1]'
931# elif COMPILER_VERSION_TWEAK == 2
932 print *, 'INFO:compiler_version_TWEAK_digit_2[2]'
933# elif COMPILER_VERSION_TWEAK == 3
934 print *, 'INFO:compiler_version_TWEAK_digit_2[3]'
935# elif COMPILER_VERSION_TWEAK == 4
936 print *, 'INFO:compiler_version_TWEAK_digit_2[4]'
937# elif COMPILER_VERSION_TWEAK == 5
938 print *, 'INFO:compiler_version_TWEAK_digit_2[5]'
939# elif COMPILER_VERSION_TWEAK == 6
940 print *, 'INFO:compiler_version_TWEAK_digit_2[6]'
941# elif COMPILER_VERSION_TWEAK == 7
942 print *, 'INFO:compiler_version_TWEAK_digit_2[7]'
943# elif COMPILER_VERSION_TWEAK == 8
944 print *, 'INFO:compiler_version_TWEAK_digit_2[8]'
945# elif COMPILER_VERSION_TWEAK == 9
946 print *, 'INFO:compiler_version_TWEAK_digit_2[9]'
947# endif
948
949# undef DEC
950# undef HEX
951# define DEC(n) DEC_3(n)
952# define HEX(n) HEX_3(n)
953# if COMPILER_VERSION_TWEAK == 0
954 print *, 'INFO:compiler_version_TWEAK_digit_3[0]'
955# elif COMPILER_VERSION_TWEAK == 1
956 print *, 'INFO:compiler_version_TWEAK_digit_3[1]'
957# elif COMPILER_VERSION_TWEAK == 2
958 print *, 'INFO:compiler_version_TWEAK_digit_3[2]'
959# elif COMPILER_VERSION_TWEAK == 3
960 print *, 'INFO:compiler_version_TWEAK_digit_3[3]'
961# elif COMPILER_VERSION_TWEAK == 4
962 print *, 'INFO:compiler_version_TWEAK_digit_3[4]'
963# elif COMPILER_VERSION_TWEAK == 5
964 print *, 'INFO:compiler_version_TWEAK_digit_3[5]'
965# elif COMPILER_VERSION_TWEAK == 6
966 print *, 'INFO:compiler_version_TWEAK_digit_3[6]'
967# elif COMPILER_VERSION_TWEAK == 7
968 print *, 'INFO:compiler_version_TWEAK_digit_3[7]'
969# elif COMPILER_VERSION_TWEAK == 8
970 print *, 'INFO:compiler_version_TWEAK_digit_3[8]'
971# elif COMPILER_VERSION_TWEAK == 9
972 print *, 'INFO:compiler_version_TWEAK_digit_3[9]'
973# endif
974
975# undef DEC
976# undef HEX
977# define DEC(n) DEC_4(n)
978# define HEX(n) HEX_4(n)
979# if COMPILER_VERSION_TWEAK == 0
980 print *, 'INFO:compiler_version_TWEAK_digit_4[0]'
981# elif COMPILER_VERSION_TWEAK == 1
982 print *, 'INFO:compiler_version_TWEAK_digit_4[1]'
983# elif COMPILER_VERSION_TWEAK == 2
984 print *, 'INFO:compiler_version_TWEAK_digit_4[2]'
985# elif COMPILER_VERSION_TWEAK == 3
986 print *, 'INFO:compiler_version_TWEAK_digit_4[3]'
987# elif COMPILER_VERSION_TWEAK == 4
988 print *, 'INFO:compiler_version_TWEAK_digit_4[4]'
989# elif COMPILER_VERSION_TWEAK == 5
990 print *, 'INFO:compiler_version_TWEAK_digit_4[5]'
991# elif COMPILER_VERSION_TWEAK == 6
992 print *, 'INFO:compiler_version_TWEAK_digit_4[6]'
993# elif COMPILER_VERSION_TWEAK == 7
994 print *, 'INFO:compiler_version_TWEAK_digit_4[7]'
995# elif COMPILER_VERSION_TWEAK == 8
996 print *, 'INFO:compiler_version_TWEAK_digit_4[8]'
997# elif COMPILER_VERSION_TWEAK == 9
998 print *, 'INFO:compiler_version_TWEAK_digit_4[9]'
999# endif
1000
1001# undef DEC
1002# undef HEX
1003# define DEC(n) DEC_5(n)
1004# define HEX(n) HEX_5(n)
1005# if COMPILER_VERSION_TWEAK == 0
1006 print *, 'INFO:compiler_version_TWEAK_digit_5[0]'
1007# elif COMPILER_VERSION_TWEAK == 1
1008 print *, 'INFO:compiler_version_TWEAK_digit_5[1]'
1009# elif COMPILER_VERSION_TWEAK == 2
1010 print *, 'INFO:compiler_version_TWEAK_digit_5[2]'
1011# elif COMPILER_VERSION_TWEAK == 3
1012 print *, 'INFO:compiler_version_TWEAK_digit_5[3]'
1013# elif COMPILER_VERSION_TWEAK == 4
1014 print *, 'INFO:compiler_version_TWEAK_digit_5[4]'
1015# elif COMPILER_VERSION_TWEAK == 5
1016 print *, 'INFO:compiler_version_TWEAK_digit_5[5]'
1017# elif COMPILER_VERSION_TWEAK == 6
1018 print *, 'INFO:compiler_version_TWEAK_digit_5[6]'
1019# elif COMPILER_VERSION_TWEAK == 7
1020 print *, 'INFO:compiler_version_TWEAK_digit_5[7]'
1021# elif COMPILER_VERSION_TWEAK == 8
1022 print *, 'INFO:compiler_version_TWEAK_digit_5[8]'
1023# elif COMPILER_VERSION_TWEAK == 9
1024 print *, 'INFO:compiler_version_TWEAK_digit_5[9]'
1025# endif
1026
1027# undef DEC
1028# undef HEX
1029# define DEC(n) DEC_6(n)
1030# define HEX(n) HEX_6(n)
1031# if COMPILER_VERSION_TWEAK == 0
1032 print *, 'INFO:compiler_version_TWEAK_digit_6[0]'
1033# elif COMPILER_VERSION_TWEAK == 1
1034 print *, 'INFO:compiler_version_TWEAK_digit_6[1]'
1035# elif COMPILER_VERSION_TWEAK == 2
1036 print *, 'INFO:compiler_version_TWEAK_digit_6[2]'
1037# elif COMPILER_VERSION_TWEAK == 3
1038 print *, 'INFO:compiler_version_TWEAK_digit_6[3]'
1039# elif COMPILER_VERSION_TWEAK == 4
1040 print *, 'INFO:compiler_version_TWEAK_digit_6[4]'
1041# elif COMPILER_VERSION_TWEAK == 5
1042 print *, 'INFO:compiler_version_TWEAK_digit_6[5]'
1043# elif COMPILER_VERSION_TWEAK == 6
1044 print *, 'INFO:compiler_version_TWEAK_digit_6[6]'
1045# elif COMPILER_VERSION_TWEAK == 7
1046 print *, 'INFO:compiler_version_TWEAK_digit_6[7]'
1047# elif COMPILER_VERSION_TWEAK == 8
1048 print *, 'INFO:compiler_version_TWEAK_digit_6[8]'
1049# elif COMPILER_VERSION_TWEAK == 9
1050 print *, 'INFO:compiler_version_TWEAK_digit_6[9]'
1051# endif
1052
1053# undef DEC
1054# undef HEX
1055# define DEC(n) DEC_7(n)
1056# define HEX(n) HEX_7(n)
1057# if COMPILER_VERSION_TWEAK == 0
1058 print *, 'INFO:compiler_version_TWEAK_digit_7[0]'
1059# elif COMPILER_VERSION_TWEAK == 1
1060 print *, 'INFO:compiler_version_TWEAK_digit_7[1]'
1061# elif COMPILER_VERSION_TWEAK == 2
1062 print *, 'INFO:compiler_version_TWEAK_digit_7[2]'
1063# elif COMPILER_VERSION_TWEAK == 3
1064 print *, 'INFO:compiler_version_TWEAK_digit_7[3]'
1065# elif COMPILER_VERSION_TWEAK == 4
1066 print *, 'INFO:compiler_version_TWEAK_digit_7[4]'
1067# elif COMPILER_VERSION_TWEAK == 5
1068 print *, 'INFO:compiler_version_TWEAK_digit_7[5]'
1069# elif COMPILER_VERSION_TWEAK == 6
1070 print *, 'INFO:compiler_version_TWEAK_digit_7[6]'
1071# elif COMPILER_VERSION_TWEAK == 7
1072 print *, 'INFO:compiler_version_TWEAK_digit_7[7]'
1073# elif COMPILER_VERSION_TWEAK == 8
1074 print *, 'INFO:compiler_version_TWEAK_digit_7[8]'
1075# elif COMPILER_VERSION_TWEAK == 9
1076 print *, 'INFO:compiler_version_TWEAK_digit_7[9]'
1077# endif
1078
1079# undef DEC
1080# undef HEX
1081# define DEC(n) DEC_8(n)
1082# define HEX(n) HEX_8(n)
1083# if COMPILER_VERSION_TWEAK == 0
1084 print *, 'INFO:compiler_version_TWEAK_digit_8[0]'
1085# elif COMPILER_VERSION_TWEAK == 1
1086 print *, 'INFO:compiler_version_TWEAK_digit_8[1]'
1087# elif COMPILER_VERSION_TWEAK == 2
1088 print *, 'INFO:compiler_version_TWEAK_digit_8[2]'
1089# elif COMPILER_VERSION_TWEAK == 3
1090 print *, 'INFO:compiler_version_TWEAK_digit_8[3]'
1091# elif COMPILER_VERSION_TWEAK == 4
1092 print *, 'INFO:compiler_version_TWEAK_digit_8[4]'
1093# elif COMPILER_VERSION_TWEAK == 5
1094 print *, 'INFO:compiler_version_TWEAK_digit_8[5]'
1095# elif COMPILER_VERSION_TWEAK == 6
1096 print *, 'INFO:compiler_version_TWEAK_digit_8[6]'
1097# elif COMPILER_VERSION_TWEAK == 7
1098 print *, 'INFO:compiler_version_TWEAK_digit_8[7]'
1099# elif COMPILER_VERSION_TWEAK == 8
1100 print *, 'INFO:compiler_version_TWEAK_digit_8[8]'
1101# elif COMPILER_VERSION_TWEAK == 9
1102 print *, 'INFO:compiler_version_TWEAK_digit_8[9]'
1103# endif
1104
1105#endif
1106
1107 END