~ubuntu-branches/ubuntu/vivid/mpich/vivid-proposed

« back to all changes in this revision

Viewing changes to src/mpi/romio/adio/common/ad_set_sh_fp.c

  • Committer: Package Import Robot
  • Author(s): Anton Gladky
  • Date: 2014-04-01 20:24:20 UTC
  • mfrom: (5.2.4 sid)
  • Revision ID: package-import@ubuntu.com-20140401202420-t5ey1ia2klt5dkq3
Tags: 3.1-4
* [c3e3398] Disable test_primitives, which is unreliable on some platforms.
            (Closes: #743047)
* [265a699] Add minimal autotest.

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
        return;
34
34
    }
35
35
#endif
 
36
#ifdef ROMIO_BG
 
37
    /* BGLOCKLESS won't support shared fp */
 
38
    if (fd->file_system == ADIO_BG) {
 
39
        ADIOI_BG_Set_shared_fp(fd, offset, error_code);
 
40
        return;
 
41
    }
 
42
#endif
36
43
 
37
44
    if (fd->shared_fp_fd == ADIO_FILE_NULL) {
38
45
        MPI_Comm_dup(MPI_COMM_SELF, &dupcommself);