Commit Graph

135 Commits

Author SHA1 Message Date
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
Martin Diehl 1c75a2e9cd using syntax with better error handling 2018-05-24 07:13:12 +02:00
Martin Diehl 0ee34d608c fixing all appaerances 2018-05-24 00:06:03 +02:00
Mingxuan Lin bf7efad250 Fix errors in CMake script 2018-05-23 21:46:03 +02:00
Martin Diehl 1d688a6c24 linker error for Intel Fortran 2018-05-19 10:06:36 +02:00
Philip Eisenlohr 483ed745e0 replaced #ifndef _OPENMP with #ifdef DEBUG to trigger inclusion of parallelized debug statements; fixed minor bugs in debug output 2017-10-03 09:20:53 -04:00
Philip Eisenlohr d391c33f5b moved definition of Fortran and C compilers before calling "project" 2017-04-30 17:30:27 -04:00
Martin Diehl c5f1574f47 commands depend on build type 2017-04-26 09:40:45 +02:00
Martin Diehl 69dba834cb build type (and, hence openMP) was not set correctly 2017-04-25 12:35:19 +02:00
Martin Diehl 7cb2669648 sytaycheck only target was not working 2017-04-18 07:38:36 +02:00
Martin Diehl d4c1482690 syntax check not for debug 2017-04-18 07:14:55 +02:00
Philip Eisenlohr e94f518dc7 switched to correct actions for build_type 2017-03-15 17:33:47 -05:00
Philip Eisenlohr defbf0cd12 fixed else/endif () glitch 2017-03-15 17:05:58 -05:00
Philip Eisenlohr 491fa52263 syntax polishing 2017-03-15 16:40:44 -05:00
Martin Diehl b67f4dd324 Default cases seem to work 2017-02-04 01:01:42 +01:00
Martin Diehl 3e7ab76582 adding functionality from previous build system 2017-02-03 23:23:55 +01:00
Martin Diehl 94ff2bd116 restructuring comments 2016-05-25 07:02:45 +02:00
Martin Diehl 21ad810209 changed to compile object files rather than libraries 2016-05-24 21:35:16 +02:00
Martin Diehl 13782f4ee0 simplified 2016-05-21 16:51:12 +02:00
Martin Diehl e3d8d48990 currently, only BUILD_CMD_TYPE release works 2016-05-21 15:19:21 +02:00
Martin Diehl 6023f64eff Merge branch 'cmake' of magit1.mpie.de:damask/DAMASK into cmake
Conflicts:
	CMakeLists.txt
2016-05-21 12:37:05 +02:00
Martin Diehl 475c864ea3 using different CMAKE projects for FEM/Spectral 2016-05-20 11:51:50 +02:00
Martin Diehl a009bfaf08 renamed _FLAG(S) consistently to _FLAGS
removed code doubling
2016-05-20 08:44:11 +02:00
Martin Diehl abb686029d version was never used and wrong defined 2016-05-20 08:06:06 +02:00
Martin Diehl 5ef9c65cbe cleaning 2016-05-18 08:54:16 +02:00
zhangc43 89db00da0a change default optmizatio schem 2016-05-06 17:49:36 -04:00
zhangc43 aa65425c9a tmp save before switch 2016-04-20 09:31:00 -04:00
zhangc43 c6d8d42b4d now it is possible to call cmake from make 2016-04-19 16:04:13 -04:00
zhangc43 35ab12e8f9 part of fortran flags is still missing 2016-04-19 15:45:24 -04:00
zhangc43 6ce268498e fix make recursive call problem 2016-04-19 15:11:48 -04:00
Chen Zhang 2135aaa83c try to prevent make msg mess up cmake config 2016-04-19 14:52:36 -04:00
Chen Zhang 247a6e36c3 auto extract PETSC_DIR from env 2016-04-18 18:32:08 -04:00
Chen Zhang a7c4cdaa2f update cmake build system 2016-04-18 11:14:32 -04:00
Chen Zhang 62008cb4b4 add support for prefix&suffix 2016-04-15 16:26:43 -04:00
zhangc43 5c5b8ee36a fortran 2003 is the default for DAMASK 2016-03-25 17:27:00 -04:00
zhangc43 5cbd98edba remove --standard-senmantics flag from ifort to avoid HDF5 linking error 2016-03-23 14:48:37 -04:00
Chen Zhang 610a54c048 remove options for building core module, which will be implemted in python 2016-03-14 17:49:36 -04:00
zhangc43 7aadfd56ca use options for future cross-platform support 2016-03-14 15:57:19 -04:00
zhangc43 cfddba930b add missing linker flags 2016-03-08 13:54:40 -05:00
Martin Diehl 1935d00e05 cleaned 2016-03-08 00:00:12 +01:00
Martin Diehl ff92d228f4 reordering 2016-03-07 18:43:07 +01:00
zhangc43 c22b73c803 fix mpif90 compiler type detection 2016-03-07 11:54:36 -05:00
Chen Zhang a4225de91d reorder the CMake configuration and add more comments 2016-03-06 09:30:16 -05:00
Martin Diehl 939e0e372e changed order: first find PETSc, than determine the compiler abilities 2016-03-06 09:28:20 +01:00
Chen Zhang 89a1e2deb1 detect compiler from MPIF90 2016-03-05 17:35:34 -05:00
Chen Zhang 81ac9aefa1 support special compile flags for single file 2016-03-04 17:32:26 -05:00
Chen Zhang ef45d440d9 now support old version of CMake 2016-03-04 16:43:51 -05:00
Chen Zhang 06865df87e switching development back to HPCC 2016-03-04 15:57:24 -05:00
Chen Zhang 005e4df0dd force using HDF5 from PETSc 2016-03-04 14:42:55 -05:00
Chen Zhang 0e34d0468c adding install target in CMake 2016-03-04 11:18:38 -05:00
zhangc43 9cb9de9c8a CMake build system functions properly for spectral solver 2016-03-03 16:45:15 -05:00
Chen Zhang 57c8213d9b force linker settings in cmake 2016-03-03 16:09:02 -05:00
Chen Zhang 2cf5225875 focusing on tweaking ifort branch first 2016-03-03 14:12:10 -05:00
Chen Zhang ee148fe19c polish syntax 2016-03-03 13:11:03 -05:00
zhangc43 aa2a738ccc remove duplicated flags 2016-03-02 15:39:31 -05:00
zhangc43 7335c27b3a remove outdated flags 2016-03-02 09:47:18 -05:00
zhangc43 48dfcd65f2 clean up syntax 2016-03-02 09:37:12 -05:00
zhangc43 48da078bfe got petsc related flags for CMake 2016-03-01 13:23:47 -05:00
zhangc43 fee445e1bd still cannot link to petsc, but the rest is functioning properly 2016-03-01 10:36:48 -05:00
zhangc43 93d8c0045e test using cmake building spectral solver 2016-02-29 15:22:17 -05:00
zhangc43 ad6432c173 revert back to single level design for source code 2016-02-29 14:20:52 -05:00
zhangc43 e3f82f7629 trying to fix the subdirectory issue 2016-02-29 13:57:15 -05:00
zhangc43 9d89570ffb save before update base 2016-02-29 10:50:35 -05:00
zhangc43 018668f474 finally get prec.f90 to compile, now damask_interface 2016-02-26 17:21:10 -05:00
zhangc43 3a6d5311e3 auto dependency detection is not working, revert to manual 2016-02-26 12:30:57 -05:00
zhangc43 a0e98c328c set different compiling flags for FEM and SPECTRAL 2016-02-26 11:08:25 -05:00
zhangc43 b5c630141d converting compiler flag settings to CMake 2016-02-25 16:33:21 -05:00
zhangc43 eae0c3c2a4 use subdirectory to streamline CMake build system. 2016-02-24 16:25:57 -05:00
zhangc43 eb3c328756 skeleton layout for build system using CMake 2016-02-23 17:00:41 -05:00
zhangc43 d557c71b47 trying to use cmake for cross platform build 2016-02-22 11:27:53 -05:00