Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-common
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Timo Koch
dune-common
Commits
21fb9f79
Commit
21fb9f79
authored
19 years ago
by
Oliver Sander
Browse files
Options
Downloads
Patches
Plain Diff
builds parallel UGGrid again
[[Imported from SVN: r2127]]
parent
7e36ada5
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
grid/uggrid/Makefile.am
+2
-2
2 additions, 2 deletions
grid/uggrid/Makefile.am
io/file/amiramesh/Makefile.am
+2
-2
2 additions, 2 deletions
io/file/amiramesh/Makefile.am
m4/ug.m4
+6
-1
6 additions, 1 deletion
m4/ug.m4
with
10 additions
and
5 deletions
grid/uggrid/Makefile.am
+
2
−
2
View file @
21fb9f79
...
...
@@ -6,11 +6,11 @@ noinst_LTLIBRARIES = libuggrid2.la libuggrid3.la
# The two libs are compiled from the same source, but with different options
libuggrid2_la_SOURCES
=
uggrid.cc
libuggrid2_la_CXXFLAGS
=
$(
AM_CPPFLAGS
)
-I
$(
UG_
INCLUDE_PATH
)
-D_2
libuggrid2_la_CXXFLAGS
=
$(
AM_CPPFLAGS
)
$(
UG_
NODIM_CPPFLAGS
)
-D_2
libuggrid2_la_LIBADD
=
$(
UG_LDFLAGS
)
$(
UG_LIBS2
)
libuggrid3_la_SOURCES
=
uggrid.cc
libuggrid3_la_CXXFLAGS
=
$(
AM_CPPFLAGS
)
-I
$(
UG_
INCLUDE_PATH
)
-D_3
libuggrid3_la_CXXFLAGS
=
$(
AM_CPPFLAGS
)
$(
UG_
NODIM_CPPFLAGS
)
-D_3
libuggrid3_la_LIBADD
=
$(
UG_LDFLAGS
)
$(
UG_LIBS3
)
endif
...
...
This diff is collapsed.
Click to expand it.
io/file/amiramesh/Makefile.am
+
2
−
2
View file @
21fb9f79
...
...
@@ -6,11 +6,11 @@ if UG
noinst_LTLIBRARIES
=
libug2amiramesh.la libug3amiramesh.la
libug2amiramesh_la_SOURCES
=
amuggridreader.cc
libug2amiramesh_la_CXXFLAGS
=
$(
AMIRAMESH_CPPFLAGS
)
-I
$(
UG_
INCLUDE_PATH
)
-D_2
libug2amiramesh_la_CXXFLAGS
=
$(
AMIRAMESH_CPPFLAGS
)
$(
UG_
NODIM_CPPFLAGS
)
-D_2
libug2amiramesh_la_LIBADD
=
$(
AMIRAMESH_LDFLAGS
)
libug3amiramesh_la_SOURCES
=
amuggridreader.cc
libug3amiramesh_la_CXXFLAGS
=
$(
AMIRAMESH_CPPFLAGS
)
-I
$(
UG_
INCLUDE_PATH
)
-D_3
libug3amiramesh_la_CXXFLAGS
=
$(
AMIRAMESH_CPPFLAGS
)
$(
UG_
NODIM_CPPFLAGS
)
-D_3
libug3amiramesh_la_LIBADD
=
$(
AMIRAMESH_LDFLAGS
)
...
...
This diff is collapsed.
Click to expand it.
m4/ug.m4
+
6
−
1
View file @
21fb9f79
...
...
@@ -96,11 +96,15 @@ AC_DEFUN([DUNE_PATH_UG],[
# UG_CPPFLAGS="-D_${UGDOMAIN}_ -D_${UG_DIM} $UG_CPPFLAGS"
# fi
# use global dimension
if
test
"
$with_problem_dim
"
!=
"
$with_world_dim
"
;
then
AC_MSG_ERROR
([
problem-dimension and world-dimension have to be the same
for
UG!]
)
fi
UG_DIM
=
"
$with_problem_dim
"
# The same as UG_CPPFLAGS, but without the dimensionality parameter
UG_NODIM_CPPFLAGS
=
"
${
UG_CPPFLAGS
}
"
UG_CPPFLAGS
=
"
${
UG_CPPFLAGS
}
-D_
${
UG_DIM
}
"
AC_LANG_PUSH
([
C++]
)
...
...
@@ -135,6 +139,7 @@ AC_DEFUN([DUNE_PATH_UG],[
[
int i
=
UG
${
UG_DIM
}
d::InitUg
(
0,0
)]
,
[
UG_LDFLAGS
=
"
$LDFLAGS
"
UG_CPPFLAGS
=
"
$UG_CPPFLAGS
-DModelP"
UG_NODIM_CPPFLAGS
=
"
$UG_NODIM_CPPFLAGS
-DModelP"
HAVE_UG
=
"1"
AC_MSG_RESULT
(
yes
)
]
,
...
...
@@ -161,7 +166,7 @@ AC_DEFUN([DUNE_PATH_UG],[
# TODO: Not working for the parallel UG
AC_SUBST
(
UG_LIBS3,
"-lug3 -ldomS3 -lgg3 -ldevS"
)
AC_SUBST
(
UG_CPPFLAGS,
$UG_CPPFLAGS
)
AC_SUBST
(
UG_
INCLUDE_PATH,
$UG_INCLUDE_PATH
)
AC_SUBST
(
UG_
NODIM_CPPFLAGS,
$UG_NODIM_CPPFLAGS
)
AC_DEFINE
(
HAVE_UG, 1,
[
Define to 1
if
UG is found]
)
# add to global list
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment