Commit Graph

49 Commits

Author SHA1 Message Date
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
akva
497b30e885 added: generate a build dependency meta package for libifem
anyone who wants to build ifem can now add our apt, and do
apt-get install libifem-builddeps to get all build dependencies

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1892 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:48 +02:00
akva
1d1acbd081 changed: update FindGoTools rule
upstream now has version in a separate header file. adjust code to
support this case as well

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1891 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:48 +02:00
akva
a248f5146a added: cpack for system package building
currently supports debian/ubuntu and enterprise linux 6 derivates
such as Scientific Linux 6

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1876 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:47 +02:00
akva
d5249ef63c added: a dedicated FindCBLAS.cmake rule
the built-in FindBLAS cannot handle CBLAS, and it has only worked by
incident on ubuntu since the libblas available there also includes
libcblas. needed to be portable to other distros

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1875 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:47 +02:00
akva
1409a782ec changed: restructure the elasticity apps
shared files are now in Apps/Elasticity, those only relating to the
linear elasticity app in Apps/Elasticity/Linear and the Finite
Deformation code sits in Apps/Elasticity/FiniteDeformation

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1874 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:47 +02:00
akva
7863e56c09 changed: move the poisson application to a cmake submodule
this makes it possible to build it standalone. will be shipped as an
example in source form

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1873 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:47 +02:00
akva
3bf1d1bddc Added: Build system support for forcing the SuperLU version to use
Use -DIFEM_USE_SUPERLU_MT to build with multi-threaded version

Fixed: Some missing FIND_PACKAGE statements in FindIFEMDeps.cmake

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1843 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:45 +02:00
akva
fa99732ce8 added: fail configuring if parallel PETSc and OpenMP is enabled concurrently
not supported due to PETSc limitations

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1784 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:40 +02:00
akva
cd3c3dad6a added: log petsc paths in build system
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1774 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:40 +02:00
akva
e29fb1b13f changed: some refactoring of the buildsystem
the flags are available as

IFEM_BUILD_CXX_FLAGS (for building the library)
IFEM_CXX_FLAGS for applications (only hold those used in IFEM headers)

this means that applications can only do FIND_PACKAGE(IFEM REQUIRED)
and everything will be available, no mocking around with dependency
libraries required

!NOTE! this changes the names of some of the cmake options !NOTE!
see cmake/Modules/IFEMOptions.cmake for the new names and default values

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1701 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:35 +02:00
akva
8cbc65a416 changed: use system TinyXML when available
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1700 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:35 +02:00
kjetijo
15e28a6663 Added: possible to override VTFAPI to use older version of the VTF library (i.e. not VTFx)
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1682 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:34 +02:00
akva
4045a40542 changed: add kongull ARPACK path for convenience until the module is fixed
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1642 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:31 +02:00
akva
de60bf281c fixed: append boost include dirs / libraries to gotools deps if gotools is built with boost
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1625 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:30 +02:00
akva
bceb0243ec fixed: major / minor confusion
we mean to check the minor version

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1575 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:27 +02:00
akva
f2f1edde90 changed: for >= 3.2, PETSc generates a nice .cmake file for us to include
simplifies the cmake rule for >= 3.2, while keeping the old for version
< 3.2. hopefully the old block can be removed in not too far a future

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1547 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:25 +02:00
akva
28025a90c4 changed: simplify PETSc cmake rules
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1546 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:25 +02:00
akva
7789611606 fixed: PETSc may depend on -ldl under certain circumstances
since there is no common place to read this from for petsc 3.1/3.2,
we simply always add it. won't hurt on unices

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1444 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:19 +02:00
akva
b2ea71a0dc added: handle a GoTools built against Boost in our build system
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1353 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:13 +02:00
akva
6206f0cea6 changed: find MKL in a better, portable way
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1351 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:13 +02:00
akva
d5036ab66d changed: check GoTools version and bail if < 3.0.0
also moves c++0x check into FindGoTools where it belongs (it's GoTools
requiring it, not us)

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1348 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:13 +02:00
kmo
45a9c96a30 LRspline support
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1207 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:01:48 +02:00
kjetijo
85aaeb74eb added: LR splines
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1149 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:01:44 +02:00
kmo
caeee4aadc Added optional enabling of the SPR direct solver
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1148 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:01:43 +02:00
kmo
c3db2580a1 Trying to fix problem of loosing the VTFAPI definition when the cache file exists
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1146 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:01:43 +02:00
akva
8216f43a74 added: changes needed to compile on an intel-based (MKL) system
needed for kongull

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1081 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:00:33 +02:00
akva
2542d495dc added: support VTFx aka VTF API v2
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1035 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:43:32 +02:00
kmo
ba4429b1d4 Adding HDF5 support (credit Arne Morten) + some modifications related to VTF output
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@932 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:42:49 +02:00
akva
a66b7e89b0 added: convenience. support Release-MPI and Debug-MPI build types
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@923 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:42:49 +02:00
kmo
3a4e4215e8 Minor changes in cmake files
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@860 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 08:51:57 +02:00
akva
019f022c3c fixed: support non-mpi enabled petsc
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@853 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 08:51:56 +02:00
kmo
4270cbc306 Modified in-tree search for IFEM headers
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@846 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 08:51:56 +02:00
akva
421912afdd fixed: petsc linking - now grabs the needed info from petscvariables
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@838 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 08:51:55 +02:00
akva
cd09432cad fixed: syntax not compatible with cmake 2.6 (afem)
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@837 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 08:51:55 +02:00
kmo
5579c2571f Various cmake changes: SuperLU is not enabled by default and VTF-writer is always used, if present. Added option to enable SuperLU_MT instad of SuperLU, when both are present. Added target for linear elasticity App.
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@816 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 08:50:43 +02:00
akva
a91f3b90c1 fixed: compile on afem
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@814 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 08:50:43 +02:00
akva
189a1e34df changed: use a cmake based build system
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@804 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 08:50:43 +02:00