Skip to content

Commit 35652f6

Browse files
authored
Merge pull request #19 from albandil/ilp64_support
ILP64 support
2 parents 0efeeb6 + 0a00a09 commit 35652f6

File tree

445 files changed

+7442
-7330
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

445 files changed

+7442
-7330
lines changed

BLACS/SRC/BI_Arecv.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
#include "Bdef.h"
22

3-
void BI_Arecv(BLACSCONTEXT *ctxt, int src, int msgid, BLACBUFF *bp)
3+
void BI_Arecv(BLACSCONTEXT *ctxt, Int src, Int msgid, BLACBUFF *bp)
44
{
5-
int i, info, errclass;
5+
Int i, info;
6+
MpiInt errclass;
67

78
info=MPI_Irecv(bp->Buff, bp->N, bp->dtype, src, msgid, ctxt->scp->comm,
89
&bp->Aops[bp->nAops]);

BLACS/SRC/BI_ArgCheck.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
#include "Bdef.h"
22

33

4-
void BI_ArgCheck(int ConTxt, int RoutType, char *routine, char scope,
5-
char uplo, char diag, int m, int n, int lda, int nprocs,
6-
int *prows, int *pcols)
4+
void BI_ArgCheck(Int ConTxt, Int RoutType, char *routine, char scope,
5+
char uplo, char diag, Int m, Int n, Int lda, Int nprocs,
6+
Int *prows, Int *pcols)
77
{
88
#if (BlacsDebugLvl > 0)
99
char *srcdest;
10-
int i=1, prow, pcol, Ng, nprow, npcol, myrow, mycol;
10+
Int i=1, prow, pcol, Ng, nprow, npcol, myrow, mycol;
1111
BLACSCONTEXT *ctxt;
1212

1313
MGetConTxt(ConTxt, ctxt);

BLACS/SRC/BI_Asend.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
#include "Bdef.h"
22

3-
void BI_Asend(BLACSCONTEXT *ctxt, int dest, int msgid, BLACBUFF *bp)
3+
void BI_Asend(BLACSCONTEXT *ctxt, Int dest, Int msgid, BLACBUFF *bp)
44
{
5-
int i, info, errclass;
5+
Int i, info;
6+
MpiInt errclass;
67

78
info=MPI_Isend(bp->Buff, bp->N, bp->dtype, dest, msgid, ctxt->scp->comm,
89
&bp->Aops[bp->nAops]);

BLACS/SRC/BI_BeComb.c

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* Robert van de Geijn, et al.
99
*/
1010
void BI_BeComb(BLACSCONTEXT *ctxt, BLACBUFF *bp, BLACBUFF *bp2,
11-
int N, VVFUNPTR Xvvop)
11+
Int N, VVFUNPTR Xvvop)
1212
/*
1313
* -- V1.1ALPHA (test version) BLACS routine --
1414
* University of Tennessee, October 1, 1995
@@ -47,15 +47,15 @@ void BI_BeComb(BLACSCONTEXT *ctxt, BLACBUFF *bp, BLACBUFF *bp2,
4747
* ------------------------------------------------------------------------
4848
*/
4949
{
50-
void BI_Ssend(BLACSCONTEXT *, int, int, BLACBUFF *);
51-
void BI_Srecv(BLACSCONTEXT *, int, int, BLACBUFF *);
52-
void BI_Rsend(BLACSCONTEXT *, int, int, BLACBUFF *);
53-
void BI_Arecv(BLACSCONTEXT *, int, int, BLACBUFF *);
50+
void BI_Ssend(BLACSCONTEXT *, Int, Int, BLACBUFF *);
51+
void BI_Srecv(BLACSCONTEXT *, Int, Int, BLACBUFF *);
52+
void BI_Rsend(BLACSCONTEXT *, Int, Int, BLACBUFF *);
53+
void BI_Arecv(BLACSCONTEXT *, Int, Int, BLACBUFF *);
5454
void BI_UpdateBuffs(BLACBUFF *);
55-
BLACBUFF *BI_GetBuff(int);
56-
int BI_BuffIsFree(BLACBUFF *, int);
55+
BLACBUFF *BI_GetBuff(Int);
56+
Int BI_BuffIsFree(BLACBUFF *, Int);
5757

58-
int Np, Iam, dest, msgid, Rmsgid, np2, bit, ierr;
58+
Int Np, Iam, dest, msgid, Rmsgid, np2, bit, ierr;
5959
extern MPI_Status *BI_Stats;
6060

6161
Np = ctxt->scp->Np;

BLACS/SRC/BI_BlacsAbort.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#include "Bdef.h"
22

3-
void BI_BlacsAbort(int ErrNo)
3+
void BI_BlacsAbort(Int ErrNo)
44
{
5-
int ierr;
5+
Int ierr;
66
fflush(stderr);
77
fflush(stdout);
88
ierr=MPI_Abort(MPI_COMM_WORLD, ErrNo);

BLACS/SRC/BI_BlacsErr.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
#include "Bdef.h"
22

3-
void BI_BlacsErr(int ConTxt, int line, char *file, char *form, ...)
3+
void BI_BlacsErr(Int ConTxt, Int line, char *file, char *form, ...)
44
{
55
#ifdef __STDC__
6-
void BI_BlacsAbort(int ErrNo);
6+
void BI_BlacsAbort(Int ErrNo);
77
#else
88
void BI_BlacsAbort();
99
#endif
10-
extern int BI_Iam;
11-
int myrow, mycol;
10+
extern Int BI_Iam;
11+
Int myrow, mycol;
1212
va_list argptr;
1313
char cline[100];
1414
BLACSCONTEXT *ctxt;

BLACS/SRC/BI_BlacsWarn.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
#include "Bdef.h"
22

3-
void BI_BlacsWarn(int ConTxt, int line, char *file, char *form, ...)
3+
void BI_BlacsWarn(Int ConTxt, Int line, char *file, char *form, ...)
44
{
5-
extern int BI_Iam;
5+
extern Int BI_Iam;
66
extern BLACSCONTEXT **BI_MyContxts;
7-
int myrow, mycol;
7+
Int myrow, mycol;
88
va_list argptr;
99
char cline[100];
1010

BLACS/SRC/BI_BuffIsFree.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
#include "Bdef.h"
22

3-
int BI_BuffIsFree(BLACBUFF *bp, int Wait)
3+
Int BI_BuffIsFree(BLACBUFF *bp, Int Wait)
44
/*
55
* Check to see if buff is finished with async. operations. If Wait != 0,
66
* wait for all async. operations to complete.
77
*/
88
{
9-
int i, info;
9+
MpiInt i, info;
1010
extern MPI_Status *BI_Stats;
11-
extern int BI_Np;
11+
extern Int BI_Np;
1212

1313

1414
if (!Wait)

BLACS/SRC/BI_ContxtNum.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
#include "Bdef.h"
22

3-
int BI_ContxtNum(BLACSCONTEXT *ctxt)
3+
Int BI_ContxtNum(BLACSCONTEXT *ctxt)
44
/*
55
* Returns the integer ID of ctxt
66
*/
77
{
8-
int i;
9-
extern int BI_MaxNCtxt;
8+
Int i;
9+
extern Int BI_MaxNCtxt;
1010
extern BLACSCONTEXT **BI_MyContxts;
1111

1212
if (ctxt == NULL) return(-1);

BLACS/SRC/BI_EmergencyBuff.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@
66
* the user-changeable macro value BUFWAIT. If in that time no active *
77
* buffer becomes inactive, a hang is assumed, and the grid is killed. *
88
***************************************************************************/
9-
void BI_EmergencyBuff(int length)
9+
void BI_EmergencyBuff(Int length)
1010
{
1111
void BI_UpdateBuffs(BLACBUFF *);
1212

1313
char *cptr;
14-
int i, j;
14+
Int i, j;
1515
double Mwalltime(void);
1616
double t1;
17-
extern int BI_Np;
17+
extern Int BI_Np;
1818
extern BLACBUFF *BI_ReadyB, *BI_ActiveQ;
1919

2020
j = sizeof(BLACBUFF);

0 commit comments

Comments
 (0)