KTH framework for Nek5000 toolboxes; testing version
0.0.1
|
Go to the source code of this file.
Functions/Subroutines | |
subroutine | setupcomm (comm, newcomm, newcommg, path_in, session_in) |
subroutine | iniproc () |
subroutine | gop (x, w, op, n) |
subroutine | igop (x, w, op, n) |
subroutine | i8gop (x, w, op, n) |
subroutine | csend (mtype, buf, len, jnid, jpid) |
subroutine | crecv (mtype, buf, lenm) |
subroutine | crecv2 (mtype, buf, lenm, jnid) |
subroutine | crecv3 (mtype, buf, len, lenm) |
integer function | numnodes () |
integer function | mynode () |
real *8 function | dnekclock () |
real *8 function | dnekclock_sync () |
subroutine | lbcast (ifif) |
subroutine | bcast (buf, len) |
subroutine | create_comm (inewcomm) |
function | isend (msgtag, x, len, jnid, jpid) |
function | irecv (msgtag, x, len) |
subroutine | msgwait (imsg) |
subroutine | nekgsync () |
subroutine | exittr (stringi, rdata, idata) |
subroutine | exitti (stringi, idata) |
subroutine | err_chk (ierr, string) |
subroutine | exitt0 |
subroutine | exitt |
subroutine | print_runtime_info |
subroutine | nek_die (ierr) |
subroutine | fgslib_userexithandler (istatus) |
subroutine | printheader |
function | igl_running_sum (in) |
subroutine | platform_timer (ivb) |
subroutine | comm_test (ivb) |
subroutine | pingpong (alphas, betas, nodea, nodeb, dt, io, ivb, kk) |
subroutine | pingpongo (alphas, betas, nodea, nodeb, dt, io, ivb) |
subroutine | get_msg_vol (msg_vol, dt, nodea, nodeb) |
subroutine | gop_test (ivb) |
subroutine | gp2_test (ivb) |
integer function | xor (m, n) |
subroutine | gp2 (x, w, op, n, nid, np) |
subroutine | ping_loop1 (t1, t0, len, nloop, nodea, nodeb, nid, x, y) |
subroutine | ping_loop2 (t1, t0, len, nloop, nodea, nodeb, nid, x, y) |
subroutine | ping_loop (t1, t0, len, nloop, nodea, nodeb, nid, x1, y1, x2, y2) |
integer *8 function | i8gl_running_sum (in) |
subroutine | close_files |
subroutine | neknekgsync () |
subroutine | setnekcomm (comm_in) |
subroutine bcast | ( | real*4, dimension(1) | buf, |
len | |||
) |
Definition at line 430 of file comm_mpi.f.
References mpi_bcast().
subroutine close_files |
Definition at line 1387 of file comm_mpi.f.
subroutine comm_test | ( | ivb | ) |
Definition at line 730 of file comm_mpi.f.
References gop_test(), gp2_test(), log2(), pingpong(), and pingpongo().
subroutine create_comm | ( | inewcomm | ) |
Definition at line 440 of file comm_mpi.f.
References mpi_comm_dup().
subroutine crecv | ( | mtype, | |
real*4, dimension(1) | buf, | ||
lenm | |||
) |
Definition at line 312 of file comm_mpi.f.
References exitt(), and mpi_recv().
subroutine crecv2 | ( | mtype, | |
real*4, dimension(1) | buf, | ||
lenm, | |||
jnid | |||
) |
Definition at line 332 of file comm_mpi.f.
References exitt(), and mpi_recv().
subroutine crecv3 | ( | mtype, | |
real*4, dimension(1) | buf, | ||
len, | |||
lenm | |||
) |
Definition at line 351 of file comm_mpi.f.
References exitt(), mpi_get_count(), and mpi_recv().
subroutine csend | ( | mtype, | |
real*4, dimension(1) | buf, | ||
len, | |||
jnid, | |||
jpid | |||
) |
Definition at line 302 of file comm_mpi.f.
References mpi_send().
real*8 function dnekclock |
Definition at line 392 of file comm_mpi.f.
References mpi_wtime().
real*8 function dnekclock_sync |
Definition at line 400 of file comm_mpi.f.
References mpi_wtime(), and nekgsync().
subroutine err_chk | ( | ierr, | |
character*1, dimension(132) | string | ||
) |
subroutine exitt |
Definition at line 603 of file comm_mpi.f.
References nek_die().
subroutine exitt0 |
Definition at line 585 of file comm_mpi.f.
References nek_die(), and print_runtime_info().
subroutine exitti | ( | character*1, dimension(132) | stringi, |
idata | |||
) |
subroutine exittr | ( | character*1, dimension(132) | stringi, |
rdata, | |||
idata | |||
) |
subroutine fgslib_userexithandler | ( | istatus | ) |
Definition at line 677 of file comm_mpi.f.
References exitt().
subroutine get_msg_vol | ( | msg_vol, | |
dt, | |||
nodea, | |||
nodeb | |||
) |
Definition at line 941 of file comm_mpi.f.
References crecv(), csend(), dnekclock(), gop(), irecv(), and msgwait().
subroutine gop | ( | real, dimension(n) | x, |
real, dimension(n) | w, | ||
character*3 | op, | ||
n | |||
) |
Definition at line 200 of file comm_mpi.f.
References copy(), dnekclock(), exitt(), mpi_allreduce(), and nekgsync().
subroutine gop_test | ( | ivb | ) |
Definition at line 997 of file comm_mpi.f.
References cfill(), gop(), mpi_wtime(), and nekgsync().
subroutine gp2 | ( | real, dimension(n) | x, |
real, dimension(n) | w, | ||
character*3 | op, | ||
n, | |||
nid, | |||
np | |||
) |
Definition at line 1142 of file comm_mpi.f.
References crecv(), and csend().
subroutine gp2_test | ( | ivb | ) |
Definition at line 1061 of file comm_mpi.f.
References gp2(), mpi_wtime(), and rzero().
integer*8 function i8gl_running_sum | ( | integer*8 | in | ) |
Definition at line 1368 of file comm_mpi.f.
References mpi_scan().
subroutine i8gop | ( | integer*8, dimension(n) | x, |
integer*8, dimension(n) | w, | ||
character*3 | op, | ||
n | |||
) |
Definition at line 274 of file comm_mpi.f.
References exitt(), i8copy(), and mpi_allreduce().
function igl_running_sum | ( | in | ) |
Definition at line 699 of file comm_mpi.f.
References mpi_scan().
subroutine igop | ( | integer, dimension(n) | x, |
integer, dimension(n) | w, | ||
character*3 | op, | ||
n | |||
) |
Definition at line 246 of file comm_mpi.f.
References exitt(), icopy(), and mpi_allreduce().
subroutine iniproc |
Definition at line 137 of file comm_mpi.f.
References dnekclock(), exitti(), mpi_type_get_extent(), mynode(), numnodes(), and set_stdout.
function irecv | ( | msgtag, | |
integer, dimension(1) | x, | ||
len | |||
) |
Definition at line 470 of file comm_mpi.f.
References mpi_irecv().
function isend | ( | msgtag, | |
integer, dimension(1) | x, | ||
len, | |||
jnid, | |||
jpid | |||
) |
Definition at line 453 of file comm_mpi.f.
References mpi_isend().
subroutine lbcast | ( | logical | ifif | ) |
Definition at line 409 of file comm_mpi.f.
References bcast().
subroutine msgwait | ( | imsg | ) |
Definition at line 488 of file comm_mpi.f.
References mpi_wait().
integer function mynode |
Definition at line 381 of file comm_mpi.f.
References mpi_comm_rank().
subroutine nek_die | ( | ierr | ) |
Definition at line 667 of file comm_mpi.f.
References cexit, and mpi_finalize().
subroutine nekgsync |
Definition at line 501 of file comm_mpi.f.
References mpi_barrier().
subroutine neknekgsync |
Definition at line 1400 of file comm_mpi.f.
References mpi_barrier().
integer function numnodes |
Definition at line 372 of file comm_mpi.f.
References mpi_comm_size().
subroutine ping_loop | ( | t1, | |
t0, | |||
len, | |||
nloop, | |||
nodea, | |||
nodeb, | |||
nid, | |||
real, dimension(1) | x1, | ||
real, dimension(1) | y1, | ||
real, dimension(1) | x2, | ||
real, dimension(1) | y2 | ||
) |
Definition at line 1315 of file comm_mpi.f.
References mpi_irecv(), mpi_send(), mpi_wait(), mpi_wtime(), and nekgsync().
subroutine ping_loop1 | ( | t1, | |
t0, | |||
len, | |||
nloop, | |||
nodea, | |||
nodeb, | |||
nid, | |||
real, dimension(1) | x, | ||
real, dimension(1) | y | ||
) |
Definition at line 1219 of file comm_mpi.f.
References mpi_irecv(), mpi_send(), mpi_wait(), mpi_wtime(), msgwait(), and nekgsync().
subroutine ping_loop2 | ( | t1, | |
t0, | |||
len, | |||
nloop, | |||
nodea, | |||
nodeb, | |||
nid, | |||
real, dimension(1) | x, | ||
real, dimension(1) | y | ||
) |
Definition at line 1269 of file comm_mpi.f.
References mpi_irecv(), mpi_send(), mpi_wait(), mpi_wtime(), msgwait(), and nekgsync().
subroutine pingpong | ( | alphas, | |
betas, | |||
nodea, | |||
nodeb, | |||
dt, | |||
io, | |||
ivb, | |||
kk | |||
) |
Definition at line 764 of file comm_mpi.f.
References get_msg_vol(), nekgsync(), ping_loop(), ping_loop1(), and ping_loop2().
subroutine pingpongo | ( | alphas, | |
betas, | |||
nodea, | |||
nodeb, | |||
dt, | |||
io, | |||
ivb | |||
) |
Definition at line 844 of file comm_mpi.f.
References crecv(), csend(), dnekclock(), get_msg_vol(), irecv(), mpi_irecv(), mpi_recv(), mpi_send(), mpi_wait(), mpi_wtime(), msgwait(), and nekgsync().
subroutine platform_timer | ( | ivb | ) |
Definition at line 716 of file comm_mpi.f.
References comm_test(), and mxm_test_all().
subroutine print_runtime_info |
Definition at line 622 of file comm_mpi.f.
References dnekclock_sync(), dnekgflops(), flush_io(), getmaxrss, and glsum().
subroutine printheader |
subroutine setnekcomm | ( | integer | comm_in | ) |
Definition at line 1410 of file comm_mpi.f.
References mpi_comm_size().
subroutine setupcomm | ( | integer | comm, |
integer | newcomm, | ||
integer | newcommg, | ||
character, dimension(*) | path_in, | ||
character, dimension(*) | session_in | ||
) |
Definition at line 2 of file comm_mpi.f.
References bcast(), blank(), chcopy(), err_chk(), exitt(), exitti(), ltrunc(), mpi_comm_dup(), mpi_comm_get_attr(), mpi_comm_rank(), mpi_comm_size(), mpi_comm_split(), mpi_init(), and mpi_initialized().
integer function xor | ( | m, | |
n | |||
) |
Definition at line 1114 of file comm_mpi.f.