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 LIBDIR=$(PSBLASDIR)/lib
HERE=. HERE=.
INCDIRS=-I. -I$(LIBDIR) FINCLUDES=$(FMFLAG)$(LIBDIR) $(FMFLAG).
MODOBJS= psb_prec_type.o psb_prec_mod.o MODOBJS= psb_prec_type.o psb_prec_mod.o
MPFOBJS=psb_dbldaggrmat.o psb_zbldaggrmat.o MPFOBJS=psb_dbldaggrmat.o psb_zbldaggrmat.o

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

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

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

Loading…
Cancel
Save