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

BTL checkpoint friendly #1

Closed
ompiteam opened this issue Oct 1, 2014 · 5 comments
Closed

BTL checkpoint friendly #1

ompiteam opened this issue Oct 1, 2014 · 5 comments

Comments

@ompiteam
Copy link
Contributor

ompiteam commented Oct 1, 2014

So far only self and tcp seems to be check-friendly. SM has a small issue, but that might be removed with a little work. All others BTL has to be investigated. A testing file will be added shortly once I figure out how to do it ...

@ompiteam
Copy link
Contributor Author

ompiteam commented Oct 1, 2014

Imported from trac issue 19. Created by bosilca on 2006-05-19T14:05:54, last modified: 2008-10-23T20:59:56

  • bosilca attached ft-test.c on 2006-05-19 14:17:48

@ompiteam
Copy link
Contributor Author

ompiteam commented Oct 1, 2014

Trac comment by jjhursey on 2007-03-13 10:52:54:

It seems that the attached program tests to see if Open MPI can successfully fork, and have the child shut down the OMPI layer. So for this bug is it sufficient to show that a BTL can operate correctly under fork conditions to be ''checkpoint friendly''? I guess I'm just searching for what you mean by a ''checkpoint friendly BTL'' since it can mean loads of different things.

@ompiteam
Copy link
Contributor Author

ompiteam commented Oct 1, 2014

Trac comment by jsquyres on 2008-10-23 11:24:19:

Josh has done a bunch of work to make various BTL's checkpointable. Is this ticket necessary? It's not really clear what the exact intent of this ticket is.

@ompiteam
Copy link
Contributor Author

ompiteam commented Oct 1, 2014

Trac comment by bosilca on 2008-10-23 20:59:56:

This program try to clean the OMPI internal state before taking a checkpoint. If a BTL pass this test, then it can be safely used with BLCR to do a uncoordinated checkpoint. I'm in favor of keeping this open ...

mike-dubman added a commit that referenced this issue Oct 1, 2014
…devel/2013/12/13523.php

Refs trac:4011

This commit was SVN r30024.

The following Trac tickets were found above:
  Ticket 4011 --> https://svn.open-mpi.org/trac/ompi/ticket/4011
rhc54 pushed a commit that referenced this issue Oct 12, 2014
configure.ac: fix some broken AM_CONDITIONALs
elenash referenced this issue Nov 26, 2014
Reenable high accuracy timers
jsquyres pushed a commit that referenced this issue Mar 16, 2015
jsquyres added a commit that referenced this issue Aug 31, 2015
Split the list of subroutines into cases #1 and #2, just for clarity.
bosilca referenced this issue in bosilca/ompi Sep 15, 2015
Split the list of subroutines into cases #1 and #2, just for clarity.
jsquyres referenced this issue in jsquyres/ompi Nov 10, 2015
Split the list of subroutines into cases #1 and #2, just for clarity.

(cherry picked from commit 596557e)
hjelmn added a commit that referenced this issue Mar 18, 2016
Fix CID 1324726 (#1 of 1): Free of address-of expression (BAD_FREE):

Indeed, if a lock conflicts with the lock_all we will end up trying to
free an invalid pointer.

Fix CID 1328826 (#1 of 1): Dereference after null check (FORWARD_NULL):

This was intentional but it would be a good idea to check for
module->comm being non_NULL to be safe. Also cleaned out some checks
for NULL before free().

Signed-off-by: Nathan Hjelm <hjelmn@lanl.gov>
hjelmn added a commit that referenced this issue Mar 18, 2016
Fix CID 1325868 (#1 of 1): Dereference after null check (FORWARD_NULL):
Fix CID 1325869 (#1-2 of 2): Dereference after null check (FORWARD_NULL):

Here reqs can indeed be NULL. Added a check to
ompi_coll_base_free_reqs to prevent dereferencing NULL pointer.

Signed-off-by: Nathan Hjelm <hjelmn@lanl.gov>
hjelmn added a commit that referenced this issue Mar 18, 2016
Fix CID 715744 (#1 of 1): Logically dead code (DEADCODE):
Fix CID 715745 (#1 of 1): Logically dead code (DEADCODE):

The free of scratch_num in either place is defensive programming. Instead of removing the free the conditional around the free has been removed to quiet the warning.

Fix CID 715753 (#1 of 1): Dereference after null check (FORWARD_NULL):
Fix CID 715778 (#1 of 1): Dereference before null check (REVERSE_INULL):

Fixed the conditional to check for collective_alg != NULL instead of collective_alg->functions != NULL.

Fix CID 715749 (#1 of 4): Explicit null dereferenced (FORWARD_NULL):

Updated code to ensure that none of the parse functions are reached with a non-NULL value.

Fix CID 715746 (#1 of 1): Logically dead code (DEADCODE):

Removed dead code.

Fix CID 715768 (#1 of 1): Resource leak (RESOURCE_LEAK):
Fix CID 715769 (#2 of 2): Resource leak (RESOURCE_LEAK):
Fix CID 715772 (#1 of 1): Resource leak (RESOURCE_LEAK):

Move free calls to before error checks to cleanup leak in error paths.

Fix CID 741334 (#1 of 1): Explicit null dereferenced (FORWARD_NULL):

Added a check to ensure temp is not dereferenced if it is NULL.

Fix CID 1196605 (#1 of 1): Bad bit shift operation (BAD_SHIFT):

Fixed overflow in calculation by replacing int mask with 1ul.

Signed-off-by: Nathan Hjelm <hjelmn@lanl.gov>
jsquyres pushed a commit that referenced this issue Jul 7, 2017
README: minor tweak to specifically mention GNU Fortran
gpaulsen pushed a commit that referenced this issue Jul 11, 2017
This reverts commit 3e6a196, reversing
changes made to 5de3d5d.

 Signed-off-by: Joshua Hursey <jhursey@us.ibm.com>
@bwbarrett
Copy link
Member

We've removed all the C/R stuff, so this doesn't seem important at this point.

dong0321 referenced this issue in dong0321/ompi Feb 22, 2018
Remove build product, add required help files
@open-mpi open-mpi locked as resolved and limited conversation to collaborators Dec 25, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants