Misc. trivial typos
Found via `codespell -q 3` Signed-off-by: luz paz <luzpaz@users.noreply.github.com>
Этот коммит содержится в:
родитель
4ae3dc8df2
Коммит
06b121eb70
2
README
2
README
@ -598,7 +598,7 @@ Network Support
|
|||||||
- There are four main MPI network models available: "ob1", "cm",
|
- There are four main MPI network models available: "ob1", "cm",
|
||||||
"yalla", and "ucx". "ob1" uses BTL ("Byte Transfer Layer")
|
"yalla", and "ucx". "ob1" uses BTL ("Byte Transfer Layer")
|
||||||
components for each supported network. "cm" uses MTL ("Matching
|
components for each supported network. "cm" uses MTL ("Matching
|
||||||
Tranport Layer") components for each supported network. "yalla"
|
Transport Layer") components for each supported network. "yalla"
|
||||||
uses the Mellanox MXM transport. "ucx" uses the OpenUCX transport.
|
uses the Mellanox MXM transport. "ucx" uses the OpenUCX transport.
|
||||||
|
|
||||||
- "ob1" supports a variety of networks that can be used in
|
- "ob1" supports a variety of networks that can be used in
|
||||||
|
@ -257,7 +257,7 @@ Specifying offsets in buffers
|
|||||||
|
|
||||||
In a C program, it is common to specify an offset in a array with
|
In a C program, it is common to specify an offset in a array with
|
||||||
"&array[i]" or "array+i", for instance to send data starting from
|
"&array[i]" or "array+i", for instance to send data starting from
|
||||||
a given positon in the array. The equivalent form in the Java bindings
|
a given position in the array. The equivalent form in the Java bindings
|
||||||
is to "slice()" the buffer to start at an offset. Making a "slice()"
|
is to "slice()" the buffer to start at an offset. Making a "slice()"
|
||||||
on a buffer is only necessary, when the offset is not zero. Slices
|
on a buffer is only necessary, when the offset is not zero. Slices
|
||||||
work for both arrays and direct buffers.
|
work for both arrays and direct buffers.
|
||||||
|
2
VERSION
2
VERSION
@ -52,7 +52,7 @@ date="Unreleased developer copy"
|
|||||||
# The shared library version of each of Open MPI's public libraries.
|
# The shared library version of each of Open MPI's public libraries.
|
||||||
# These versions are maintained in accordance with the "Library
|
# These versions are maintained in accordance with the "Library
|
||||||
# Interface Versions" chapter from the GNU Libtool documentation. The
|
# Interface Versions" chapter from the GNU Libtool documentation. The
|
||||||
# first Open MPI release to programatically specify these versions was
|
# first Open MPI release to programmatically specify these versions was
|
||||||
# v1.3.4 (note that Libtool defaulted all prior releases to 0:0:0).
|
# v1.3.4 (note that Libtool defaulted all prior releases to 0:0:0).
|
||||||
# All changes in these version numbers are dictated by the Open MPI
|
# All changes in these version numbers are dictated by the Open MPI
|
||||||
# release managers (not individual developers). Notes:
|
# release managers (not individual developers). Notes:
|
||||||
|
@ -915,7 +915,7 @@ sub patch_autotools_output {
|
|||||||
# Patch ltmain.sh error for PGI version numbers. Redirect stderr to
|
# Patch ltmain.sh error for PGI version numbers. Redirect stderr to
|
||||||
# /dev/null because this patch is only necessary for some versions of
|
# /dev/null because this patch is only necessary for some versions of
|
||||||
# Libtool (e.g., 2.2.6b); it'll [rightfully] fail if you have a new
|
# Libtool (e.g., 2.2.6b); it'll [rightfully] fail if you have a new
|
||||||
# enough Libtool that dosn't need this patch. But don't alarm the
|
# enough Libtool that doesn't need this patch. But don't alarm the
|
||||||
# user and make them think that autogen failed if this patch fails --
|
# user and make them think that autogen failed if this patch fails --
|
||||||
# make the errors be silent.
|
# make the errors be silent.
|
||||||
# Also patch ltmain.sh for NAG compiler
|
# Also patch ltmain.sh for NAG compiler
|
||||||
@ -935,7 +935,7 @@ sub patch_autotools_output {
|
|||||||
my @verbose_out;
|
my @verbose_out;
|
||||||
|
|
||||||
# Total ugh. We have to patch the configure script itself. See below
|
# Total ugh. We have to patch the configure script itself. See below
|
||||||
# for explainations why.
|
# for explanations why.
|
||||||
open(IN, "configure") || my_die "Can't open configure";
|
open(IN, "configure") || my_die "Can't open configure";
|
||||||
my $c;
|
my $c;
|
||||||
$c .= $_
|
$c .= $_
|
||||||
|
@ -75,7 +75,7 @@ else
|
|||||||
GROUP_SPARSE=0
|
GROUP_SPARSE=0
|
||||||
fi
|
fi
|
||||||
AC_DEFINE_UNQUOTED([OMPI_GROUP_SPARSE],$GROUP_SPARSE,
|
AC_DEFINE_UNQUOTED([OMPI_GROUP_SPARSE],$GROUP_SPARSE,
|
||||||
[Wether we want sparse process groups])
|
[Whether we want sparse process groups])
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
|
@ -22,7 +22,7 @@ AC_DEFUN([OMPI_CXX_HAVE_EXCEPTIONS],[
|
|||||||
#
|
#
|
||||||
# Arguments: None
|
# Arguments: None
|
||||||
#
|
#
|
||||||
# Depdencies: None
|
# Dependencies: None
|
||||||
#
|
#
|
||||||
# Check to see if the C++ compiler can handle exceptions
|
# Check to see if the C++ compiler can handle exceptions
|
||||||
#
|
#
|
||||||
|
@ -54,7 +54,7 @@ AC_DEFUN([_OMPI_FORTRAN_CHECK_F08_ASSUMED_RANK], [
|
|||||||
|
|
||||||
AS_VAR_SET(fortran_f08_assumed_rank, [$happy]);
|
AS_VAR_SET(fortran_f08_assumed_rank, [$happy]);
|
||||||
|
|
||||||
# Now put the orignal CACHE_CHECK MSG_CHECKING back so that it can
|
# Now put the original CACHE_CHECK MSG_CHECKING back so that it can
|
||||||
# output the MSG_RESULT.
|
# output the MSG_RESULT.
|
||||||
AC_MSG_CHECKING([Fortran compiler F08 assumed rank syntax])
|
AC_MSG_CHECKING([Fortran compiler F08 assumed rank syntax])
|
||||||
OPAL_VAR_SCOPE_POP
|
OPAL_VAR_SCOPE_POP
|
||||||
|
@ -112,7 +112,7 @@ AC_DEFUN([_OMPI_FORTRAN_CHECK_IGNORE_TKR], [
|
|||||||
AS_VAR_SET(fortran_ignore_tkr_data,
|
AS_VAR_SET(fortran_ignore_tkr_data,
|
||||||
[${happy}:${ompi_fortran_ignore_tkr_type}:${ompi_fortran_ignore_tkr_predecl}])
|
[${happy}:${ompi_fortran_ignore_tkr_type}:${ompi_fortran_ignore_tkr_predecl}])
|
||||||
|
|
||||||
# Now put the orignal CACHE_CHECK MSG_CHECKING back so that it can
|
# Now put the original CACHE_CHECK MSG_CHECKING back so that it can
|
||||||
# output the MSG_RESULT.
|
# output the MSG_RESULT.
|
||||||
AC_MSG_CHECKING([Fortran compiler ignore TKR syntax])
|
AC_MSG_CHECKING([Fortran compiler ignore TKR syntax])
|
||||||
OPAL_VAR_SCOPE_POP
|
OPAL_VAR_SCOPE_POP
|
||||||
|
@ -52,11 +52,11 @@ AC_DEFUN([OPAL_CHECK_CRAY_PMI_EXPLICIT],[
|
|||||||
#
|
#
|
||||||
AS_IF([test "$enable_static" = "yes"],
|
AS_IF([test "$enable_static" = "yes"],
|
||||||
[AS_IF([test -d /usr/lib/alps],
|
[AS_IF([test -d /usr/lib/alps],
|
||||||
[AC_MSG_RESULT([Detected presense of /usr/lib/alps])
|
[AC_MSG_RESULT([Detected presence of /usr/lib/alps])
|
||||||
CRAY_PMI_LDFLAGS="$CRAY_PMI_LDFLAGS -L/usr/lib/alps -lalpslli -lalpsutil"
|
CRAY_PMI_LDFLAGS="$CRAY_PMI_LDFLAGS -L/usr/lib/alps -lalpslli -lalpsutil"
|
||||||
CRAY_PMI_LIBS="$CRAY_PMI_LIBS -L/usr/lib/alps -lalpslli -lalpsutil"],
|
CRAY_PMI_LIBS="$CRAY_PMI_LIBS -L/usr/lib/alps -lalpslli -lalpsutil"],
|
||||||
[AS_IF([test -d /opt/cray/xe-sysroot/default/usr/lib/alps],
|
[AS_IF([test -d /opt/cray/xe-sysroot/default/usr/lib/alps],
|
||||||
[AC_MSG_RESULT([Detected presense of /opt/cray/xe-sysroot/default/usr/lib/alps])
|
[AC_MSG_RESULT([Detected presence of /opt/cray/xe-sysroot/default/usr/lib/alps])
|
||||||
CRAY_PMI_LDFLAGS="$CRAY_PMI_LDFLAGS -L/opt/cray/xe-sysroot/default/usr/lib/alps -lalpslli -lalpsutil"
|
CRAY_PMI_LDFLAGS="$CRAY_PMI_LDFLAGS -L/opt/cray/xe-sysroot/default/usr/lib/alps -lalpslli -lalpsutil"
|
||||||
CRAY_PMI_LIBS="$CRAY_PMI_LIBS -L/opt/cray/xe-sysroot/default/usr/lib/alps -lalpslli -lalpsutil"],
|
CRAY_PMI_LIBS="$CRAY_PMI_LIBS -L/opt/cray/xe-sysroot/default/usr/lib/alps -lalpslli -lalpsutil"],
|
||||||
[AC_MSG_ERROR([Requested enabling static linking but unable to local libalpslli and libalpsutil])])
|
[AC_MSG_ERROR([Requested enabling static linking but unable to local libalpslli and libalpsutil])])
|
||||||
|
@ -57,7 +57,7 @@ AC_DEFUN([OPAL_CHECK_OPENFABRICS],[
|
|||||||
# Enable padding for SPARC platforms by default because the
|
# Enable padding for SPARC platforms by default because the
|
||||||
# btl will segv otherwise. Keep padding disabled for other
|
# btl will segv otherwise. Keep padding disabled for other
|
||||||
# platforms since there are some performance implications with
|
# platforms since there are some performance implications with
|
||||||
# padding on for those plaforms.
|
# padding on for those platforms.
|
||||||
#
|
#
|
||||||
case "${host}" in
|
case "${host}" in
|
||||||
sparc*)
|
sparc*)
|
||||||
|
@ -22,7 +22,7 @@ AC_DEFUN([OPAL_CHECK_OS_FLAVOR_SPECIFIC],
|
|||||||
AC_MSG_CHECKING([$1])
|
AC_MSG_CHECKING([$1])
|
||||||
AC_COMPILE_IFELSE([AC_LANG_PROGRAM(
|
AC_COMPILE_IFELSE([AC_LANG_PROGRAM(
|
||||||
[[#ifndef $1
|
[[#ifndef $1
|
||||||
error: this isnt $1
|
error: this is not $1
|
||||||
#endif
|
#endif
|
||||||
]])],
|
]])],
|
||||||
[opal_found_$2=yes],
|
[opal_found_$2=yes],
|
||||||
|
@ -186,7 +186,7 @@ dnl * library_name / function_name: check for function function_name in
|
|||||||
dnl -llibrary_name. Specifically, for library_name, use the "foo" form,
|
dnl -llibrary_name. Specifically, for library_name, use the "foo" form,
|
||||||
dnl as opposed to "libfoo".
|
dnl as opposed to "libfoo".
|
||||||
dnl * extra_libraries: if the library_name you are checking for requires
|
dnl * extra_libraries: if the library_name you are checking for requires
|
||||||
dnl additonal -l arguments to link successfully, list them here.
|
dnl additional -l arguments to link successfully, list them here.
|
||||||
dnl * dir_prefix: if the header/library is located in a non-standard
|
dnl * dir_prefix: if the header/library is located in a non-standard
|
||||||
dnl location (e.g., /opt/foo as opposed to /usr), list it here
|
dnl location (e.g., /opt/foo as opposed to /usr), list it here
|
||||||
dnl * libdir_prefix: if the library is not under $dir_prefix/lib or
|
dnl * libdir_prefix: if the library is not under $dir_prefix/lib or
|
||||||
|
@ -69,7 +69,7 @@ void *checkpid(void *arg) {
|
|||||||
[MSG=no OPAL_THREADS_HAVE_DIFFERENT_PIDS=0],
|
[MSG=no OPAL_THREADS_HAVE_DIFFERENT_PIDS=0],
|
||||||
[MSG=yes OPAL_THREADS_HAVE_DIFFERENT_PIDS=1],
|
[MSG=yes OPAL_THREADS_HAVE_DIFFERENT_PIDS=1],
|
||||||
[
|
[
|
||||||
# If we're cross compiling, we can't do another AC_* function here beause
|
# If we're cross compiling, we can't do another AC_* function here because
|
||||||
# it we haven't displayed the result from the last one yet. So defer
|
# it we haven't displayed the result from the last one yet. So defer
|
||||||
# another test until below.
|
# another test until below.
|
||||||
OPAL_THREADS_HAVE_DIFFERENT_PIDS=
|
OPAL_THREADS_HAVE_DIFFERENT_PIDS=
|
||||||
|
@ -532,7 +532,7 @@ dnl OPAL_CHECK_ASM_TYPE
|
|||||||
dnl
|
dnl
|
||||||
dnl Sets OPAL_ASM_TYPE to the prefix for the function type to
|
dnl Sets OPAL_ASM_TYPE to the prefix for the function type to
|
||||||
dnl set a symbol's type as function (needed on ELF for shared
|
dnl set a symbol's type as function (needed on ELF for shared
|
||||||
dnl libaries). If no .type directive is needed, sets OPAL_ASM_TYPE
|
dnl libraries). If no .type directive is needed, sets OPAL_ASM_TYPE
|
||||||
dnl to an empty string
|
dnl to an empty string
|
||||||
dnl
|
dnl
|
||||||
dnl We look for @ \# %
|
dnl We look for @ \# %
|
||||||
@ -831,7 +831,7 @@ dnl
|
|||||||
dnl Check if the compiler is capable of doing GCC-style inline
|
dnl Check if the compiler is capable of doing GCC-style inline
|
||||||
dnl assembly. Some compilers emit a warning and ignore the inline
|
dnl assembly. Some compilers emit a warning and ignore the inline
|
||||||
dnl assembly (xlc on OS X) and compile without error. Therefore,
|
dnl assembly (xlc on OS X) and compile without error. Therefore,
|
||||||
dnl the test attempts to run the emited code to check that the
|
dnl the test attempts to run the emitted code to check that the
|
||||||
dnl assembly is actually run. To run this test, one argument to
|
dnl assembly is actually run. To run this test, one argument to
|
||||||
dnl the macro must be an assembly instruction in gcc format to move
|
dnl the macro must be an assembly instruction in gcc format to move
|
||||||
dnl the value 0 into the register containing the variable ret.
|
dnl the value 0 into the register containing the variable ret.
|
||||||
|
@ -402,7 +402,7 @@ AM_CONDITIONAL([OPAL_WANT_SCRIPT_WRAPPER_COMPILERS], [test "$enable_script_wrapp
|
|||||||
#
|
#
|
||||||
AC_ARG_ENABLE([per-user-config-files],
|
AC_ARG_ENABLE([per-user-config-files],
|
||||||
[AC_HELP_STRING([--enable-per-user-config-files],
|
[AC_HELP_STRING([--enable-per-user-config-files],
|
||||||
[Disable per-user configuration files, to save disk accesses during job start-up. This is likely desirable for large jobs. Note that this can also be acheived by environment variables at run-time. (default: enabled)])])
|
[Disable per-user configuration files, to save disk accesses during job start-up. This is likely desirable for large jobs. Note that this can also be achieved by environment variables at run-time. (default: enabled)])])
|
||||||
if test "$enable_per_user_config_files" = "no" ; then
|
if test "$enable_per_user_config_files" = "no" ; then
|
||||||
result=0
|
result=0
|
||||||
else
|
else
|
||||||
|
@ -42,7 +42,7 @@ dnl
|
|||||||
AC_DEFUN([OPAL_CONFIGURE_SETUP],[
|
AC_DEFUN([OPAL_CONFIGURE_SETUP],[
|
||||||
|
|
||||||
# Some helper script functions. Unfortunately, we cannot use $1 kinds
|
# Some helper script functions. Unfortunately, we cannot use $1 kinds
|
||||||
# of arugments here because of the m4 substitution. So we have to set
|
# of arguments here because of the m4 substitution. So we have to set
|
||||||
# special variable names before invoking the function. :-\
|
# special variable names before invoking the function. :-\
|
||||||
|
|
||||||
opal_show_title() {
|
opal_show_title() {
|
||||||
@ -322,7 +322,7 @@ dnl #######################################################################
|
|||||||
# OPAL_APPEND_UNIQ(variable, new_argument)
|
# OPAL_APPEND_UNIQ(variable, new_argument)
|
||||||
# ----------------------------------------
|
# ----------------------------------------
|
||||||
# Append new_argument to variable if not already in variable. This assumes a
|
# Append new_argument to variable if not already in variable. This assumes a
|
||||||
# space seperated list.
|
# space separated list.
|
||||||
#
|
#
|
||||||
# This could probably be made more efficient :(.
|
# This could probably be made more efficient :(.
|
||||||
AC_DEFUN([OPAL_APPEND_UNIQ], [
|
AC_DEFUN([OPAL_APPEND_UNIQ], [
|
||||||
@ -453,7 +453,7 @@ dnl #######################################################################
|
|||||||
# - the argument does not begin with -I, -L, or -l, or
|
# - the argument does not begin with -I, -L, or -l, or
|
||||||
# - the argument begins with -I, -L, or -l, and it's not already in variable
|
# - the argument begins with -I, -L, or -l, and it's not already in variable
|
||||||
#
|
#
|
||||||
# This macro assumes a space seperated list.
|
# This macro assumes a space separated list.
|
||||||
AC_DEFUN([OPAL_FLAGS_APPEND_UNIQ], [
|
AC_DEFUN([OPAL_FLAGS_APPEND_UNIQ], [
|
||||||
OPAL_VAR_SCOPE_PUSH([opal_tmp opal_append])
|
OPAL_VAR_SCOPE_PUSH([opal_tmp opal_append])
|
||||||
|
|
||||||
@ -649,7 +649,7 @@ AC_DEFUN([OPAL_COMPUTE_MAX_VALUE], [
|
|||||||
overflow=1
|
overflow=1
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
# stil negative. Time to give up.
|
# still negative. Time to give up.
|
||||||
overflow=1
|
overflow=1
|
||||||
fi
|
fi
|
||||||
opal_num_bits=0
|
opal_num_bits=0
|
||||||
|
@ -226,7 +226,7 @@ AC_DEFUN([OPAL_MCA],[
|
|||||||
# of the hard stuff is in here
|
# of the hard stuff is in here
|
||||||
MCA_PROJECT_SUBDIRS=
|
MCA_PROJECT_SUBDIRS=
|
||||||
m4_foreach(mca_project, [mca_project_list],
|
m4_foreach(mca_project, [mca_project_list],
|
||||||
[# BWB: Until projects have seperate configure scripts
|
[# BWB: Until projects have separate configure scripts
|
||||||
# and can skip running all of ORTE, just avoid recursing
|
# and can skip running all of ORTE, just avoid recursing
|
||||||
# into orte sub directory if orte disabled
|
# into orte sub directory if orte disabled
|
||||||
if (test "mca_project" = "ompi" && test "$enable_mpi" != "no") || test "mca_project" = "opal" || test "mca_project" = "orte" || test "mca_project" = "oshmem"; then
|
if (test "mca_project" = "ompi" && test "$enable_mpi" != "no") || test "mca_project" = "opal" || test "mca_project" = "orte" || test "mca_project" = "oshmem"; then
|
||||||
|
@ -68,7 +68,7 @@ AC_DEFUN([OPAL_WRAPPER_FLAGS_ADD], [
|
|||||||
# That is, a component may not influence CFLAGS, CXXFLAGS, or FCFLAGS.
|
# That is, a component may not influence CFLAGS, CXXFLAGS, or FCFLAGS.
|
||||||
#
|
#
|
||||||
# Notes:
|
# Notes:
|
||||||
# * Keep user flags seperate as 1) they should have no influence
|
# * Keep user flags separate as 1) they should have no influence
|
||||||
# over build and 2) they don't go through the uniqification we do
|
# over build and 2) they don't go through the uniqification we do
|
||||||
# with the other wrapper compiler options
|
# with the other wrapper compiler options
|
||||||
# * While the user (the person who runs configure) is allowed to set
|
# * While the user (the person who runs configure) is allowed to set
|
||||||
|
@ -153,7 +153,7 @@ fi
|
|||||||
|
|
||||||
#
|
#
|
||||||
# We can't set am_conditional here since it's yet unknown if there is
|
# We can't set am_conditional here since it's yet unknown if there is
|
||||||
# valid Fortran compiler avaliable
|
# valid Fortran compiler available
|
||||||
#
|
#
|
||||||
|
|
||||||
]) dnl
|
]) dnl
|
||||||
|
@ -53,7 +53,7 @@ fi[]dnl
|
|||||||
# to PKG_CHECK_MODULES(), but does not set variables or print errors.
|
# to PKG_CHECK_MODULES(), but does not set variables or print errors.
|
||||||
#
|
#
|
||||||
# Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG])
|
# Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG])
|
||||||
# only at the first occurence in configure.ac, so if the first place
|
# only at the first occurrence in configure.ac, so if the first place
|
||||||
# it's called might be skipped (such as if it is within an "if", you
|
# it's called might be skipped (such as if it is within an "if", you
|
||||||
# have to call PKG_CHECK_EXISTS manually
|
# have to call PKG_CHECK_EXISTS manually
|
||||||
# --------------------------------------------------------------
|
# --------------------------------------------------------------
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
NODE Ethernet eth1
|
NODE Ethernet eth1
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
# Connection decleration From node To node:weight To node:weight ......
|
# Connection declaration From node To node:weight To node:weight ......
|
||||||
# (Reserve word) (declered (declered (declered
|
# (Reserve word) (declered (declered (declered
|
||||||
# above) above) above)
|
# above) above) above)
|
||||||
#===============================================================================================
|
#===============================================================================================
|
||||||
|
@ -56,13 +56,13 @@ main(int argc, char* argv[])
|
|||||||
opal_graph_print(graph);
|
opal_graph_print(graph);
|
||||||
slot0 = opal_carto_base_find_node(graph, "slot0");
|
slot0 = opal_carto_base_find_node(graph, "slot0");
|
||||||
if (NULL == slot0) {
|
if (NULL == slot0) {
|
||||||
opal_output(0,"couldnt find slot0 in the graph exiting\n");
|
opal_output(0,"couldn't find slot0 in the graph exiting\n");
|
||||||
opal_carto_base_free_graph(graph);
|
opal_carto_base_free_graph(graph);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
end_node = opal_carto_base_find_node(graph, "slot3");
|
end_node = opal_carto_base_find_node(graph, "slot3");
|
||||||
if (NULL == end_node) {
|
if (NULL == end_node) {
|
||||||
opal_output(0,"couldnt find mthca1 in the graph exiting\n");
|
opal_output(0,"couldn't find mthca1 in the graph exiting\n");
|
||||||
opal_carto_base_free_graph(graph);
|
opal_carto_base_free_graph(graph);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
@ -87,13 +87,13 @@ main(int argc, char* argv[])
|
|||||||
opal_graph_print(graph);
|
opal_graph_print(graph);
|
||||||
slot0 = opal_carto_base_find_node(graph, "slot0");
|
slot0 = opal_carto_base_find_node(graph, "slot0");
|
||||||
if (NULL == slot0) {
|
if (NULL == slot0) {
|
||||||
opal_output(0,"couldnt find slot0 in the graph exiting\n");
|
opal_output(0,"couldn't find slot0 in the graph exiting\n");
|
||||||
opal_carto_base_free_graph(graph);
|
opal_carto_base_free_graph(graph);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
end_node = opal_carto_base_find_node(graph, "mthca1");
|
end_node = opal_carto_base_find_node(graph, "mthca1");
|
||||||
if (NULL == end_node) {
|
if (NULL == end_node) {
|
||||||
opal_output(0,"couldnt find mthca1 in the graph exiting\n");
|
opal_output(0,"couldn't find mthca1 in the graph exiting\n");
|
||||||
opal_carto_base_free_graph(graph);
|
opal_carto_base_free_graph(graph);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
@ -118,13 +118,13 @@ main(int argc, char* argv[])
|
|||||||
opal_graph_print(graph);
|
opal_graph_print(graph);
|
||||||
slot0 = opal_carto_base_find_node(graph, "slot0");
|
slot0 = opal_carto_base_find_node(graph, "slot0");
|
||||||
if (NULL == slot0) {
|
if (NULL == slot0) {
|
||||||
opal_output(0,"couldnt find slot0 in the graph exiting\n");
|
opal_output(0,"couldn't find slot0 in the graph exiting\n");
|
||||||
opal_carto_base_free_graph(graph);
|
opal_carto_base_free_graph(graph);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
end_node = opal_carto_base_find_node(graph, "eth1");
|
end_node = opal_carto_base_find_node(graph, "eth1");
|
||||||
if (NULL == end_node) {
|
if (NULL == end_node) {
|
||||||
opal_output(0,"couldnt find mthca1 in the graph exiting\n");
|
opal_output(0,"couldn't find mthca1 in the graph exiting\n");
|
||||||
opal_carto_base_free_graph(graph);
|
opal_carto_base_free_graph(graph);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
@ -149,13 +149,13 @@ main(int argc, char* argv[])
|
|||||||
opal_graph_print(graph);
|
opal_graph_print(graph);
|
||||||
slot0 = opal_carto_base_find_node(graph, "slot0");
|
slot0 = opal_carto_base_find_node(graph, "slot0");
|
||||||
if (NULL == slot0) {
|
if (NULL == slot0) {
|
||||||
opal_output(0,"couldnt find slot0 in the graph exiting\n");
|
opal_output(0,"couldn't find slot0 in the graph exiting\n");
|
||||||
opal_carto_base_free_graph(graph);
|
opal_carto_base_free_graph(graph);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
end_node = opal_carto_base_find_node(graph, "mem3");
|
end_node = opal_carto_base_find_node(graph, "mem3");
|
||||||
if (NULL == end_node) {
|
if (NULL == end_node) {
|
||||||
opal_output(0,"couldnt find mthca1 in the graph exiting\n");
|
opal_output(0,"couldn't find mthca1 in the graph exiting\n");
|
||||||
opal_carto_base_free_graph(graph);
|
opal_carto_base_free_graph(graph);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
@ -71,7 +71,7 @@ static void test(bool thread_usage){
|
|||||||
if( (array->size - array->number_free) == test_len_in_array) {
|
if( (array->size - array->number_free) == test_len_in_array) {
|
||||||
test_success();
|
test_success();
|
||||||
} else {
|
} else {
|
||||||
test_failure("check on number of elments in array");
|
test_failure("check on number of elements in array");
|
||||||
}
|
}
|
||||||
|
|
||||||
/* check order of data */
|
/* check order of data */
|
||||||
|
@ -115,7 +115,7 @@ int main( int argc, char* argv[] )
|
|||||||
OBJ_RELEASE(convertor);
|
OBJ_RELEASE(convertor);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The datatype is not usefull anymore
|
* The datatype is not useful anymore
|
||||||
*/
|
*/
|
||||||
OBJ_RELEASE(sparse);
|
OBJ_RELEASE(sparse);
|
||||||
|
|
||||||
|
@ -418,7 +418,7 @@ ompi_datatype_t* test_contiguous( void )
|
|||||||
{
|
{
|
||||||
ompi_datatype_t *pdt, *pdt1, *pdt2;
|
ompi_datatype_t *pdt, *pdt1, *pdt2;
|
||||||
|
|
||||||
printf( "test contiguous (alignement)\n" );
|
printf( "test contiguous (alignment)\n" );
|
||||||
ompi_datatype_create_contiguous(0, &ompi_mpi_datatype_null.dt, &pdt1);
|
ompi_datatype_create_contiguous(0, &ompi_mpi_datatype_null.dt, &pdt1);
|
||||||
ompi_datatype_add( pdt1, &ompi_mpi_double.dt, 1, 0, -1 );
|
ompi_datatype_add( pdt1, &ompi_mpi_double.dt, 1, 0, -1 );
|
||||||
if( outputFlags & DUMP_DATA_AFTER_COMMIT ) {
|
if( outputFlags & DUMP_DATA_AFTER_COMMIT ) {
|
||||||
|
@ -187,7 +187,7 @@ static int local_copy_ddt_count( opal_datatype_t const * const pdt, int count )
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if( 0 == errors ) {
|
if( 0 == errors ) {
|
||||||
printf("Validation check succesfully passed\n");
|
printf("Validation check successfully passed\n");
|
||||||
} else {
|
} else {
|
||||||
printf("Found %d errors. Giving up!\n", errors);
|
printf("Found %d errors. Giving up!\n", errors);
|
||||||
exit(-1);
|
exit(-1);
|
||||||
@ -473,7 +473,7 @@ static int local_copy_with_convertor( opal_datatype_t const * const pdt, int cou
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if( 0 == errors ) {
|
if( 0 == errors ) {
|
||||||
printf("Validation check succesfully passed\n");
|
printf("Validation check successfully passed\n");
|
||||||
} else {
|
} else {
|
||||||
printf("Found %d errors. Giving up!\n", errors);
|
printf("Found %d errors. Giving up!\n", errors);
|
||||||
exit(-1);
|
exit(-1);
|
||||||
|
@ -611,7 +611,7 @@ opal_datatype_t* test_contiguous( void )
|
|||||||
{
|
{
|
||||||
opal_datatype_t *pdt, *pdt1, *pdt2;
|
opal_datatype_t *pdt, *pdt1, *pdt2;
|
||||||
|
|
||||||
printf( "test contiguous (alignement)\n" );
|
printf( "test contiguous (alignment)\n" );
|
||||||
opal_datatype_create_contiguous(0, &opal_datatype_empty, &pdt1);
|
opal_datatype_create_contiguous(0, &opal_datatype_empty, &pdt1);
|
||||||
opal_datatype_add( pdt1, &opal_datatype_float8, 1, 0, -1 );
|
opal_datatype_add( pdt1, &opal_datatype_float8, 1, 0, -1 );
|
||||||
if( outputFlags & DUMP_DATA_AFTER_COMMIT ) {
|
if( outputFlags & DUMP_DATA_AFTER_COMMIT ) {
|
||||||
|
@ -123,10 +123,10 @@ main (int argc, char **argv)
|
|||||||
|
|
||||||
fprintf(stderr, "Write data to %s\n", fifo);
|
fprintf(stderr, "Write data to %s\n", fifo);
|
||||||
#endif
|
#endif
|
||||||
/* Initalize the event library */
|
/* Initialize the event library */
|
||||||
opal_init();
|
opal_init();
|
||||||
|
|
||||||
/* Initalize one event */
|
/* Initialize one event */
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
opal_event.set(opal_event_base, &evfifo, (int)socket, OPAL_EV_READ, fifo_read, &evfifo);
|
opal_event.set(opal_event_base, &evfifo, (int)socket, OPAL_EV_READ, fifo_read, &evfifo);
|
||||||
#else
|
#else
|
||||||
|
@ -50,10 +50,10 @@ main (int argc, char **argv)
|
|||||||
{
|
{
|
||||||
opal_event_t signal_int, signal_term;
|
opal_event_t signal_int, signal_term;
|
||||||
|
|
||||||
/* Initalize the event library */
|
/* Initialize the event library */
|
||||||
opal_init();
|
opal_init();
|
||||||
|
|
||||||
/* Initalize one event */
|
/* Initialize one event */
|
||||||
opal_event.set(opal_event_base, &signal_term, SIGUSR1, OPAL_EV_SIGNAL|OPAL_EV_PERSIST, signal_cb,
|
opal_event.set(opal_event_base, &signal_term, SIGUSR1, OPAL_EV_SIGNAL|OPAL_EV_PERSIST, signal_cb,
|
||||||
&signal_term);
|
&signal_term);
|
||||||
opal_event.set(opal_event_base, &signal_int, SIGUSR2, OPAL_EV_SIGNAL|OPAL_EV_PERSIST, signal_cb,
|
opal_event.set(opal_event_base, &signal_int, SIGUSR2, OPAL_EV_SIGNAL|OPAL_EV_PERSIST, signal_cb,
|
||||||
|
@ -52,10 +52,10 @@ main (int argc, char **argv)
|
|||||||
opal_event_t timeout;
|
opal_event_t timeout;
|
||||||
struct timeval tv;
|
struct timeval tv;
|
||||||
|
|
||||||
/* Initalize the event library */
|
/* Initialize the event library */
|
||||||
opal_event_init();
|
opal_event_init();
|
||||||
|
|
||||||
/* Initalize one event */
|
/* Initialize one event */
|
||||||
opal_evtimer_set(&timeout, timeout_cb, &timeout);
|
opal_evtimer_set(&timeout, timeout_cb, &timeout);
|
||||||
|
|
||||||
timerclear(&tv);
|
timerclear(&tv);
|
||||||
|
@ -302,7 +302,7 @@ int main(int argc, char* argv[])
|
|||||||
if( rank%2 ) {
|
if( rank%2 ) {
|
||||||
MPI_Win_post(distant_group, 0, win);
|
MPI_Win_post(distant_group, 0, win);
|
||||||
MPI_Win_wait(win);
|
MPI_Win_wait(win);
|
||||||
/* Check recieved values */
|
/* Check received values */
|
||||||
for( int v = 0; v < 10240; ++v )
|
for( int v = 0; v < 10240; ++v )
|
||||||
if( from != win_buff[v] ) {
|
if( from != win_buff[v] ) {
|
||||||
printf("Error on checking exchanged values: win_buff[%d] == %d instead of %d\n",
|
printf("Error on checking exchanged values: win_buff[%d] == %d instead of %d\n",
|
||||||
@ -327,7 +327,7 @@ int main(int argc, char* argv[])
|
|||||||
|
|
||||||
MPI_Barrier(MPI_COMM_WORLD);
|
MPI_Barrier(MPI_COMM_WORLD);
|
||||||
|
|
||||||
/* Check recieved values */
|
/* Check received values */
|
||||||
for( int v = 0; v < 10240; ++v )
|
for( int v = 0; v < 10240; ++v )
|
||||||
if( from != win_buff[v] ) {
|
if( from != win_buff[v] ) {
|
||||||
printf("Error on checking exchanged values: win_buff[%d] == %d instead of %d\n",
|
printf("Error on checking exchanged values: win_buff[%d] == %d instead of %d\n",
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
# This file create as an output one heatmap per operation
|
# This file create as an output one heatmap per operation
|
||||||
# tested. Currently, tested operations are :
|
# tested. Currently, tested operations are :
|
||||||
# - MPI_Send (software overhead)
|
# - MPI_Send (software overhead)
|
||||||
# - MPI_Send (ping-pong, to measure theoverhead with the communciation time)
|
# - MPI_Send (ping-pong, to measure the overhead with the communication time)
|
||||||
# - MPI_Bcast
|
# - MPI_Bcast
|
||||||
# - MPI_Alltoall
|
# - MPI_Alltoall
|
||||||
# - MPI_Put
|
# - MPI_Put
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
# ====
|
# ====
|
||||||
# run script for mpi environment tests
|
# run script for mpi environment tests
|
||||||
|
|
||||||
# Arguements
|
# Arguments
|
||||||
# ==========
|
# ==========
|
||||||
#
|
#
|
||||||
# test_list = no args or all runs all tests
|
# test_list = no args or all runs all tests
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
# ====
|
# ====
|
||||||
# run script for mpi tests
|
# run script for mpi tests
|
||||||
|
|
||||||
# Arguements
|
# Arguments
|
||||||
# ==========
|
# ==========
|
||||||
#
|
#
|
||||||
# test_list = no args or all runs all tests
|
# test_list = no args or all runs all tests
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user