1. 13 Nov, 2014 3 commits
  2. 01 Oct, 2014 1 commit
  3. 07 Jul, 2014 1 commit
  4. 19 Jun, 2014 1 commit
    • Junchao Zhang's avatar
      Fix bugs in comm_spawn & comm_spawn_multiple · d34a1648
      Junchao Zhang authored
      One bug is related to converting the array_of_argv argument in MPI_Comm_spawn_multiple
      from a Fortran style, i.e. type CHARACTER(LEN=*), INTENT(IN) :: array_of_argv(count, *),
      to a C style, i.e., char** array_of_argv[count]
      
      No review since F08 binding is experimental now.
      d34a1648
  5. 26 May, 2014 1 commit
    • Junchao Zhang's avatar
      Fix a perl script problem met with perl-5.8.8 · 3d3a4b3a
      Junchao Zhang authored
      To print out something like "$vec[$i]->base_addr", where @vec is an integer array,
      the old perl is confused by "->" and thinks it is an operator. In fact, we just want
      to print out "->base_addr" literally. Newer perl (e.g., 5.16.2) is fine with this syntax.
      
      Change to "$vec[$i]"."->base_addr" to avoid this problem.
      
      No review since F08 binding is experimental now.
      3d3a4b3a
  6. 22 May, 2014 2 commits
    • Junchao Zhang's avatar
      Add basic (non)contiguous subarray support · 60059770
      Junchao Zhang authored
      The compile time constant MPI_SUBARRAYS_SUPPORTED is changed to true now.
      
      To test if a subarray is contiguous, one may use CFI_is_contiguous(cdesc). But note that
      CFI_is_contiguous(cdesc) is only applicable to arrays. When cdesc is a descripitor for a scalar,
      CFI_is_contiguous(cdesc) returns false. But apparently, scalars are contiguous in MPI's viewpoint.
      So we add a check against scalars.
      
      No review since F08 binding is experimental now.
      60059770
    • Junchao Zhang's avatar
      Revise impl of MPI_IN_PLACE and MPI_BOTTOM · 9008c2f7
      Junchao Zhang authored
      Since Fortran forbids passing a disassociated (e.g., NULL) pointer to a non-pointer dummy argument
      (e.g., an assumed-type, assumed-rank argument), we can not use the same MPI_BOTTOM value in C from Fortran.
      So we use another approach.
      
      See implementation details at the EuroMPI-2014 paper "Implementing the MPI-3.0 Fortran 2008 Binding"
      
      No review since F08 binding is experimental now.
      9008c2f7
  7. 30 Apr, 2014 4 commits
    • Pavan Balaji's avatar
      build system fixes for f08 · 1aa13314
      Pavan Balaji authored
      No review since F08 binding is experimental now.
      1aa13314
    • Junchao Zhang's avatar
      Update the build system to include F08 binding · b7cd3b72
      Junchao Zhang authored
      This includes a configure test to check if the compiler supports F08.
      
      No review since F08 binding is experimental now.
      b7cd3b72
    • Junchao Zhang's avatar
      Add a script use_mpi_f08/wrappers_c/buildiface · 5633c4a2
      Junchao Zhang authored
      This script is used to generate C wrapper files
      
      No review since F08 binding is experimental now.
      5633c4a2
    • Junchao Zhang's avatar
      Add an almost complete F08 binding with dir re-arranged · 4b0e4744
      Junchao Zhang authored
      Redesigned the binding infrastructer and gave an almost complete F08 binding.
      Remaining tasks include :
      
      1) supporting non-contiguous subarray on the C wrapper side.
      2) Use a script to autoset the now hard-coded compile time constants.
      
      The directory structure is as following:
      
      use_mpi_f08/                      --- To put F08 binding header files
      use_mpi_f08/wrappers_f/           --- To put Fortran wrapper files
      use_mpi_f08/wrappers_f/profiling/ --- To put PMPI Fortran wrapper files
      use_mpi_f08/wrappers_c/           --- To put C wrapper files (auto-gen'ed or not)
      
      Note we use *.F90 suffix instead of *.f90, since .F90 supports macro preprocess.
      This leaves room for future revision. Additionally, the tests directory is removed
      since it should not be there.
      
      No review since F08 binding is experimental now.
      4b0e4744