Skip to content

Conversation

@edgargabriel
Copy link
Member

this is the second part of the sharedfp append fix for the v2.x branch. For the 2.0.x branch, all four commits were merged at the same time.

when a file is opened a second time for shared file pointer operations,
avoid setting the create and exclusive flag.

Signed-off-by: Edgar Gabriel <egabriel@central.uh.edu>
it looks like disabling the lazy_open flag for sharedfp components
revealead a bug that lead to a crash in file_close in some tests. Make
sure the SHAREDFP_IS_SET flag is correctly set (and not overwritten again),
and we use that to avoid a double-free of the communicator.

This is equivalent to commit commit f5289a1
on master. The commit cannot be cherry-picked due to the differences in the
organization of the ompio files (ompio uses now common/ompio for many files).

Signed-off-by: Edgar Gabriel <egabriel@central.uh.edu>
@edgargabriel
Copy link
Member Author

the failure in LANL-disable-dlopen does not seem related to this pr.

--snip--

  • mpicc -o hello_c.x hello_c.c
    /home/hppritcha/jenkins/workspace/ompi_master_pr_disable_dlopen/ompi_install/lib64/libmpi.so: undefined reference to `mca_base_var_enum_create_flag'
    collect2: error: ld returned 1 exit status
    Build step 'Execute shell' marked build as failure
    --snip--

@edgargabriel edgargabriel added this to the v2.1.0 milestone Jan 27, 2017
@hppritcha
Copy link
Member

and try this again:
bot:lanl:retest

@edgargabriel edgargabriel requested a review from jsquyres February 1, 2017 14:30
@edgargabriel
Copy link
Member Author

@jsquyres since you reviewed the euqivalent for the 2.0.2 release, would you mind doing the same for the 2.1 release?

@jsquyres
Copy link
Member

@hppritcha Good to go.

@hppritcha hppritcha merged commit 88ca53a into open-mpi:v2.x Feb 18, 2017
@edgargabriel edgargabriel deleted the pr/sharedfp-append-fix-v2.x branch July 17, 2017 14:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants