|
5 | 5 | !> @author Philip Eisenlohr, Max-Planck-Institut für Eisenforschung GmbH |
6 | 6 | !> @brief Parse command line interface for PETSc-based solvers |
7 | 7 | !-------------------------------------------------------------------------------------------------- |
8 | | -#define PETSC_MINOR_MIN 12 |
| 8 | +#define PETSC_MINOR_MIN 15 |
9 | 9 | #define PETSC_MINOR_MAX 22 |
10 | 10 |
|
11 | 11 | module CLI |
@@ -109,19 +109,18 @@ subroutine CLI_init() |
109 | 109 | print'(1x,a)', 'https://doi.org/'//PETSc_DOI |
110 | 110 | #endif |
111 | 111 | #endif |
112 | | - print'(/,1x,a)', 'Version: '//DAMASKVERSION |
| 112 | + print'(/,1x,a)', 'Version: '//DAMASK_VERSION |
113 | 113 |
|
| 114 | + ! https://github.com/jeffhammond/HPCInfo/blob/master/docs/Preprocessor-Macros.md |
114 | 115 | print'(/,1x,a)', 'Compiled with: '//compiler_version() |
115 | | - print'(1x,a)', 'Compiled on: '//CMAKE_SYSTEM |
116 | 116 | print'(1x,a)', 'Compiler options: '//compiler_options() |
| 117 | + print'(1x,a)', 'Compiled for: '//CMAKE_SYSTEM_NAME//' on '//CMAKE_SYSTEM_PROCESSOR |
| 118 | + print'(1x,a,1x,i0,a,i0,a,i0)', & |
| 119 | + 'PETSc version:',PETSC_VERSION_MAJOR,'.',PETSC_VERSION_MINOR,'.',PETSC_VERSION_SUBMINOR |
117 | 120 |
|
118 | | - ! https://github.com/jeffhammond/HPCInfo/blob/master/docs/Preprocessor-Macros.md |
119 | | - print'(/,1x,a)', 'Compiled on: '//__DATE__//' at '//__TIME__ |
120 | | - |
121 | | - print'(/,1x,a,1x,i0,a,i0,a,i0)', & |
122 | | - 'PETSc version:',PETSC_VERSION_MAJOR,'.',PETSC_VERSION_MINOR,'.',PETSC_VERSION_SUBMINOR |
| 121 | + print'(/,1x,a)', 'Compiled at: '//__DATE__//' at '//__TIME__ |
123 | 122 |
|
124 | | - call date_and_time(values = dateAndTime) |
| 123 | + call date_and_time(values = dateAndTime) |
125 | 124 | print'(/,1x,a,1x,2(i2.2,a),i4.4)', 'Date:',dateAndTime(3),'/',dateAndTime(2),'/',dateAndTime(1) |
126 | 125 | print'(1x,a,1x,2(i2.2,a),i2.2)', 'Time:',dateAndTime(5),':',dateAndTime(6),':',dateAndTime(7) |
127 | 126 |
|
|
0 commit comments