Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Rob Latham
MPICH-BlueGene
Commits
cf3ebb41
Commit
cf3ebb41
authored
Mar 08, 2011
by
William Gropp
Browse files
[svn-r8158] Fix for int not equal to fint case when Fortran support is disabled
parent
98c341f0
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/mpi/coll/allreduce.c
View file @
cf3ebb41
...
@@ -289,7 +289,7 @@ int MPIR_Allreduce_intra (
...
@@ -289,7 +289,7 @@ int MPIR_Allreduce_intra (
uop
=
(
MPI_User_function
*
)
op_ptr
->
function
.
c_function
;
uop
=
(
MPI_User_function
*
)
op_ptr
->
function
.
c_function
;
else
{
else
{
uop
=
(
MPI_User_function
*
)
op_ptr
->
function
.
f77_function
;
uop
=
(
MPI_User_function
*
)
op_ptr
->
function
.
f77_function
;
#if
ndef
HAVE_FINT_IS_INT
#if
defined(HAVE_FORTRAN_BINDING) && !defined(
HAVE_FINT_IS_INT
)
is_f77_uop
=
1
;
is_f77_uop
=
1
;
#endif
#endif
}
}
...
...
src/mpi/coll/reduce.c
View file @
cf3ebb41
...
@@ -98,7 +98,7 @@ static int MPIR_Reduce_binomial (
...
@@ -98,7 +98,7 @@ static int MPIR_Reduce_binomial (
uop
=
(
MPI_User_function
*
)
op_ptr
->
function
.
c_function
;
uop
=
(
MPI_User_function
*
)
op_ptr
->
function
.
c_function
;
else
{
else
{
uop
=
(
MPI_User_function
*
)
op_ptr
->
function
.
f77_function
;
uop
=
(
MPI_User_function
*
)
op_ptr
->
function
.
f77_function
;
#if
ndef
HAVE_FINT_IS_INT
#if
defined(HAVE_FORTRAN_BINDING) && !defined(
HAVE_FINT_IS_INT
)
is_f77_uop
=
1
;
is_f77_uop
=
1
;
#endif
#endif
}
}
...
...
src/mpi/coll/reduce_local.c
View file @
cf3ebb41
...
@@ -67,7 +67,7 @@ int MPIR_Reduce_local_impl(void *inbuf, void *inoutbuf, int count, MPI_Datatype
...
@@ -67,7 +67,7 @@ int MPIR_Reduce_local_impl(void *inbuf, void *inoutbuf, int count, MPI_Datatype
}
}
else
{
else
{
uop
=
(
MPI_User_function
*
)
op_ptr
->
function
.
f77_function
;
uop
=
(
MPI_User_function
*
)
op_ptr
->
function
.
f77_function
;
#if
ndef
HAVE_FINT_IS_INT
#if
defined(HAVE_FORTRAN_BINDING) && !defined(
HAVE_FINT_IS_INT
)
is_f77_uop
=
1
;
is_f77_uop
=
1
;
#endif
#endif
}
}
...
...
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