Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Y
yaxt
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
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
dkrz-sw
yaxt
Commits
083a445b
Commit
083a445b
authored
5 months ago
by
Thomas Jahns
Browse files
Options
Downloads
Patches
Plain Diff
configure: Fix workaround for libxml fail.
parent
bc388150
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
configure.ac
+4
-4
4 additions, 4 deletions
configure.ac
m4/acx_libxml2_workaround.m4
+3
-1
3 additions, 1 deletion
m4/acx_libxml2_workaround.m4
src/mpi-workarounds/Makefile.am
+1
-1
1 addition, 1 deletion
src/mpi-workarounds/Makefile.am
with
8 additions
and
6 deletions
configure.ac
+
4
−
4
View file @
083a445b
...
...
@@ -561,7 +561,9 @@ ACX_MPI_DEFECTS(,,
[workaround_successful=false
AC_MSG_WARN([known problem detected, attempting work-around!])
ACX_LIBXML2_WORKAROUND(,[mpi_fortran_startup.f90],
[AC_LIBOBJ([xt_xmlXPathInit])
[AS_CASE([$acx_workaround],
[xt_xmlXPathInit],[AC_LIBOBJ([xt_xmlXPathInit])],
[xt_xmlInitParser],[AC_LIBOBJ([xt_xmlInitParser])])
workaround_successful=:],
[AC_MSG_NOTICE(
[Could not apply libxml2 SIGFPE bug work-around.])])
...
...
@@ -602,9 +604,7 @@ AM_CONDITIONAL([USE_NB_A2A],[test $MPI_VERSION -ge 3 && test x"$xt_disable_nb_a2
AS_IF([test $MPI_VERSION -ge 3 && test x"$xt_disable_nb_a2a" = xno],
[AC_DEFINE([XT_CAN_USE_MPI_NEIGHBOR_ALLTOALL],[1],
[defined if MPI_Neighbor_alltoall functions are actually working])])
AM_CONDITIONAL([XT_ADD_MPI_WORKAROUND],
[test x${acx_opal_datatype_add_workaround+set} = xset \
-o x${acx_yaksa_add_workaround+set} = xset])
AM_CONDITIONAL([XT_ADD_MPI_WORKAROUND], [test -n "$LIBOBJS"])
AS_IF([test x${acx_opal_datatype_add_workaround+set} = xset \
-o x${acx_yaksa_add_workaround+set} = xset],
[AC_DEFINE_UNQUOTED([XT_WORKAROUND_MPI_SYMBIND],
...
...
This diff is collapsed.
Click to expand it.
m4/acx_libxml2_workaround.m4
+
3
−
1
View file @
083a445b
...
...
@@ -54,12 +54,12 @@ AC_DEFUN([ACX_LIBXML2_WORKAROUND],
dnl so far
acx_saved_LIBS=$LIBS
acx_saved_CPPFLAGS=$CPPFLAGS
acx_is_affected_libxml2=:
dnl 2. copy workaround source into place for configure logic
acx_workaround_dir="$srcdir/m4_default([$5],[src/mpi-workarounds])/"
for acx_workaround in xt_xmlXPathInit xt_xmlInitParser \
xt_xmlInitParser.c_def
do
acx_is_affected_libxml2=:
AS_IF([test "$acx_workaround" = xt_xmlInitParser.c_def],
[acx_workaround=xt_xmlInitParser
CPPFLAGS="$CPPFLAGS -DXT_LIBXML_INCLUDE_SUBDIR"])
...
...
@@ -73,6 +73,8 @@ AC_DEFUN([ACX_LIBXML2_WORKAROUND],
LIBS="xt_workaround.$ac_objext -lxml2 $LIBS"
acx_libxml2_check_dir=`echo "acx_mpi_check_src_" | sed 's@/@<:@^/@:>@*$[]@@'`
ACX_MPI_DEFECTS([$acx_libxml2_check_dir],, [acx_is_affected_libxml2=false], [$2])
AS_IF([$acx_is_affected_libxml2],
[break])
rm -f xt_workaround.*
done
LIBS=$acx_saved_LIBS
...
...
This diff is collapsed.
Click to expand it.
src/mpi-workarounds/Makefile.am
+
1
−
1
View file @
083a445b
...
...
@@ -49,7 +49,7 @@ libmpi_workaround_la_SOURCES =
libmpi_workaround_la_LIBADD
=
$(
LIBOBJS
)
$(
xt_mpi_workaround_LIBS
)
$(
MPI_C_LIB
)
endif
EXTRA_DIST
=
xt_xmlInitParser.c
EXTRA_DIST
=
xt_xmlInitParser.c
xt_xmlXPathInit.c
distclean-local
:
-
rm
-rf
'
$(
DEPDIR
)
'
...
...
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