Arne Morten Kvarving
ea242fda48
prepare buildsystem for separate repos
...
- generate cmake config files
- refactor testing to make it reusable (downloads gtest if used from
applications)
- split of flags/definitions
- install Apps/Common with main library
2016-01-31 14:19:09 +01:00
Arne Morten Kvarving
3b07efffc2
reorganize NavierStokes application layout
...
- move Stokes application to Apps/Stokes
- move FSI application to Apps/FSI
- rename old Stokes directory NavierStokes
2016-01-31 14:19:08 +01:00
Knut Morten Okstad
536ed75ae8
Reorganised the Elasticity sources into libraries to better facilitate reuse.
...
This also includes moving the GETBeam sources from the 3rdparty folder.
2016-01-31 14:19:08 +01:00
Knut Morten Okstad
80dd1af29d
Fixed: It seems like the foreach statement is executed once even if
...
UNIT_TEST_NUMBER is zero. It caused cmake-failure when executed on an
application with no unit tests present.
2016-01-31 14:04:02 +01:00
Arne Morten Kvarving
6958acfed7
fixed: do not execute library unit tests with an in-tree ifem
2016-01-31 13:49:46 +01:00
timovanopstal
d1adf474ec
BLAS/accelerate related fixes
2016-01-31 13:49:46 +01:00
Kjetil Andre Johannessen
e2a3e5ecc3
Added: SIMgeneric::evalPoint(). Speedup: LRspline2D evaluation through Bezier extraction
2016-01-31 13:49:44 +01:00
Arne Morten Kvarving
844b5b2019
simplify petsc support
...
uses pkgconfig
2016-01-31 13:49:43 +01:00
Arne Morten Kvarving
41a4141be9
fixed: properly probe for cxx11 support
2016-01-31 13:49:43 +01:00
Arne Morten Kvarving
06b8996b4c
import cmakerules
2016-01-31 13:49:43 +01:00
Arne Morten Kvarving
c32274a3c2
changed: refactor LinSolParams class
...
- change from a struct-of-arrays to an array-of-structs storage scheme
- group ML/GAMG/Hypre settings in their own class
- generalize block syntax. any number of blocks, on any basis,
is now supported (just on the configuration side for now, still
hardcoded to 2 blocks on first basis as earlier)
- add unit tests for parsing
2016-01-31 13:49:42 +01:00
Arne Morten Kvarving
6987d45f32
fixed: find ifem dependencies in the corrext scope when used as a submodule
...
the XXX_FOUND values are needed in application scope
2016-01-31 13:17:57 +01:00
akva
e764bb72ba
Fixed: Deal with users passing a bool for an integer parameter
...
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3255 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:57 +01:00
akva
2195ac2cd1
fixed: don't build and run IFEM unit tests without IFEM_AS_SUBMODULE
...
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3215 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:55 +01:00
akva
46cfb14b79
changed: remove failed.log between each execution of the test target
...
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3214 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:55 +01:00
akva
3702fabf13
fixed: allow running regression tests in multiple dirs simultanously
...
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3097 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:51 +01:00
akva
d1176a7f9d
fixed: GoTools flags not applied to in-tree builds
...
fixes 'make check' in subdirectories
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3096 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:51 +01:00
akva
0ad2b4c08d
changed: explicitly add gtest header dir to ifem includes
...
temporary(?) workaround for cmake version differences
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3058 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:50 +01:00
akva
656e535b7b
fixed: add implicit linked fortran libraries when to IFEM_LIBRARIES
...
these are not automatically added by cmake since the executable may
no hold fortran code. fixes builds without use of IFEM_AS_SUBMODULE
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3005 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:48 +01:00
kmo
2b5cd01965
Fixed: Wrong reference to GETBeam library when built as sub-module
...
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3002 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:48 +01:00
akva
fe68180ac5
fixed: unit tests with in-tree or system IFEM
...
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@2967 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:46 +01:00
akva
622385be47
added: target to only build test apps, not execute tests
...
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@2946 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:45 +01:00
akva
f5d98c1d41
changed: move IFEM testing macros to separate file
...
fixes issues encountered while compiling library standalone
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@2944 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:45 +01:00
akva
cab6c97c3a
fixed: missing } broke valgrind option
...
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@2937 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:45 +01:00
akva
183f650024
changed: simplify the check-commits handling
...
now portable cmake code instead of a shell script
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@2934 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:45 +01:00
akva
8422b69752
added: unit test support for + some simple small tests
...
both the main library and applications can (and should) have unit tests
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@2933 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:45 +01:00
akva
74f658c3c1
fixed: GETBeam support with IFEM_AS_SUBMODULE
...
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@2914 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:44 +01:00
akva
5a954a9a7a
fixed: probe for get_current_dir_name
...
it's a GNU extension and does not exist on OSX
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@2888 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:44 +01:00
kmo
03fdcdaf6f
Added: Geometrically exact Timoshenko beam element (wrapped Fortran code)
...
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@2870 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:43 +01:00
akva
44a61f8f4d
fixed: update to support libLRSpline 1.0
...
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@2831 e10b68d5-8a6e-419e-a041-bce267b0401d
2016-01-31 13:17:41 +01:00
akva
9a9332a4f8
fixed: set LRSpline config stuff in build flags
...
needed when not using the submodule mode
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@2790 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:03:50 +02:00
akva
aac75d81a8
added: flag regtests with NavierStokes solver
...
easier to locate without having to resort to searching for filenames
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@2750 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:03:47 +02:00
akva
16bd9a6450
added: support setting a subdir for where to locate tests
...
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@2673 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:03:42 +02:00
akva
273a10d5fd
added: set flags from LRSpline (boost and gotools are now optional..)
...
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@2657 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:03:40 +02:00
akva
4f097f6c70
added: support for MINGW32/64 compiled windows binaries
...
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@2649 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:03:40 +02:00
akva
15fccaa7e5
added: option to run regression tests through valgrind
...
while ctest does support it through a -D, it does not integrate
nicely with the rest of the system
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@2404 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:03:23 +02:00
akva
199b33e00f
changed: add a macro to simplify adding regression tests
...
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@2401 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:03:23 +02:00
akva
56ec1582f2
changed: unify buildsystems for all apps
...
- reinstates the check-commits target on a per-app basis
- the check-commits-all target is replaced by a convenience build
system in Apps/ which builds and tests all apps
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@2382 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:03:21 +02:00
akva
65fe7050a7
changed: move the MultiArch helper rule to Apps/Common
...
will be used by build systems in Apps/Common
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@2378 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:03:21 +02:00
akva
a68a457414
changed: store the ABI version in a separate variable
...
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@2377 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:03:21 +02:00
akva
c1b37b2f0d
changed: generate IFEM.h in build folder
...
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@2373 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:03:21 +02:00
akva
c827494268
added: multiarch support
...
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@2347 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:03:19 +02:00
akva
52a43a5ec3
changed: remove CPack based packaging
...
cpack is too limited and have too many issue that need to be worked
around. native packaging for redhat and debian will follow
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@2346 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:03:18 +02:00
akva
e4605fe07c
changed: don't find system MPI
...
it is set up for us by petsc and this hinders the use of
a petsc with bundled mpi
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@2340 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:03:18 +02:00
akva
33359bd51f
fixed: detect ICC through the vendor flag rather the the compiler name
...
works better with mpi compiler wrappers
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@2335 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:03:18 +02:00
kjetijo
fad8c982bf
Updating ASMu to match LR spline v0.4
...
Build: LR splines req 0.4
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@2254 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:03:12 +02:00
akva
e1f9d9b53c
fixed: applications may need to know we are running with MPI
...
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1963 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:53 +02:00
akva
9fe306dc84
fixed: replace the 'real' define with 'Real'
...
'real' is a dangerous symbol to reserve in the global namespace,
and this has been a ticking bomb all the time. it finally blew,
if gotools is compiled against boost, it will pull the <complex>
header and the define clashes with the real() member.
while still a define in the global namespace, Real should be less
class prone
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1947 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:52 +02:00
akva
217aa2b2b1
changed: do not store third party Find rules in-tree
...
since these are shared between several ifem related projects,
we get into issues with rules out of sync, as well as several
packages providing the same files when building up debs.
thus the CMake rules are split off into a separate git, available at
afem:/home/akva/libifem-cmakerules.git
you either have to clone this git and do the make / sudo make install
cycle there, or install the libifem-cmakerules package from an
apt repository
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1902 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:48 +02:00
akva
d60f295c85
added: export IFEM version in IFEM find rule
...
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1901 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:48 +02:00