Skip to content

Commit

Permalink
Merge branch 'hotfix/5.8.2' of github.com:GlobalArrays/ga into hotfix…
Browse files Browse the repository at this point in the history
…/5.8.2
  • Loading branch information
Bruce J Palmer committed Nov 2, 2022
2 parents 4b6b4f7 + f9f3bb7 commit f7a3104
Show file tree
Hide file tree
Showing 5 changed files with 41 additions and 36 deletions.
2 changes: 1 addition & 1 deletion comex/src-mpi-pt/comex.c
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@ int comex_finalize()
free(fence_array);

free(nb_state);
#ifdef DEBUG
#if DEBUG
printf(" %d freed nb_state ptr %p \n", g_state.rank, nb_state);
#endif

Expand Down
4 changes: 4 additions & 0 deletions global/src/global.fh.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
parameter (ga_max_dim = GA_MAX_DIM)
!
logical ga_allocate
logical ga_deallocate
complex ga_cdot
complex ga_cdot_patch
integer ga_cluster_nnodes
Expand Down Expand Up @@ -71,6 +72,7 @@
double complex ga_zdot
double complex ga_zdot_patch
logical nga_allocate
logical nga_deallocate
complex nga_cdot
complex nga_cdot_patch
integer nga_cluster_nnodes
Expand Down Expand Up @@ -154,6 +156,7 @@
double complex nga_zdot_patch
!
external ga_allocate
external ga_deallocate
external ga_cdot
external ga_cdot_patch
external ga_cluster_nnodes
Expand Down Expand Up @@ -222,6 +225,7 @@
external ga_zdot
external ga_zdot_patch
external nga_allocate
external nga_deallocate
external nga_cdot
external nga_cdot_patch
external nga_cluster_nnodes
Expand Down
24 changes: 12 additions & 12 deletions pario/dra/drap.h
Original file line number Diff line number Diff line change
Expand Up @@ -127,35 +127,35 @@ extern Integer ndrai_create_config(Integer *type, Integer *ndim, Integer dims[],
#ifdef F2C_HIDDEN_STRING_LENGTH_AFTER_ARGS
extern Integer FATR dra_create_(Integer *type, Integer *dim1, Integer *dim2,
char *name, char *filename, Integer *mode, Integer *reqdim1,
Integer *reqdim2, Integer *d_a, int nlen, int flen);
Integer *reqdim2, Integer *d_a, size_t nlen, size_t flen);
extern Integer FATR ndra_create_(Integer *type, Integer *ndim, Integer dims[],
char *name, char *filename, Integer *mode, Integer reqdims[],
Integer *d_a, int nlen, int flen);
Integer *d_a, size_t nlen, size_t flen);
extern Integer FATR dra_open_(char *filename, Integer *mode, Integer *d_a,
int flen);
size_t flen);
extern Integer FATR dra_inquire_(Integer *d_a, Integer *type, Integer *dim1,
Integer *dim2, char *name, char *filename, int nlen, int flen);
Integer *dim2, char *name, char *filename, size_t nlen, size_t flen);
extern Integer FATR ndra_inquire_(Integer *d_a, Integer *type, Integer *ndim,
Integer dims[], char *name, char *filename, int nlen, int flen);
Integer dims[], char *name, char *filename, size_t nlen, size_t flen);
extern Integer ndra_create_config_(Integer *type, Integer *ndim,
Integer dims[], char *name, char *filename, Integer *mode,
Integer reqdims[], Integer *numfiles, Integer *numioprocs,
Integer *d_a, int nlen, int flen);
Integer *d_a, size_t nlen, size_t flen);
#else /* F2C_HIDDEN_STRING_LENGTH_AFTER_ARGS */
extern Integer FATR dra_create_(Integer *type, Integer *dim1, Integer *dim2,
char *name, int nlen, char *filename, int flen, Integer *mode,
char *name, size_t nlen, char *filename, size_t flen, Integer *mode,
Integer *reqdim1, Integer *reqdim2, Integer *d_a);
extern Integer FATR ndra_create_(Integer *type, Integer *ndim, Integer dims[],
char *name, int nlen, char *filename, int flen, Integer *mode,
char *name, size_t nlen, char *filename, size_t flen, Integer *mode,
Integer reqdims[], Integer *d_a);
extern Integer FATR dra_open_(char *filename, int flen, Integer *mode,
extern Integer FATR dra_open_(char *filename, size_t flen, Integer *mode,
Integer *d_a);
extern Integer FATR dra_inquire_(Integer *d_a, Integer *type, Integer *dim1,
Integer *dim2, char *name, int nlen, char *filename, int flen);
Integer *dim2, char *name, size_t nlen, char *filename, size_t flen);
extern Integer FATR ndra_inquire_(Integer *d_a, Integer *type, Integer *ndim,
Integer dims[], char *name, int nlen, char *filename, int flen);
Integer dims[], char *name, size_t nlen, char *filename, size_t flen);
extern Integer ndra_create_config_(Integer *type, Integer *ndim,
Integer dims[], char *name, int nlen, char *filename, int flen,
Integer dims[], char *name, size_t nlen, char *filename, size_t flen,
Integer *mode, Integer reqdims[], Integer *numfiles,
Integer *numioprocs, Integer *d_a);
#endif /* F2C_HIDDEN_STRING_LENGTH_AFTER_ARGS */
Expand Down
44 changes: 22 additions & 22 deletions pario/dra/fortran.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,16 @@ Integer FATR dra_create_(
Integer *reqdim1,
Integer *reqdim2,
Integer *d_a,
int nlen,
int flen
size_t nlen,
size_t flen
#else
Integer *type,
Integer *dim1,
Integer *dim2,
char *name,
int nlen,
size_t nlen,
char *filename,
int flen,
size_t flen,
Integer *mode,
Integer *reqdim1,
Integer *reqdim2,
Expand All @@ -59,16 +59,16 @@ Integer FATR ndra_create_(
Integer *mode,
Integer reqdims[],
Integer *d_a,
int nlen,
int flen
size_t nlen,
size_t flen
#else
Integer *type,
Integer *ndim,
Integer dims[],
char *name,
int nlen,
size_t nlen,
char *filename,
int flen,
size_t flen,
Integer *mode,
Integer reqdims[],
Integer *d_a
Expand All @@ -86,10 +86,10 @@ Integer FATR dra_open_(
char *filename,
Integer *mode,
Integer *d_a,
int flen
size_t flen
#else
char *filename,
int flen,
size_t flen,
Integer *mode,
Integer *d_a
#endif
Expand All @@ -108,17 +108,17 @@ Integer FATR dra_inquire_(
Integer *dim2,
char *name,
char *filename,
int nlen,
int flen
size_t nlen,
size_t flen
#else
Integer *d_a,
Integer *type,
Integer *dim1,
Integer *dim2,
char *name,
int nlen,
size_t nlen,
char *filename,
int flen
size_t flen
#endif
)
{
Expand All @@ -138,17 +138,17 @@ Integer FATR ndra_inquire_(
Integer dims[],
char *name,
char *filename,
int nlen,
int flen
size_t nlen,
size_t flen
#else
Integer *d_a,
Integer *type,
Integer *ndim,
Integer dims[],
char *name,
int nlen,
size_t nlen,
char *filename,
int flen
size_t flen
#endif
)
{
Expand All @@ -172,16 +172,16 @@ Integer ndra_create_config_(
Integer *numfiles,
Integer *numioprocs,
Integer *d_a,
int nlen,
int flen
size_t nlen,
size_t flen
#else
Integer *type,
Integer *ndim,
Integer dims[],
char *name,
int nlen,
size_t nlen,
char *filename,
int flen,
size_t flen,
Integer *mode,
Integer reqdims[],
Integer *numfiles,
Expand Down
3 changes: 2 additions & 1 deletion pario/dra/ntest.F
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,8 @@ subroutine test_io_int
if (me.eq.0) print*,' '
c
if(me.eq.0) print *, 'Opening Existing Disk Array'
if(dra_open(FNAME ,DRA_R, d_a).ne.0)
if(dra_open(FNAME ,
D DRA_R, d_a).ne.0)
& call ga_error('dra_open failed',0)
c
if(ndra_inquire(d_a, type, ndim, dims, name, filename).ne.0)
Expand Down

0 comments on commit f7a3104

Please sign in to comment.