Martin Diehl
3ae0452440
more robust build
...
${PETSC_DIR} and ${PETSC_ARCH} are not always substituted in
${PETSC_DIR}/${PETSC_ARCH}/lib/petsc/conf/petscvariables
Therefore, get location from pkgconfig (<XXX>_LIBRARY_DIRS) and use
PETSC_EXTERNAL_LIB_BASIC instead of PETSC_WITH_EXTERNAL_LIB to get the
linker commands for the external libraries.
Also simplified regex/cleaning
2022-01-10 12:01:48 +01:00
Martin Diehl
a9293db171
new LLVM-based Intel compilers work
...
quick test shows significant performance improvement
2021-12-25 18:36:35 +01:00
Martin Diehl
d086162350
consistent style
...
there is no space before opening brackets in the CMake doc
2021-10-15 22:16:47 +02:00
Martin Diehl
dd7549a381
seems to work without further changes
2021-10-06 07:50:42 +02:00
Martin Diehl
caf9a29b73
useful information, especially in logs from bug reports
2021-08-19 07:10:00 +02:00
Martin Diehl
49ccbf3eb8
still not perfect:
...
https://stackoverflow.com/questions/32411963
2021-08-18 22:20:30 +02:00
Martin Diehl
8e75e87ad9
Merge branch 'MPI_F08' into polishing-for-beta
2021-07-09 11:32:32 +02:00
Martin Diehl
4c3ff4bef4
consistent capitalization
2021-07-08 15:05:01 +02:00
Martin Diehl
249365979f
for spack, following DealII
...
https://spack.readthedocs.io/en/latest/build_systems/cmakepackage.html
'RelWithDebInfo' is not easy to remember
2021-07-06 06:49:25 +02:00
Martin Diehl
f0a75d8d62
consistent capitalization
...
Capitals for pre processor macros to avoid clashes
2021-07-04 17:43:19 +02:00
Martin Diehl
67352d9ec7
location depends on PETSC_ARCH (if set)
2021-05-19 19:22:06 +02:00
Martin Diehl
f6684a0692
easier to read
2021-05-19 18:53:25 +02:00
Martin Diehl
3cf2ea1749
simplified
2021-05-19 17:31:59 +02:00
Martin Diehl
d4f439ae8b
read directly from file
...
detour via dummy makefile not needed
2021-05-19 17:19:11 +02:00
Martin Diehl
15c498f1ed
polishing
2021-05-19 17:02:11 +02:00
Martin Diehl
3a5ecc8be5
simplified and in correct order
2021-05-19 14:26:17 +02:00
Martin Diehl
49d51e196c
no hope for GPI
...
flang will hopefully work in the near future
2021-05-19 13:42:14 +02:00
Martin Diehl
80b6aaec77
inclusion of rules not needed
2021-05-19 13:31:18 +02:00
Martin Diehl
7250fbb7c6
DAMASK is compatible with PETSc 3.15
...
still need to update the test server (and DAMASK_interface.f90)
2021-04-25 08:06:12 +02:00
Martin Diehl
e8b3e0f3ee
fail as early as possible
2021-01-04 10:01:24 +01:00
Martin Diehl
35f9861818
Fortran standard is 2018
...
will not work for older compilers
2020-12-18 15:19:04 +01:00
Martin Diehl
9ce406ed11
wrapper for zlib library
...
assume that zlib is available for linking. This is usually the case
(zlib is a stable standard library), but there is currently no check
that gives a nice error message or the possibility to use zlib from a
non-standard location
2020-09-06 17:49:00 +02:00
Martin Diehl
59c5fbc5fe
position independent code required for Fedora 32
2020-04-30 08:05:42 +02:00
Martin Diehl
d99c05860e
FEM is now Mesh
2020-04-28 10:35:43 +02:00
Martin Diehl
540428aab7
works also for ifort
2020-03-29 19:06:17 +02:00
Martin Diehl
9690f170e1
4 space indentation
2020-01-29 22:44:42 +01:00
Martin Diehl
7e9ce183a4
better readable
2020-01-26 15:10:27 +01:00
Martin Diehl
bd5f963260
polishing
2020-01-04 16:54:07 +01:00
Martin Diehl
cba7114dff
there is also an FEM solver that operates on regular grids
2020-01-02 21:42:28 +01:00
Martin Diehl
b119d2fefa
Fortran submodule support in older cmake is broken
...
better use even 3.14 and above
https://www.scivision.dev/fortran-2008-submodule-cmake
2019-10-18 20:51:45 +02:00
Martin Diehl
2ea07950ff
case insensitive comparison for project name
...
accept also mesh for FEM
2019-04-28 12:54:59 +02:00
Martin Diehl
a5ff0edf1f
Merge branch 'development' into MiscImprovements
2019-04-28 06:59:27 +02:00
Martin Diehl
7b04b76112
check for undefined variables
...
defined but empty variables are different
2019-04-27 17:55:06 +02:00
Martin Diehl
7041c1508a
giving extension does not work
2019-04-27 10:19:11 +02:00
Martin Diehl
a2887e3918
small portions are better readable
2019-04-27 07:56:52 +02:00
Martin Diehl
b4a21e8d40
fix for older cmake
...
looks ok
2019-04-26 18:07:43 +02:00
Martin Diehl
b63a6c7034
cleaner code that also works with older cmake
2019-04-26 17:39:21 +02:00
Martin Diehl
ed2d64d876
more standard way of installing executable
2019-04-26 16:36:36 +02:00
Martin Diehl
5020d8204e
prefix is without bin
2019-04-26 10:00:29 +02:00
Martin Diehl
7104bc9934
allow standard CMAKE way of setting install directory
...
- DAMASK_BIN in config has no effect anymore
2019-04-25 07:08:32 +02:00
Martin Diehl
72b30729bb
submodule for homogenization
...
first draft, RGC not included because of name clash with isostrain
2019-04-05 21:46:00 +02:00
Martin Diehl
a2f9517ced
fixed tests
2019-04-03 22:36:00 +00:00
Martin Diehl
43bf51da67
copy and paste error in installation target of FEM
2019-04-03 20:23:46 +02:00
Martin Diehl
d55a7da592
renaming "spectral" to "grid"
2019-03-23 09:27:58 +01:00
Martin Diehl
de330517eb
rank not supported by older compiler/older dialects
2019-03-08 07:42:13 +01:00
Martin Diehl
79a01ef823
no need to set integer precision
2019-03-07 20:46:34 +01:00
Martin Diehl
de26e41684
some first steps to support debugging with the PGI compiler
...
norm2 and sum for initialization are not supported yet, need fixes
2019-02-09 15:02:07 +00:00
Martin Diehl
497287d90d
[skip ci] first look for gmake, then for make
...
allows to compile on systems where GNU make (gmake) is not the default.
2018-11-24 15:01:28 +01:00
Martin Diehl
d06c8f169c
that seems to be the correct way
2018-10-16 23:33:35 +02:00
Martin Diehl
5bf6ede661
polishing
2018-05-24 07:57:10 +02:00