Changes for SUN compilers.

stopcriterion
Salvatore Filippone 18 years ago
parent 539a090002
commit 4ffcac0ef2

@ -4,7 +4,8 @@ include $(PSBLASDIR)/Make.inc
LIBDIR=$(PSBLASDIR)/lib
HERE=.
INCDIRS=-I. -I$(LIBDIR)
FINCLUDES=$(FMFLAG)$(LIBDIR) $(FMFLAG).
MODOBJS= psb_prec_type.o psb_prec_mod.o
MPFOBJS=psb_dbldaggrmat.o psb_zbldaggrmat.o

@ -102,8 +102,13 @@ contains
subroutine raw_aggregate(info)
use psb_base_mod
use psb_prec_type
#ifdef MPI_MOD
use mpi
#endif
implicit none
#ifdef MPI_H
include 'mpif.h'
#endif
integer, intent(out) :: info
type(psb_dspmat_type) :: b
@ -322,8 +327,13 @@ contains
subroutine smooth_aggregate(info)
use psb_base_mod
use psb_prec_type
#ifdef MPI_MOD
use mpi
#endif
implicit none
#ifdef MPI_H
include 'mpif.h'
#endif
integer, intent(out) :: info

@ -101,8 +101,13 @@ contains
subroutine raw_aggregate(info)
use psb_base_mod
use psb_prec_type
#ifdef MPI_MOD
use mpi
#endif
implicit none
#ifdef MPI_H
include 'mpif.h'
#endif
integer, intent(out) :: info
type(psb_zspmat_type) :: b
@ -321,8 +326,13 @@ contains
subroutine smooth_aggregate(info)
use psb_base_mod
use psb_prec_type
#ifdef MPI_MOD
use mpi
#endif
implicit none
#ifdef MPI_H
include 'mpif.h'
#endif
integer, intent(out) :: info

@ -132,11 +132,12 @@ typedef struct {
void
psb_zsludist_factor_(int *n, int *nl, int *nnzl, int *ffstr,
doublecomplex *values, int *rowptr, int *colind,
#ifdef Have_SLUDist_
doublecomplex *values, int *rowptr, int *colind,
fptr *f_factors, /* a handle containing the address
pointing to the factored matrices */
#else
void *values, int *rowptr, int *colind,
void *f_factors,
#endif
int *nprow, int *npcol, int *info)
@ -239,11 +240,12 @@ psb_zsludist_factor_(int *n, int *nl, int *nnzl, int *ffstr,
void
psb_zsludist_solve_(int *itrans, int *n, int *nrhs,
doublecomplex *b, int *ldb,
#ifdef Have_SLUDist_
doublecomplex *b, int *ldb,
fptr *f_factors, /* a handle containing the address
pointing to the factored matrices */
#else
void *b, int *ldb,
void *f_factors,
#endif
int *info)

Loading…
Cancel
Save