mirror of
https://github.com/sfilippone/psblas3.git
synced 2026-10-21 05:12:13 +00:00
Fix gather with SERIAL
This commit is contained in:
@@ -107,7 +107,7 @@ contains
|
|||||||
logical :: collective_start, collective_end, collective_sync
|
logical :: collective_start, collective_end, collective_sync
|
||||||
|
|
||||||
#if defined(SERIAL_MPI)
|
#if defined(SERIAL_MPI)
|
||||||
resv(0) = dat
|
resv(1) = dat
|
||||||
#else
|
#else
|
||||||
call psb_info(ctxt,iam,np)
|
call psb_info(ctxt,iam,np)
|
||||||
|
|
||||||
@@ -160,7 +160,7 @@ contains
|
|||||||
use mpi
|
use mpi
|
||||||
#endif
|
#endif
|
||||||
implicit none
|
implicit none
|
||||||
#ifdef MPI_H
|
#ifdef MP.I_H
|
||||||
include 'mpif.h'
|
include 'mpif.h'
|
||||||
#endif
|
#endif
|
||||||
type(psb_ctxt_type), intent(in) :: ctxt
|
type(psb_ctxt_type), intent(in) :: ctxt
|
||||||
@@ -175,7 +175,7 @@ contains
|
|||||||
logical :: collective_start, collective_end, collective_sync
|
logical :: collective_start, collective_end, collective_sync
|
||||||
|
|
||||||
#if defined(SERIAL_MPI)
|
#if defined(SERIAL_MPI)
|
||||||
resv(0) = dat
|
resv(:) = dat(:)
|
||||||
#else
|
#else
|
||||||
call psb_info(ctxt,iam,np)
|
call psb_info(ctxt,iam,np)
|
||||||
|
|
||||||
@@ -245,7 +245,7 @@ contains
|
|||||||
logical :: collective_start, collective_end, collective_sync
|
logical :: collective_start, collective_end, collective_sync
|
||||||
|
|
||||||
#if defined(SERIAL_MPI)
|
#if defined(SERIAL_MPI)
|
||||||
resv(0) = dat
|
resv(:) = dat(:)
|
||||||
#else
|
#else
|
||||||
call psb_info(ctxt,iam,np)
|
call psb_info(ctxt,iam,np)
|
||||||
|
|
||||||
|
|||||||
@@ -747,7 +747,7 @@ contains
|
|||||||
logical :: collective_start, collective_end, collective_sync
|
logical :: collective_start, collective_end, collective_sync
|
||||||
|
|
||||||
#if defined(SERIAL_MPI)
|
#if defined(SERIAL_MPI)
|
||||||
resv(0) = dat
|
resv(1) = dat
|
||||||
#else
|
#else
|
||||||
call psb_info(ctxt,iam,np)
|
call psb_info(ctxt,iam,np)
|
||||||
|
|
||||||
@@ -800,7 +800,7 @@ contains
|
|||||||
use mpi
|
use mpi
|
||||||
#endif
|
#endif
|
||||||
implicit none
|
implicit none
|
||||||
#ifdef MPI_H
|
#ifdef MP.I_H
|
||||||
include 'mpif.h'
|
include 'mpif.h'
|
||||||
#endif
|
#endif
|
||||||
type(psb_ctxt_type), intent(in) :: ctxt
|
type(psb_ctxt_type), intent(in) :: ctxt
|
||||||
@@ -815,7 +815,7 @@ contains
|
|||||||
logical :: collective_start, collective_end, collective_sync
|
logical :: collective_start, collective_end, collective_sync
|
||||||
|
|
||||||
#if defined(SERIAL_MPI)
|
#if defined(SERIAL_MPI)
|
||||||
resv(0) = dat
|
resv(:) = dat(:)
|
||||||
#else
|
#else
|
||||||
call psb_info(ctxt,iam,np)
|
call psb_info(ctxt,iam,np)
|
||||||
|
|
||||||
@@ -885,7 +885,7 @@ contains
|
|||||||
logical :: collective_start, collective_end, collective_sync
|
logical :: collective_start, collective_end, collective_sync
|
||||||
|
|
||||||
#if defined(SERIAL_MPI)
|
#if defined(SERIAL_MPI)
|
||||||
resv(0) = dat
|
resv(:) = dat(:)
|
||||||
#else
|
#else
|
||||||
call psb_info(ctxt,iam,np)
|
call psb_info(ctxt,iam,np)
|
||||||
|
|
||||||
|
|||||||
@@ -585,7 +585,7 @@ contains
|
|||||||
logical :: collective_start, collective_end, collective_sync
|
logical :: collective_start, collective_end, collective_sync
|
||||||
|
|
||||||
#if defined(SERIAL_MPI)
|
#if defined(SERIAL_MPI)
|
||||||
resv(0) = dat
|
resv(1) = dat
|
||||||
#else
|
#else
|
||||||
call psb_info(ctxt,iam,np)
|
call psb_info(ctxt,iam,np)
|
||||||
|
|
||||||
@@ -638,7 +638,7 @@ contains
|
|||||||
use mpi
|
use mpi
|
||||||
#endif
|
#endif
|
||||||
implicit none
|
implicit none
|
||||||
#ifdef MPI_H
|
#ifdef MP.I_H
|
||||||
include 'mpif.h'
|
include 'mpif.h'
|
||||||
#endif
|
#endif
|
||||||
type(psb_ctxt_type), intent(in) :: ctxt
|
type(psb_ctxt_type), intent(in) :: ctxt
|
||||||
@@ -653,7 +653,7 @@ contains
|
|||||||
logical :: collective_start, collective_end, collective_sync
|
logical :: collective_start, collective_end, collective_sync
|
||||||
|
|
||||||
#if defined(SERIAL_MPI)
|
#if defined(SERIAL_MPI)
|
||||||
resv(0) = dat
|
resv(:) = dat(:)
|
||||||
#else
|
#else
|
||||||
call psb_info(ctxt,iam,np)
|
call psb_info(ctxt,iam,np)
|
||||||
|
|
||||||
@@ -723,7 +723,7 @@ contains
|
|||||||
logical :: collective_start, collective_end, collective_sync
|
logical :: collective_start, collective_end, collective_sync
|
||||||
|
|
||||||
#if defined(SERIAL_MPI)
|
#if defined(SERIAL_MPI)
|
||||||
resv(0) = dat
|
resv(:) = dat(:)
|
||||||
#else
|
#else
|
||||||
call psb_info(ctxt,iam,np)
|
call psb_info(ctxt,iam,np)
|
||||||
|
|
||||||
|
|||||||
@@ -585,7 +585,7 @@ contains
|
|||||||
logical :: collective_start, collective_end, collective_sync
|
logical :: collective_start, collective_end, collective_sync
|
||||||
|
|
||||||
#if defined(SERIAL_MPI)
|
#if defined(SERIAL_MPI)
|
||||||
resv(0) = dat
|
resv(1) = dat
|
||||||
#else
|
#else
|
||||||
call psb_info(ctxt,iam,np)
|
call psb_info(ctxt,iam,np)
|
||||||
|
|
||||||
@@ -638,7 +638,7 @@ contains
|
|||||||
use mpi
|
use mpi
|
||||||
#endif
|
#endif
|
||||||
implicit none
|
implicit none
|
||||||
#ifdef MPI_H
|
#ifdef MP.I_H
|
||||||
include 'mpif.h'
|
include 'mpif.h'
|
||||||
#endif
|
#endif
|
||||||
type(psb_ctxt_type), intent(in) :: ctxt
|
type(psb_ctxt_type), intent(in) :: ctxt
|
||||||
@@ -653,7 +653,7 @@ contains
|
|||||||
logical :: collective_start, collective_end, collective_sync
|
logical :: collective_start, collective_end, collective_sync
|
||||||
|
|
||||||
#if defined(SERIAL_MPI)
|
#if defined(SERIAL_MPI)
|
||||||
resv(0) = dat
|
resv(:) = dat(:)
|
||||||
#else
|
#else
|
||||||
call psb_info(ctxt,iam,np)
|
call psb_info(ctxt,iam,np)
|
||||||
|
|
||||||
@@ -723,7 +723,7 @@ contains
|
|||||||
logical :: collective_start, collective_end, collective_sync
|
logical :: collective_start, collective_end, collective_sync
|
||||||
|
|
||||||
#if defined(SERIAL_MPI)
|
#if defined(SERIAL_MPI)
|
||||||
resv(0) = dat
|
resv(:) = dat(:)
|
||||||
#else
|
#else
|
||||||
call psb_info(ctxt,iam,np)
|
call psb_info(ctxt,iam,np)
|
||||||
|
|
||||||
|
|||||||
@@ -585,7 +585,7 @@ contains
|
|||||||
logical :: collective_start, collective_end, collective_sync
|
logical :: collective_start, collective_end, collective_sync
|
||||||
|
|
||||||
#if defined(SERIAL_MPI)
|
#if defined(SERIAL_MPI)
|
||||||
resv(0) = dat
|
resv(1) = dat
|
||||||
#else
|
#else
|
||||||
call psb_info(ctxt,iam,np)
|
call psb_info(ctxt,iam,np)
|
||||||
|
|
||||||
@@ -638,7 +638,7 @@ contains
|
|||||||
use mpi
|
use mpi
|
||||||
#endif
|
#endif
|
||||||
implicit none
|
implicit none
|
||||||
#ifdef MPI_H
|
#ifdef MP.I_H
|
||||||
include 'mpif.h'
|
include 'mpif.h'
|
||||||
#endif
|
#endif
|
||||||
type(psb_ctxt_type), intent(in) :: ctxt
|
type(psb_ctxt_type), intent(in) :: ctxt
|
||||||
@@ -653,7 +653,7 @@ contains
|
|||||||
logical :: collective_start, collective_end, collective_sync
|
logical :: collective_start, collective_end, collective_sync
|
||||||
|
|
||||||
#if defined(SERIAL_MPI)
|
#if defined(SERIAL_MPI)
|
||||||
resv(0) = dat
|
resv(:) = dat(:)
|
||||||
#else
|
#else
|
||||||
call psb_info(ctxt,iam,np)
|
call psb_info(ctxt,iam,np)
|
||||||
|
|
||||||
@@ -723,7 +723,7 @@ contains
|
|||||||
logical :: collective_start, collective_end, collective_sync
|
logical :: collective_start, collective_end, collective_sync
|
||||||
|
|
||||||
#if defined(SERIAL_MPI)
|
#if defined(SERIAL_MPI)
|
||||||
resv(0) = dat
|
resv(:) = dat(:)
|
||||||
#else
|
#else
|
||||||
call psb_info(ctxt,iam,np)
|
call psb_info(ctxt,iam,np)
|
||||||
|
|
||||||
|
|||||||
@@ -747,7 +747,7 @@ contains
|
|||||||
logical :: collective_start, collective_end, collective_sync
|
logical :: collective_start, collective_end, collective_sync
|
||||||
|
|
||||||
#if defined(SERIAL_MPI)
|
#if defined(SERIAL_MPI)
|
||||||
resv(0) = dat
|
resv(1) = dat
|
||||||
#else
|
#else
|
||||||
call psb_info(ctxt,iam,np)
|
call psb_info(ctxt,iam,np)
|
||||||
|
|
||||||
@@ -800,7 +800,7 @@ contains
|
|||||||
use mpi
|
use mpi
|
||||||
#endif
|
#endif
|
||||||
implicit none
|
implicit none
|
||||||
#ifdef MPI_H
|
#ifdef MP.I_H
|
||||||
include 'mpif.h'
|
include 'mpif.h'
|
||||||
#endif
|
#endif
|
||||||
type(psb_ctxt_type), intent(in) :: ctxt
|
type(psb_ctxt_type), intent(in) :: ctxt
|
||||||
@@ -815,7 +815,7 @@ contains
|
|||||||
logical :: collective_start, collective_end, collective_sync
|
logical :: collective_start, collective_end, collective_sync
|
||||||
|
|
||||||
#if defined(SERIAL_MPI)
|
#if defined(SERIAL_MPI)
|
||||||
resv(0) = dat
|
resv(:) = dat(:)
|
||||||
#else
|
#else
|
||||||
call psb_info(ctxt,iam,np)
|
call psb_info(ctxt,iam,np)
|
||||||
|
|
||||||
@@ -885,7 +885,7 @@ contains
|
|||||||
logical :: collective_start, collective_end, collective_sync
|
logical :: collective_start, collective_end, collective_sync
|
||||||
|
|
||||||
#if defined(SERIAL_MPI)
|
#if defined(SERIAL_MPI)
|
||||||
resv(0) = dat
|
resv(:) = dat(:)
|
||||||
#else
|
#else
|
||||||
call psb_info(ctxt,iam,np)
|
call psb_info(ctxt,iam,np)
|
||||||
|
|
||||||
|
|||||||
@@ -107,7 +107,7 @@ contains
|
|||||||
logical :: collective_start, collective_end, collective_sync
|
logical :: collective_start, collective_end, collective_sync
|
||||||
|
|
||||||
#if defined(SERIAL_MPI)
|
#if defined(SERIAL_MPI)
|
||||||
resv(0) = dat
|
resv(1) = dat
|
||||||
#else
|
#else
|
||||||
call psb_info(ctxt,iam,np)
|
call psb_info(ctxt,iam,np)
|
||||||
|
|
||||||
@@ -160,7 +160,7 @@ contains
|
|||||||
use mpi
|
use mpi
|
||||||
#endif
|
#endif
|
||||||
implicit none
|
implicit none
|
||||||
#ifdef MPI_H
|
#ifdef MP.I_H
|
||||||
include 'mpif.h'
|
include 'mpif.h'
|
||||||
#endif
|
#endif
|
||||||
type(psb_ctxt_type), intent(in) :: ctxt
|
type(psb_ctxt_type), intent(in) :: ctxt
|
||||||
@@ -175,7 +175,7 @@ contains
|
|||||||
logical :: collective_start, collective_end, collective_sync
|
logical :: collective_start, collective_end, collective_sync
|
||||||
|
|
||||||
#if defined(SERIAL_MPI)
|
#if defined(SERIAL_MPI)
|
||||||
resv(0) = dat
|
resv(:) = dat(:)
|
||||||
#else
|
#else
|
||||||
call psb_info(ctxt,iam,np)
|
call psb_info(ctxt,iam,np)
|
||||||
|
|
||||||
@@ -245,7 +245,7 @@ contains
|
|||||||
logical :: collective_start, collective_end, collective_sync
|
logical :: collective_start, collective_end, collective_sync
|
||||||
|
|
||||||
#if defined(SERIAL_MPI)
|
#if defined(SERIAL_MPI)
|
||||||
resv(0) = dat
|
resv(:) = dat(:)
|
||||||
#else
|
#else
|
||||||
call psb_info(ctxt,iam,np)
|
call psb_info(ctxt,iam,np)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user