home *** CD-ROM | disk | FTP | other *** search
/ ftp.parl.clemson.edu / 2015-02-07.ftp.parl.clemson.edu.tar / ftp.parl.clemson.edu / pub / pvfs2 / orangefs-2.8.3-20110323.tar.gz / orangefs-2.8.3-20110323.tar / orangefs / test / io / bmi / bench-initialize.h < prev    next >
C/C++ Source or Header  |  2009-08-14  |  1KB  |  68 lines

  1. /*
  2.  * (C) 2001 Clemson University and The University of Chicago
  3.  *
  4.  * See COPYING in top-level directory.
  5.  */
  6.  
  7. #include <stdio.h>
  8. #include <stdlib.h>
  9. #include <unistd.h>
  10. #include <errno.h>
  11. #include <math.h>
  12. #include <mpi.h>
  13. #include "bench-args.h"
  14. #include "pvfs2.h"
  15.  
  16. #ifndef __BENCH_INITIALIZE_H
  17. #define __BENCH_INITIALIZE_H
  18.  
  19. #define BMI_TCP_PORT 3334
  20. #define BMI_GM_PORT 5
  21. #define BMI_MX_ENDPOINT 3
  22. #define BMI_IB_PORT 3335
  23.  
  24. int bench_initialize_bmi_interface(
  25.     char *method,
  26.     int flags,
  27.     bmi_context_id * context);
  28. int bench_initialize_mpi_params(
  29.     int argc,
  30.     char **argv,
  31.     int num_servers,
  32.     int *num_clients,
  33.     int *world_rank,
  34.     MPI_Comm * comm,
  35.     char *local_proc_name);
  36. int bench_initialize_bmi_addresses_server(
  37.     int num_servers,
  38.     int num_clients,
  39.     PVFS_BMI_addr_t * client_array,
  40.     char *local_proc_name);
  41. int bench_initialize_bmi_addresses_client(
  42.     int num_servers,
  43.     int num_clients,
  44.     PVFS_BMI_addr_t * client_array,
  45.     char *method_name,
  46.     bmi_context_id context);
  47. int bench_init(
  48.     struct bench_options *opts,
  49.     int argc,
  50.     char *argv[],
  51.     int *num_clients,
  52.     int *world_rank,
  53.     MPI_Comm * comm,
  54.     PVFS_BMI_addr_t ** bmi_peer_array,
  55.     int **mpi_peer_array,
  56.     bmi_context_id * context);
  57.  
  58. #endif /* __BENCH_INITIALIZE_H */
  59.  
  60. /*
  61.  * Local variables:
  62.  *  c-indent-level: 4
  63.  *  c-basic-offset: 4
  64.  * End:
  65.  *
  66.  * vim: ts=8 sts=4 sw=4 expandtab
  67.  */
  68.