Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sessions new #46

Open
wants to merge 38 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
2dbf192
add support for sessions
hjelmn Oct 31, 2018
257de81
sessions: temporarily disable fboxes
hppritcha Sep 5, 2019
62dd7d5
sessions: update to new API changes
hppritcha Sep 6, 2019
6e7acea
OFI: add support for exCID
tomhers Jun 30, 2020
10059ea
sessions: various fixes
tomhers Aug 31, 2020
3f5fbc6
sesssions: rebase over ULFM
hppritcha Apr 21, 2021
505bb88
sessions: rebase fixup
hppritcha May 21, 2021
d194ecd
openpmix:update sha to pick up reinit fixes
hppritcha Jun 1, 2021
cd67fe2
sessions: release datatypes without checking cookie
hppritcha Jun 1, 2021
13149a4
sessions: fix another problem with finalize
hppritcha Jun 1, 2021
00f6e0e
sessions: fix problems with reinit of bml
hppritcha Jun 2, 2021
b2df2ad
sessions: remove a debug print statement
hppritcha Jun 2, 2021
6f1b63e
sessions: do not finalize common till
hppritcha Jun 4, 2021
9c7a415
sessions: do not clean up predefined datatypes
hppritcha Jun 8, 2021
2ad7830
sessions: undo hack to finalize common
hppritcha Jun 8, 2021
23c5c0d
sessions: switch to using mpi_max_stringtag_len
hppritcha Jun 9, 2021
30f7a1c
undo changes to ring_c.c
hppritcha Jun 11, 2021
94b502d
put back changes to a comment from master
hppritcha Jun 11, 2021
ac6e70c
remove sleepy barrier stuff
hppritcha Jun 11, 2021
e1e6111
sessions: remove MPI_File_open_from_group
hppritcha Jun 11, 2021
d01b1d6
sessions: remove sessions attr related funcs
hppritcha Jun 12, 2021
a035ac0
add instance field to internal comm struct
tomhers Jun 14, 2021
5342b31
sessions: fix up win errhandler create return
hppritcha Jun 14, 2021
7730c47
sessions: remove sessions attribute type
hppritcha Jun 14, 2021
72157e5
add a missing copyright
hppritcha Jun 14, 2021
fabdf72
sessions: remove unnecessary lines
hppritcha Jun 14, 2021
1a428ce
sessions: fix for instance on comm tracking
hppritcha Jun 14, 2021
1a46303
sessions: use ompi_errhandler_invoke for ERR_INIT
hppritcha Jun 14, 2021
1336178
relates to https://github.com/hpc/ompi/issues/50
tomhers Jun 14, 2021
dec89cd
Merge branch 'sessions_new' of https://github.com/hpc/ompi into sessi…
tomhers Jun 14, 2021
f3cbf36
sessions: remove mpi_win_create_from_group
hppritcha Jun 14, 2021
503e335
sessions: remove left over pmix file
hppritcha Jun 14, 2021
0eed666
sessions: remove win_allocate_shared_from_group
hppritcha Jun 14, 2021
fdd5bab
sessions: remove topo from group related funcs
hppritcha Jun 15, 2021
12127fa
sessions: use global cid alloc algorithm
hppritcha Jun 15, 2021
4c110d5
sessions: handle error better in fortran
hppritcha Jun 15, 2021
40d959b
fix pset_name handling
tomhers Jun 23, 2021
7db5a88
add instance check to functions with arrays of requests
tomhers Jul 28, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion config/ompi_check_ucx.m4
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,8 @@ AC_DEFUN([OMPI_CHECK_UCX],[
[#include <ucp/api/ucp.h>])
AC_CHECK_DECLS([UCP_ATTR_FIELD_MEMORY_TYPES],
[AC_DEFINE([HAVE_UCP_ATTR_MEMORY_TYPES], [1],
[have memory types attribute])], [],
[have memory types attribute])],
[AC_DEFINE([HAVE_UCP_ATTR_MEMORY_TYPES], [0],[])],
[#include <ucp/api/ucp.h>])
AC_CHECK_DECLS([ucp_tag_send_nbx,
ucp_tag_send_sync_nbx,
Expand Down
9 changes: 9 additions & 0 deletions config/opal_configure_options.m4
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ dnl Copyright (c) 2011-2013 NVIDIA Corporation. All rights reserved.
dnl Copyright (c) 2013-2017 Intel, Inc. All rights reserved.
dnl Copyright (c) 2015 Research Organization for Information Science
dnl and Technology (RIST). All rights reserved.
dnl Copyright (c) 2019-2021 Triad National Security, LLC. All rights
dnl reserved.
dnl
dnl $COPYRIGHT$
dnl
Expand Down Expand Up @@ -517,6 +519,13 @@ OPAL_WITH_OPTION_MIN_MAX_VALUE(port_name, 1024, 255, 2048)
# Min length accroding to MPI-2.1, p. 418
OPAL_WITH_OPTION_MIN_MAX_VALUE(datarep_string, 128, 64, 256)

OPAL_WITH_OPTION_MIN_MAX_VALUE(pset_name_len, 512, 512, 4096)

OPAL_WITH_OPTION_MIN_MAX_VALUE(stringtag_len, 1024, 256, 2048)

AC_DEFINE_UNQUOTED([OPAL_ENABLE_CRDEBUG], [0],
[Whether we want checkpoint/restart enabled debugging functionality or not])

# some systems don't want/like getpwuid
AC_MSG_CHECKING([if want getpwuid support])
AC_ARG_ENABLE([getpwuid],
Expand Down
12 changes: 7 additions & 5 deletions examples/ring_c.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
* Simple ring test program in C.
*/

#include "mpi.h"
#include <stdio.h>
#include "mpi.h"

int main(int argc, char *argv[])
{
Expand All @@ -34,8 +34,8 @@ int main(int argc, char *argv[])
if (0 == rank) {
message = 10;

printf("Process 0 sending %d to %d, tag %d (%d processes in ring)\n", message, next, tag,
size);
printf("Process 0 sending %d to %d, tag %d (%d processes in ring)\n",
message, next, tag, size);
MPI_Send(&message, 1, MPI_INT, next, tag, MPI_COMM_WORLD);
printf("Process 0 sent to %d\n", next);
}
Expand All @@ -49,7 +49,8 @@ int main(int argc, char *argv[])
and can quit normally. */

while (1) {
MPI_Recv(&message, 1, MPI_INT, prev, tag, MPI_COMM_WORLD, MPI_STATUS_IGNORE);
MPI_Recv(&message, 1, MPI_INT, prev, tag, MPI_COMM_WORLD,
MPI_STATUS_IGNORE);

if (0 == rank) {
--message;
Expand All @@ -67,7 +68,8 @@ int main(int argc, char *argv[])
to be received before the program can exit */

if (0 == rank) {
MPI_Recv(&message, 1, MPI_INT, prev, tag, MPI_COMM_WORLD, MPI_STATUS_IGNORE);
MPI_Recv(&message, 1, MPI_INT, prev, tag, MPI_COMM_WORLD,
MPI_STATUS_IGNORE);
}

/* All done */
Expand Down
1 change: 1 addition & 0 deletions ompi/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,7 @@ include patterns/net/Makefile.am
include patterns/comm/Makefile.am
include mca/Makefile.am
include util/Makefile.am
include instance/Makefile.am

distclean-local:
rm -f mpiext/static-components.h
Loading