Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
amdis
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Aland, Sebastian
amdis
Commits
cf3fc63f
Commit
cf3fc63f
authored
Apr 19, 2011
by
Thomas Witkowski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmake demos
parent
48c1dd5f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
33 deletions
+8
-33
demo/CMakeLists.txt
demo/CMakeLists.txt
+6
-7
demo/README
demo/README
+2
-26
No files found.
demo/CMakeLists.txt
View file @
cf3fc63f
project
(
"amdis_demo"
)
cmake_minimum_required
(
VERSION 2.8
)
SET
(
AMDiS_DIR /u/witkowski/amdis/install/amdis_rebuild/share/amdis
)
#find_package(AMDiS REQUIRED COMPONENTS umfpack )
find_package
(
AMDiS REQUIRED
)
#find_package(AMDIS REQUIRED COMPONENTS umfpack )
find_package
(
AMDIS REQUIRED
)
if
(
AMD
i
S_FOUND
)
if
(
AMD
I
S_FOUND
)
message
(
"amdis was found
\n
"
)
include
(
${
AMD
i
S_USE_FILE
}
)
SET
(
BASIS_LIBS
${
AMD
i
S_LIBRARIES
}
)
endif
(
AMD
i
S_FOUND
)
include
(
${
AMD
I
S_USE_FILE
}
)
SET
(
BASIS_LIBS
${
AMD
I
S_LIBRARIES
}
)
endif
(
AMD
I
S_FOUND
)
file
(
GLOB sources src/*.cc
)
foreach
(
s
${
sources
}
)
...
...
demo/README
View file @
cf3fc63f
This readme shortly explains how to use the different buildsystems.
Currently (November 2010) we provide a CMake and a libtool version.
Each buildsystem uses it own configuration file:
buildsystem configfile
cmake CMakeLists.txt
libtool Makefile_libtool
The cmake system will generate a new Makefile, thus if we would use
simple Makefile for libtool, the libtool configuration would be overidden.
LIBTOOL version
The libtool version requires
* AMDiS was build with libtool
(i.e.: configure --prefix=`pwd` ; make ; make install )
* The prefix MUST be the AMDiS-directory
* The AMDiS directory should be ../AMDiS. But you can change the
variable AMDIS_DIR (see line 15 in the libtool configuration file).
If those requirements are fullfilled, you can compile all demos with
make -f Makefile_libtool
or a subset {demo1, demo2} with
make -f Makefile_libtoo demo1 demo2
CMAKE version
The cmake version requires
* AMDiS was build and installed using cmake or downloaded from www.simunova.com
or installed from a package from http://www.simunova.com. For more information,
simply have a look at http://www.simunova.com.
* AMDiS was build and installed using cmake or downloaded from www.amdis-fem.org
or installed from a package from http://www.amdis-fem.org.
To use the cmake buildsystem, simply run
cmake .
If your cmake complains about not to find AMDiS, you have at least two ways:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment