Nek5000
SEM for Incompressible NS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Functions/Subroutines
comm_mpi.F90 File Reference

Go to the source code of this file.

Functions/Subroutines

subroutine iniproc (intracomm)
 
subroutine init_nek_comm (intracomm)
 
subroutine gop (x, w, op, n)
 Global vector commutative operation. More...
 
subroutine igop (x, w, op, n)
 Global vector commutative operation. More...
 
subroutine i8gop (x, w, op, n)
 Global vector commutative operation. More...
 
subroutine csend (mtype, buf, len, jnid, jpid)
 
subroutine crecv (mtype, buf, lenm)
 
integer function numnodes ()
 
integer function mynode ()
 
subroutine lbcast (ifif)
 Broadcast logical variable to all processors. More...
 
subroutine bcast (buf, len)
 
integer function irecv (msgtag, x, len)
 
subroutine nekgsync ()
 
subroutine exitti (stringi, idata)
 
subroutine err_chk (ierr, istring)
 
subroutine exitt0
 
subroutine exitt
 
subroutine printheader
 
integer function igl_running_sum (in)
 
subroutine msgwait (imsg)
 

Function/Subroutine Documentation

subroutine bcast ( real(r4)  buf,
integer  len 
)

Definition at line 289 of file comm_mpi.F90.

References mpi_bcast().

Referenced by genmesh(), get_session_info(), get_vert_map(), lbcast(), mfo_outfld(), io::mfo_read_header(), nek_comm_io(), outfld(), rdhist(), rdicdf(), rdmatp(), rdobj(), rdout(), rdparam(), readat(), and restart_driver().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

subroutine crecv ( integer  mtype,
real(r4), dimension(1)  buf,
integer  lenm 
)

Definition at line 223 of file comm_mpi.F90.

References exitt(), and mpi_recv().

Referenced by mapdmp(), mapelpr(), mfo_mdatas(), mfo_mdatav(), mfo_outs(), mfo_outv(), io::mfo_read_header(), io::mfo_read_scalar(), io::mfo_read_vector(), mfo_write_hdr(), nek_comm_io(), opcount(), outfld(), outhis(), and pprint_all().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

subroutine csend ( integer  mtype,
real(r4), dimension(1)  buf,
integer  len,
integer  jnid,
integer  jpid 
)

Definition at line 209 of file comm_mpi.F90.

References mpi_send().

Referenced by mapdmp(), mapelpr(), mfo_mdatas(), mfo_mdatav(), mfo_outs(), mfo_outv(), io::mfo_read_header(), io::mfo_read_scalar(), io::mfo_read_vector(), mfo_write_hdr(), nek_comm_io(), opcount(), outfld(), outhis(), and pprint_all().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

subroutine err_chk ( integer  ierr,
character(*)  istring 
)

Definition at line 356 of file comm_mpi.F90.

References blank(), chcopy(), exitt(), and string::indx1().

Referenced by get_session_info(), mapdmp(), mfo_mdatas(), mfo_mdatav(), mfo_outfld(), mfo_outs(), mfo_outv(), io::mfo_read_header(), io::mfo_read_scalar(), io::mfo_read_vector(), mfo_write_hdr(), outfld(), prepost(), rdhist(), rdobj(), and restart_driver().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

subroutine exitt ( )
subroutine exitt0 ( )

Definition at line 390 of file comm_mpi.F90.

References flush_io(), mpi_finalize(), and print_stack.

Referenced by get_vert_map().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

subroutine exitti ( character(132)  stringi,
integer  idata 
)

Definition at line 328 of file comm_mpi.F90.

References blank(), chcopy(), exitt(), and string::indx1().

Referenced by assign_gllnid(), get_fast_bc(), hsmg_routines::h1mg_setup_mask(), hsmg_routines::hsmg_setup_fast(), lim_chk(), mapdmp(), ortho(), rdicdf(), rdout(), rdparam(), readat(), setup_convect(), and setzgml().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

subroutine gop ( real(dp), dimension(n x,
real(dp), dimension(n w,
character(3)  op,
integer  n 
)

Global vector commutative operation.

Definition at line 104 of file comm_mpi.F90.

References copy(), ctimer::dnekclock(), exitt(), mpi_allreduce(), and nekgsync().

Referenced by cggo(), glamax(), gllog(), glmax(), glmin(), glsc2(), glsc23(), glsc3(), glsum(), helmholtz::hconj(), hmh_gmres(), opcount(), prepost(), helmholtz::projh(), runstat(), and vrdsmsh().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

subroutine i8gop ( integer(i8), dimension(n x,
integer(i8), dimension(n w,
character(3)  op,
integer  n 
)

Global vector commutative operation.

Definition at line 181 of file comm_mpi.F90.

References exitt(), and mpi_allreduce().

Referenced by i8glmax(), and i8glsum().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

integer function igl_running_sum ( integer  in)

Definition at line 493 of file comm_mpi.F90.

References mpi_scan().

+ Here is the call graph for this function:

subroutine igop ( integer, dimension(n), intent(inout)  x,
integer, dimension(n), intent(inout)  w,
character(3), intent(in)  op,
integer, intent(in)  n 
)

Global vector commutative operation.

Definition at line 152 of file comm_mpi.F90.

References exitt(), and mpi_allreduce().

Referenced by iglmax(), iglmin(), and iglsum().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

subroutine iniproc ( integer  intracomm)

Definition at line 2 of file comm_mpi.F90.

References exitt(), init_nek_comm(), mpi_attr_get(), np, and printheader().

Referenced by get_session_info().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

subroutine init_nek_comm ( integer  intracomm)

Definition at line 89 of file comm_mpi.F90.

References np.

Referenced by iniproc().

+ Here is the caller graph for this function:

integer function irecv ( integer  msgtag,
integer, dimension(1)  x,
integer  len 
)

Definition at line 304 of file comm_mpi.F90.

References mpi_irecv().

+ Here is the call graph for this function:

subroutine lbcast ( logical  ifif)

Broadcast logical variable to all processors.

Definition at line 270 of file comm_mpi.F90.

References bcast(), and np.

Referenced by restart_driver().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

subroutine msgwait ( integer  imsg)

Definition at line 510 of file comm_mpi.F90.

References mpi_wait().

+ Here is the call graph for this function:

integer function mynode ( )

Definition at line 258 of file comm_mpi.F90.

References mpi_comm_rank().

+ Here is the call graph for this function:

subroutine nekgsync ( )

Definition at line 318 of file comm_mpi.F90.

References mpi_barrier().

Referenced by ctimer::dnekclock_sync(), dsop(), dssum(), exitt(), get_vert_map(), gop(), hsmg_routines::hsmg_coarse_solve(), hsmg_routines::hsmg_dsprod(), hsmg_routines::hsmg_dssum(), hsmg_routines::hsmg_schwarz_dssum(), poisson::init_comm_infrastructure(), poisson::init_mesh_to_grid(), mfo_mdatas(), mfo_mdatav(), mfo_outs(), mfo_outv(), io::mfo_read_header(), io::mfo_read_scalar(), io::mfo_read_vector(), mfo_write_hdr(), nek_advance(), nek_solve(), outfld(), pprint_all(), readat(), setics(), vec_dsop(), and vec_dssum().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

integer function numnodes ( )

Definition at line 248 of file comm_mpi.F90.

References mpi_comm_size().

+ Here is the call graph for this function:

subroutine printheader ( )

Definition at line 486 of file comm_mpi.F90.

Referenced by iniproc().

+ Here is the caller graph for this function: