Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
libcdi
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
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
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
mpim-sw
libcdi
Commits
580af7ca
Commit
580af7ca
authored
7 years ago
by
Thomas Jahns
Committed by
Sergey Kosukhin
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Adjust for YAXT split of library into C and Fortran part.
parent
9ee8236a
No related branches found
No related tags found
3 merge requests
!11
Consolidation with CDI-PIO (1.8.x)
,
!9
test for buildbot-CI integration in gitlab
,
!8
Consolidation with CDI-PIO (1.8.x)
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
configure.ac
+15
-0
15 additions, 0 deletions
configure.ac
examples/pio/Makefile.am
+1
-1
1 addition, 1 deletion
examples/pio/Makefile.am
with
16 additions
and
1 deletion
configure.ac
+
15
−
0
View file @
580af7ca
...
...
@@ -254,9 +254,24 @@ main(int argc, char **argv)
AS_IF([test "x$MPI_LAUNCH" = xtrue],
[AC_MSG_WARN([MPI launch command unavailable])])
AC_ARG_VAR([YAXT_FC_LIB],[Flags needed to link YAXT for the Fortran API])
AC_ARG_VAR([YAXT_FC_INCLUDE],
[Flags needed to compile for the Fortran API of YAXT])
PKG_CHECK_MODULES([YAXT],[yaxt],
[AC_DEFINE([HAVE_YAXT],,[yaxt library is available])],
[AC_MSG_FAILURE([Required yaxt library unavailable.])])
AS_IF([test x${YAXT_FC_LIB+set} != xset],
[YAXT_FC_LIB=$YAXT_LIBS])
AS_IF([test x${YAXT_FC_INCLUDE+set} != xset],
[YAXT_FC_INCLUDE=$YAXT_CFLAGS])
PKG_CHECK_MODULES([YAXT_C],[yaxt_c],
[YAXT_LIBS=$YAXT_C_LIBS
YAXT_CFLAGS=$YAXT_C_CFLAGS],
[YAXT_VERSION=`pkg-config --modversion yaxt`
YAXT_MAJOR_VERSION=`expr "$YAXT_VERSION" : "@<:@0-9@:>@*"`
YAXT_MINOR_VERSION=`echo "$YAXT_VERSION" | sed -e 's/^@<:@0-9@:>@*\.\(@<:@0-9@:>@*\).*/\1/'`
AS_IF([test "$YAXT_MAJOR_VERSION" -gt 0 -o "$YAXT_MINOR_VERSION" -gt 4],
[YAXT_LIBS=`echo "$YAXT_LIBS" | sed -e 's/-lyaxt *$/-lyaxt_c/'`])])
dnl parallel netCDF support still requires ScalES-PPM and YAXT to
dnl re-arrange the data when running with more than one collector
PKG_CHECK_MODULES([PPM_CORE],[scales-ppm-core],
...
...
This diff is collapsed.
Click to expand it.
examples/pio/Makefile.am
+
1
−
1
View file @
580af7ca
...
...
@@ -17,7 +17,7 @@ collectData_SOURCES=collectData.c
if
USE_MPI
LDADD
=
$(
top_builddir
)
/src/libcdipio.la
$(
MPI_C_LIB
)
collectData2003_LDADD
=
$(
top_builddir
)
/src/libcdipio.la
$(
MPI_FC_LIB
)
collectData2003_LDADD
=
$(
top_builddir
)
/src/libcdipio.la
$(
YAXT_FC_LIB
)
$(
MPI_FC_LIB
)
else
LDADD
=
$(
top_builddir
)
/src/libcdi.la
collectData2003_LDADD
=
$(
top_builddir
)
/src/libcdi.la
...
...
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