*
│ │ │ * MALOC = < Minimal Abstraction Layer for Object-oriented C >
│ │ │ * Copyright (C) 1994-- Michael Holst
│ │ │ *
│ │ │ * This library is free software; you can redistribute it and/or
│ │ │ * modify it under the terms of the GNU Lesser General Public
│ │ │ * License as published by the Free Software Foundation; either
│ │ │ ├── html2text {}
│ │ │ │ @@ -1,36 +1,77 @@
│ │ │ │ MALOC 0.1
│ │ │ │ * _s_r_c
│ │ │ │ * _p_s_h
│ │ │ │ * _m_a_l_o_c
│ │ │ │ -_F_u_n_c_t_i_o_n_s
│ │ │ │ -psh.h File Reference
│ │ │ │ -_V_s_h_ _c_l_a_s_s
│ │ │ │ -Header file for a simple parallel extension of ALOC's VSH. _M_o_r_e_._._.
│ │ │ │ +_C_l_a_s_s_e_s | _T_y_p_e_d_e_f_s | _F_u_n_c_t_i_o_n_s
│ │ │ │ +vmpi.h File Reference
│ │ │ │ +_V_m_p_i_ _c_l_a_s_s
│ │ │ │ +Class Vmpi: a Virtual MPI communication layer object. _M_o_r_e_._._.
│ │ │ │ #include <_m_a_l_o_c_/_m_a_l_o_c___b_a_s_e_._h>
│ │ │ │ #include <_m_a_l_o_c_/_v_s_y_s_._h>
│ │ │ │ -#include <_m_a_l_o_c_/_v_s_h_._h>
│ │ │ │ -#include <_m_a_l_o_c_/_v_m_p_._h>
│ │ │ │ -Include dependency graph for psh.h:
│ │ │ │ +Include dependency graph for vmpi.h:
│ │ │ │ This graph shows which files directly or indirectly include this file:
│ │ │ │ _G_o_ _t_o_ _t_h_e_ _s_o_u_r_c_e_ _c_o_d_e_ _o_f_ _t_h_i_s_ _f_i_l_e_.
│ │ │ │ +CCllaasssseess
│ │ │ │ +struct _s_V_m_p_i
│ │ │ │ + Class Vmpi: Definition. _M_o_r_e_._._.
│ │ │ │ +
│ │ │ │ +TTyyppeeddeeffss
│ │ │ │ +typedef struct _s_V_m_p_i _V_m_p_i
│ │ │ │ + Declaration of the Vmpi class as the Vmpi structure.
│ │ │ │ +
│ │ │ │ FFuunnccttiioonnss
│ │ │ │ -int _V_s_h___p_s_h_e_l_l (_V_s_h *thee, char *pPR, void *pthee, int(*builtin)(void *thee,
│ │ │ │ - int argc, char **argv))
│ │ │ │ - Drop-in replacement for Vsh_shell giving parallel extensions.
│ │ │ │ + int _V_m_p_i___i_n_i_t (int *argc, char ***argv)
│ │ │ │ + The Vmp initializer.
│ │ │ │ +
│ │ │ │ + int _V_m_p_i___f_i_n_a_l_i_z_e (void)
│ │ │ │ + The Vmp finalizer.
│ │ │ │ +
│ │ │ │ +_V_m_p_i * _V_m_p_i___c_t_o_r (void)
│ │ │ │ + The Vmpi constructor.
│ │ │ │ +
│ │ │ │ + void _V_m_p_i___d_t_o_r (_V_m_p_i **thee)
│ │ │ │ + The Vmpi destructor.
│ │ │ │ +
│ │ │ │ + int _V_m_p_i___r_a_n_k (_V_m_p_i *thee)
│ │ │ │ + Return my processor ID.
│ │ │ │ +
│ │ │ │ +
│ │ │ │ + int _V_m_p_i___s_i_z_e (_V_m_p_i *thee)
│ │ │ │ + Return the number of processors involved.
│ │ │ │ +
│ │ │ │ + int _V_m_p_i___b_a_r_r (_V_m_p_i *thee)
│ │ │ │ + An MPI barrier.
│ │ │ │ +
│ │ │ │ +
│ │ │ │ + int _V_m_p_i___s_e_n_d (_V_m_p_i *thee, int des, char *buf, int bufsize)
│ │ │ │ + An MPI blocking send.
│ │ │ │ +
│ │ │ │ + int _V_m_p_i___r_e_c_v (_V_m_p_i *thee, int src, char *buf, int bufsize)
│ │ │ │ + An MPI blocking receive.
│ │ │ │ +
│ │ │ │ + int _V_m_p_i___b_c_a_s_t (_V_m_p_i *thee, char *buf, int bufsize)
│ │ │ │ + An MPI broadcast.
│ │ │ │ +
│ │ │ │ + int _V_m_p_i___r_e_d_u_c_e (_V_m_p_i *thee, char *sbuf, char *rbuf, int bufsize)
│ │ │ │ + An MPI reduce.
│ │ │ │ +
│ │ │ │ +
│ │ │ │ + int _V_m_p_i___i_s_e_n_d (_V_m_p_i *thee, int des, char *buf, int bufsize)
│ │ │ │ + An MPI non-blocking send.
│ │ │ │
│ │ │ │ ********** DDeettaaiilleedd DDeessccrriippttiioonn **********
│ │ │ │ -Header file for a simple parallel extension of ALOC's VSH.
│ │ │ │ +Class Vmpi: a Virtual MPI communication layer object.
│ │ │ │ Author
│ │ │ │ Michael Holst
│ │ │ │ Note
│ │ │ │ None
│ │ │ │ Version
│ │ │ │ Id
│ │ │ │ - _p_s_h_._h,v 1.28 2010/08/12 05:40:23 fetk Exp
│ │ │ │ + _v_m_p_i_._h,v 1.29 2010/08/12 05:40:23 fetk Exp
│ │ │ │ Attention
│ │ │ │ *
│ │ │ │ * MALOC = < Minimal Abstraction Layer for Object-oriented C >
│ │ │ │ * Copyright (C) 1994-- Michael Holst
│ │ │ │ *
│ │ │ │ * This library is free software; you can redistribute it and/or
│ │ │ │ * modify it under the terms of the GNU Lesser General Public
│ │ ├── ./usr/share/doc/libmaloc-dev/html/a00005_source.html
│ │ │ @@ -1,15 +1,15 @@
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ -MALOC: psh.h Source File
│ │ │ +MALOC: vmpi.h Source File
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ @@ -44,38 +44,94 @@
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │
Go to the documentation of this file.
│ │ │ -
│ │ │ -
│ │ │ -
│ │ │ -
│ │ │ -
│ │ │ -
│ │ │ -
│ │ │ -
│ │ │ +
│ │ │ +
│ │ │
│ │ │ -
│ │ │ -
53 int (*builtin)(
void *thee,
int argc,
char **argv));
│ │ │ -
│ │ │ -
│ │ │ -
│ │ │ +
│ │ │ +
│ │ │ +
│ │ │ +
│ │ │ +
│ │ │ +
│ │ │ +
│ │ │ +
│ │ │ +
│ │ │ +
│ │ │ +
│ │ │ +
│ │ │ +
│ │ │ +
│ │ │ +
│ │ │ +
│ │ │ +
│ │ │ +
│ │ │ +
│ │ │ +
│ │ │ +
│ │ │ +
│ │ │ +
│ │ │ +
│ │ │ +
│ │ │ +
│ │ │ +
75#if !defined(VINLINE_MALOC)
│ │ │ +
│ │ │ +
│ │ │ +
│ │ │ +
│ │ │ +
│ │ │ +
│ │ │ +
│ │ │ +
│ │ │ +
│ │ │ +
│ │ │ +
│ │ │ +
│ │ │ +
│ │ │ +
│ │ │ +
│ │ │ +
│ │ │ +
│ │ │ +
│ │ │ +
│ │ │ +
│ │ │ +
│ │ │ +
│ │ │ +
│ │ │ +
│ │ │ +
│ │ │ +
│ │ │ +
│ │ │ +
│ │ │ +
│ │ │
The base (or foundation) header for MALOC.
│ │ │ -
Class Vmp: a Virtual MPI communication layer object.
│ │ │ -
Header file for vsh, a bourne-compatible shell.
│ │ │ -
The primary header for VSYS. (Virtual SYStem utilities library.)
│ │ │ -
int Vsh_pshell(Vsh *thee, char *pPR, void *pthee, int(*builtin)(void *thee, int argc, char **argv))
Drop-in replacement for Vsh_shell giving parallel extensions.
│ │ │ -
Contains public data members for Vsh class.
Definition vsh.h:56
│ │ │ +
The primary header for VSYS. (Virtual SYStem utilities library.)
│ │ │ +
int Vmpi_init(int *argc, char ***argv)
The Vmp initializer.
│ │ │ +
int Vmpi_finalize(void)
The Vmp finalizer.
│ │ │ +
int Vmpi_size(Vmpi *thee)
Return the number of processors involved.
│ │ │ +
int Vmpi_reduce(Vmpi *thee, char *sbuf, char *rbuf, int bufsize)
An MPI reduce.
│ │ │ +
int Vmpi_recv(Vmpi *thee, int src, char *buf, int bufsize)
An MPI blocking receive.
│ │ │ +
int Vmpi_isend(Vmpi *thee, int des, char *buf, int bufsize)
An MPI non-blocking send.
│ │ │ +
void Vmpi_dtor(Vmpi **thee)
The Vmpi destructor.
│ │ │ +
int Vmpi_send(Vmpi *thee, int des, char *buf, int bufsize)
An MPI blocking send.
│ │ │ +
Vmpi * Vmpi_ctor(void)
The Vmpi constructor.
│ │ │ +
int Vmpi_barr(Vmpi *thee)
An MPI barrier.
│ │ │ +
int Vmpi_bcast(Vmpi *thee, char *buf, int bufsize)
An MPI broadcast.
│ │ │ +
int Vmpi_rank(Vmpi *thee)
Return my processor ID.
│ │ │ +
Class Vmpi: Definition.
Definition vmpi.h:57
│ │ │ +
int mpi_rank
Definition vmpi.h:58
│ │ │ +
int mpi_size
Definition vmpi.h:59
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │
│ │ │ ├── html2text {}
│ │ │ │ @@ -1,38 +1,119 @@
│ │ │ │ MALOC 0.1
│ │ │ │ * _s_r_c
│ │ │ │ * _p_s_h
│ │ │ │ * _m_a_l_o_c
│ │ │ │ -psh.h
│ │ │ │ +vmpi.h
│ │ │ │ _G_o_ _t_o_ _t_h_e_ _d_o_c_u_m_e_n_t_a_t_i_o_n_ _o_f_ _t_h_i_s_ _f_i_l_e_.
│ │ │ │ 1
│ │ │ │ -32#ifndef _PSH_H_
│ │ │ │ -33#define _PSH_H_
│ │ │ │ -34
│ │ │ │ -35#include <_m_a_l_o_c_/_m_a_l_o_c___b_a_s_e_._h>
│ │ │ │ -36
│ │ │ │ -37#include <_m_a_l_o_c_/_v_s_y_s_._h>
│ │ │ │ -38#include <_m_a_l_o_c_/_v_s_h_._h>
│ │ │ │ -39#include <_m_a_l_o_c_/_v_m_p_._h>
│ │ │ │ +38#ifndef _VMPI_H_
│ │ │ │ +39#define _VMPI_H_
│ │ │ │ 40
│ │ │ │ -_5_2int _V_s_h___p_s_h_e_l_l(_V_s_h *thee, char *pPR, void *pthee,
│ │ │ │ -53 int (*builtin)(void *thee, int argc, char **argv));
│ │ │ │ -54
│ │ │ │ -55#endif /* _PSH_H_ */
│ │ │ │ -56
│ │ │ │ +41#include <_m_a_l_o_c_/_m_a_l_o_c___b_a_s_e_._h>
│ │ │ │ +42
│ │ │ │ +43#include <_m_a_l_o_c_/_v_s_y_s_._h>
│ │ │ │ +44
│ │ │ │ +45/*
│ │ │ │ +46 *
│ │ │ │ +***************************************************************************
│ │ │ │ +47 * Class Vmpi: Parameters and datatypes
│ │ │ │ +48 *
│ │ │ │ +***************************************************************************
│ │ │ │ +49 */
│ │ │ │ +50
│ │ │ │ +51
│ │ │ │ +_5_7struct _s_V_m_p_i {
│ │ │ │ +_5_8 int _m_p_i___r_a_n_k;
│ │ │ │ +_5_9 int _m_p_i___s_i_z_e;
│ │ │ │ +60};
│ │ │ │ +61
│ │ │ │ +_6_7typedef struct _s_V_m_p_i _V_m_p_i;
│ │ │ │ +68
│ │ │ │ +69/*
│ │ │ │ +70 *
│ │ │ │ +***************************************************************************
│ │ │ │ +71 * Class Vmpi: Inlineable methods (vmpi.c)
│ │ │ │ +72 *
│ │ │ │ +***************************************************************************
│ │ │ │ +73 */
│ │ │ │ +74
│ │ │ │ +75#if !defined(VINLINE_MALOC)
│ │ │ │ +76#else /* if defined(VINLINE_MALOC) */
│ │ │ │ +77#endif /* if !defined(VINLINE_MALOC) */
│ │ │ │ +78
│ │ │ │ +_8_8int _V_m_p_i___i_n_i_t(int *argc, char ***argv);
│ │ │ │ +89
│ │ │ │ +_9_7int _V_m_p_i___f_i_n_a_l_i_z_e(void);
│ │ │ │ +98
│ │ │ │ +_1_0_6_V_m_p_i* _V_m_p_i___c_t_o_r(void);
│ │ │ │ +107
│ │ │ │ +_1_1_6void _V_m_p_i___d_t_o_r(_V_m_p_i **thee);
│ │ │ │ +117
│ │ │ │ +_1_2_6int _V_m_p_i___r_a_n_k(_V_m_p_i *thee);
│ │ │ │ +127
│ │ │ │ +_1_3_6int _V_m_p_i___s_i_z_e(_V_m_p_i *thee);
│ │ │ │ +137
│ │ │ │ +_1_4_6int _V_m_p_i___b_a_r_r(_V_m_p_i *thee);
│ │ │ │ +147
│ │ │ │ +_1_5_9int _V_m_p_i___s_e_n_d(_V_m_p_i *thee, int des, char *buf, int bufsize);
│ │ │ │ +160
│ │ │ │ +_1_7_2int _V_m_p_i___r_e_c_v(_V_m_p_i *thee, int src, char *buf, int bufsize);
│ │ │ │ +173
│ │ │ │ +_1_8_4int _V_m_p_i___b_c_a_s_t(_V_m_p_i *thee, char *buf, int bufsize);
│ │ │ │ +185
│ │ │ │ +_1_9_7int _V_m_p_i___r_e_d_u_c_e(_V_m_p_i *thee, char *sbuf, char *rbuf, int bufsize);
│ │ │ │ +198
│ │ │ │ +_2_1_0int _V_m_p_i___i_s_e_n_d(_V_m_p_i *thee, int des, char *buf, int bufsize);
│ │ │ │ +211
│ │ │ │ +212#endif /* _VMPI_H_ */
│ │ │ │ +213
│ │ │ │ _m_a_l_o_c___b_a_s_e_._h
│ │ │ │ The base (or foundation) header for MALOC.
│ │ │ │ -_v_m_p_._h
│ │ │ │ -Class Vmp: a Virtual MPI communication layer object.
│ │ │ │ -_v_s_h_._h
│ │ │ │ -Header file for vsh, a bourne-compatible shell.
│ │ │ │ _v_s_y_s_._h
│ │ │ │ The primary header for VSYS. (Virtual SYStem utilities library.)
│ │ │ │ -_V_s_h___p_s_h_e_l_l
│ │ │ │ -int Vsh_pshell(Vsh *thee, char *pPR, void *pthee, int(*builtin)(void *thee, int
│ │ │ │ -argc, char **argv))
│ │ │ │ -Drop-in replacement for Vsh_shell giving parallel extensions.
│ │ │ │ -_s_V_s_h
│ │ │ │ -Contains public data members for Vsh class.
│ │ │ │ -DDeeffiinniittiioonn vsh.h:56
│ │ │ │ +_V_m_p_i___i_n_i_t
│ │ │ │ +int Vmpi_init(int *argc, char ***argv)
│ │ │ │ +The Vmp initializer.
│ │ │ │ +_V_m_p_i___f_i_n_a_l_i_z_e
│ │ │ │ +int Vmpi_finalize(void)
│ │ │ │ +The Vmp finalizer.
│ │ │ │ +_V_m_p_i___s_i_z_e
│ │ │ │ +int Vmpi_size(Vmpi *thee)
│ │ │ │ +Return the number of processors involved.
│ │ │ │ +_V_m_p_i___r_e_d_u_c_e
│ │ │ │ +int Vmpi_reduce(Vmpi *thee, char *sbuf, char *rbuf, int bufsize)
│ │ │ │ +An MPI reduce.
│ │ │ │ +_V_m_p_i___r_e_c_v
│ │ │ │ +int Vmpi_recv(Vmpi *thee, int src, char *buf, int bufsize)
│ │ │ │ +An MPI blocking receive.
│ │ │ │ +_V_m_p_i___i_s_e_n_d
│ │ │ │ +int Vmpi_isend(Vmpi *thee, int des, char *buf, int bufsize)
│ │ │ │ +An MPI non-blocking send.
│ │ │ │ +_V_m_p_i___d_t_o_r
│ │ │ │ +void Vmpi_dtor(Vmpi **thee)
│ │ │ │ +The Vmpi destructor.
│ │ │ │ +_V_m_p_i___s_e_n_d
│ │ │ │ +int Vmpi_send(Vmpi *thee, int des, char *buf, int bufsize)
│ │ │ │ +An MPI blocking send.
│ │ │ │ +_V_m_p_i___c_t_o_r
│ │ │ │ +Vmpi * Vmpi_ctor(void)
│ │ │ │ +The Vmpi constructor.
│ │ │ │ +_V_m_p_i___b_a_r_r
│ │ │ │ +int Vmpi_barr(Vmpi *thee)
│ │ │ │ +An MPI barrier.
│ │ │ │ +_V_m_p_i___b_c_a_s_t
│ │ │ │ +int Vmpi_bcast(Vmpi *thee, char *buf, int bufsize)
│ │ │ │ +An MPI broadcast.
│ │ │ │ +_V_m_p_i___r_a_n_k
│ │ │ │ +int Vmpi_rank(Vmpi *thee)
│ │ │ │ +Return my processor ID.
│ │ │ │ +_s_V_m_p_i
│ │ │ │ +Class Vmpi: Definition.
│ │ │ │ +DDeeffiinniittiioonn vmpi.h:57
│ │ │ │ +_s_V_m_p_i_:_:_m_p_i___r_a_n_k
│ │ │ │ +int mpi_rank
│ │ │ │ +DDeeffiinniittiioonn vmpi.h:58
│ │ │ │ +_s_V_m_p_i_:_:_m_p_i___s_i_z_e
│ │ │ │ +int mpi_size
│ │ │ │ +DDeeffiinniittiioonn vmpi.h:59
│ │ │ │ ===============================================================================
│ │ │ │ Generated by _[_d_o_x_y_g_e_n_] 1.9.8
│ │ ├── ./usr/share/doc/libmaloc-dev/html/a00006.map
│ │ │ @@ -1,72 +1,56 @@
│ │ │ -