[mpich-discuss] Compile issue with QMPI

Amit Ruhela aruhela at tacc.utexas.edu
Sat Feb 5 15:28:00 CST 2022


Thanks Hui,

The patch worked very well. Thanks again for the prompt resolution.

Best Regards,
Amit Ruhela
________________________________
From: Zhou, Hui <zhouh at anl.gov>
Sent: Saturday, February 5, 2022 10:25 AM
To: discuss at mpich.org <discuss at mpich.org>
Cc: Amit Ruhela <aruhela at tacc.utexas.edu>
Subject: Re: Compile issue with QMPI

Hi Amit,

Could you try this pull request: https://github.com/pmodels/mpich/pull/5831/files?

You could apply the patch to release tarball, then run
```
    python3 maint/gen_binding_c.py
```
to fix all the generated code.

--
Hui Zhou
[https://avatars.githubusercontent.com/u/1496702?s=400&v=4]<https://github.com/pmodels/mpich/pull/5831/files>
qmpi: chop MPICH_API_PUBLIC from the definition by hzhou · Pull Request #5831 · pmodels/mpich<https://github.com/pmodels/mpich/pull/5831/files>
Pull Request Description MPICH_API_PUBLIC is accidentally leaked into definitions, which isn't allowed. Fixes #5829 [skip warnings] Author Checklist Provide Description Particularly focus on ...
github.com

________________________________
From: Amit Ruhela via discuss <discuss at mpich.org>
Sent: Friday, February 4, 2022 5:34 PM
To: discuss at mpich.org <discuss at mpich.org>
Cc: Amit Ruhela <aruhela at tacc.utexas.edu>
Subject: [mpich-discuss] Compile issue with QMPI

Hi Mpich team,

I see the following issue with the latest 4.0 release of MPICH while adding QMPI support at configure time?

make[2]: Entering directory `/scratch1/05231/aruhela/libs/mpich/tar-mpich-4.0'
  CC       src/binding/c/attr/lib_libmpi_la-attr_delete.lo
src/binding/c/attr/attr_delete.c(63): error: attributes are not permitted in a function definition
  int QMPI_Attr_delete(QMPI_Context context, int tool_id, MPI_Comm comm, int keyval) MPICH_API_PUBLIC
                                                                                                                                                                 ^

compilation aborted for src/binding/c/attr/attr_delete.c (code 2)
make[2]: *** [src/binding/c/attr/lib_libmpi_la-attr_delete.lo] Error 1

Any suggestions to resolve the build error?


Amit Ruhela, Ph.D.

HPC Software Tools Group

Texas Advanced Computing Center

The University of Texas at Austin

Email: aruhela at tacc.utexas.edu<mailto:aruhela at tacc.utexas.edu>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mpich.org/pipermail/discuss/attachments/20220205/25a3622b/attachment.html>


More information about the discuss mailing list