- 
                Notifications
    You must be signed in to change notification settings 
- Fork 929
datatype: Add support for MPI_LOGICAL16 #12424
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
| Hello! The Git Commit Checker CI bot found a few problems with this PR: 7b93c9d: datatype: Add support for MPI_TYPECLASS_LOGICAL 
 64e5f5f: datatype: Add preliminary support for MPI_LOGICAL1... 
 Please fix these problems and, if necessary, force-push new commits back up to the PR branch. Thanks! | 
eff0122    to
    23d83fb      
    Compare
  
    | I believe I forgot to bump  | 
051e094    to
    4443361      
    Compare
  
    | @hppritcha You may want review and eventually merge this little one. | 
| thanks I was just working on this one but this saves me some time. | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think a new MOOG needs to be added in ompi_datatype_module.c for logical16 set to 77. and in mpif-values.py set to 77,
4443361    to
    6b932a5      
    Compare
  
    | 
 You are definitely right. PR updated accordingly. | 
| 'MPI_C_LONG_DOUBLE_COMPLEX': 71, | ||
| 'MPI_COUNT': 72, | ||
| 'MPI_COMPLEX4': 73, | ||
| 'MPI_LOGICAL16': 77, | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add a comment to justify the gap. leave room for C/CXX specific datatypes should be enough.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Comment added. However, this makes me thing that maybe this script is missing the 16bit floating types in the MPIX_ namespace?
From ompi/datatype/ompi_datatype_module.c
    /* Datatypes proposed to the MPI Forum in June 2017 for proposal in
     * the MPI 4.0 standard. As of February 2019, it is not accepted yet.
     * See https://github.com/mpi-forum/mpi-issues/issues/65 */
    MOOG(short_float, 74);
    MOOG(c_short_float_complex, 75);
    MOOG(cxx_sfltcplex, 76);There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not even sure they are equivalent to Fortran's REAL*2. If you want to add support for MPIX you can do it in another PR, this one looks ready.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree. that's for another day.
Signed-off-by: Lisandro Dalcin <dalcinl@gmail.com>
6b932a5    to
    a193190      
    Compare
  
    
Support for
MPI_LOGICAL16.TODO: Support for 128bit integral C types via GCC/LLVM
__int128extension.