[petsc-dev] Fwd: [mumps-users] MUMPS MPI (5.2.1) does not compile

Pierre Jolivet pierre.jolivet at enseeiht.fr
Mon Jul 22 13:28:05 CDT 2019


We are having trouble compiling git.mumps with similar errors (using ifort 2017, yikes).
Could the forwarded patches be applied to petsc/pkg-mumps, please?

Thanks in advance (and sorry if this should be handled @petsc-maint),
Pierre

> Begin forwarded message:
> 
> From: "Antonio Trande" (anto.trande at gmail.com via mumps-users Mailing List) <mumps-users at listes.ens-lyon.fr>
> Subject: [mumps-users] MUMPS MPI (5.2.1) does not compile
> Date: 29 June 2019 at 5:56:28 PM CEST
> To: "mumps-users at listes.ens-lyon.fr" <mumps-users at listes.ens-lyon.fr>
> Reply-To: mumps-users at listes.ens-lyon.fr	
> 
> Hi all.
> 
> MUMPS-5.2.1 is not compiling on Fedora 30 because of this error:
> 
> /usr/lib64/openmpi/bin/mpif77 -O2 -g -pipe -Wall -Werror=format-security
> -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions
> -fstack-protector-strong -grecord-gcc-switches
> -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
> -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
> -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
> -Dscotch -Dmetis -Dptscotch -pthread -I/usr/lib64/gfortran/modules
> -Dintel_ -Wno-unused-dummy-argument -Wno-maybe-uninitialized
> -I/usr/include/openmpi-x86_64 -I/usr/include/openblas
> -I/usr/include/openmpi-x86_64 -Dpord -I. -I../include -fPIC -c
> cmumps_save_restore.F -o cmumps_save_restore.o
> cmumps_save_restore.F:8105:50:
> 
> 8105 |                IF(associated(id%MPITOOMP_PROCS_MAP)) THEN
>      |                                                  1
> Error: 'mpitoomp_procs_map' at (1) is not a member of the 'cmumps_struc'
> structure
> cmumps_save_restore.F:8108:49:
> 
> 8108 |      &                 size(id%MPITOOMP_PROCS_MAP,1)*SIZE_INT
>      |                                                 1
> Error: 'mpitoomp_procs_map' at (1) is not a member of the 'cmumps_struc'
> structure
> cmumps_save_restore.F:8113:72:
> 
> 8113 |             elseif(trim(mode).EQ."save") then
>      |
>       1
> Error: Unexpected ELSE IF statement at (1)
> cmumps_save_restore.F:8114:50:
> 
> 8114 |                IF(associated(id%MPITOOMP_PROCS_MAP)) THEN
>      |                                                  1
> Error: 'mpitoomp_procs_map' at (1) is not a member of the 'cmumps_struc'
> structure
> cmumps_save_restore.F:8115:67:
> 
> 8115 |                   write(unit,iostat=err)
> size(id%MPITOOMP_PROCS_MAP,1)
>      |                                                                   1
> Error: 'mpitoomp_procs_map' at (1) is not a member of the 'cmumps_struc'
> structure
> cmumps_save_restore.F:8124:62:
> 
> 8124 |                   write(unit,iostat=err) id%MPITOOMP_PROCS_MAP
>      |                                                              1
> Error: 'mpitoomp_procs_map' at (1) is not a member of the 'cmumps_struc'
> structure
> cmumps_save_restore.F:8125:72:
> 
> 8125 |                ELSE
>      |
>       1
> Error: Unexpected ELSE statement at (1)
> cmumps_save_restore.F:8136:18:
> 
> 8136 |                ENDIF
>      |                  1
> Error: Expecting END SELECT statement at (1)
> cmumps_save_restore.F:8145:72:
> 
> 8145 |             elseif(trim(mode).EQ."restore") then
>      |
>       1
> Error: Unexpected ELSE IF statement at (1)
> cmumps_save_restore.F:8146:44:
> 
> 8146 |                nullify(id%MPITOOMP_PROCS_MAP)
>      |                                            1
> Error: 'mpitoomp_procs_map' at (1) is not a member of the 'cmumps_struc'
> structure
> cmumps_save_restore.F:8163:48:
> 
> 8163 |                   allocate(id%MPITOOMP_PROCS_MAP(size_array1),
>      |                                                1
> Error: 'mpitoomp_procs_map' at (1) is not a member of the 'cmumps_struc'
> structure
> cmumps_save_restore.F:8171:61:
> 
> 8171 |                   read(unit,iostat=err) id%MPITOOMP_PROCS_MAP
>      |                                                             1
> Error: 'mpitoomp_procs_map' at (1) is not a member of the 'cmumps_struc'
> structure
> cmumps_save_restore.F:8184:15:
> 
> 8184 |             endif
>      |               1
> Error: Expecting END SELECT statement at (1)
> cmumps_save_restore.F:8188:64:
> 
> 8188 |                SIZE_VARIABLES(i1)=SIZE_INT*size(id%METIS_OPTIONS,1)
>      |                                                                1
> Error: 'metis_options' at (1) is not a member of the 'cmumps_struc'
> structure
> cmumps_save_restore.F:8190:54:
> 
> 8190 |                write(unit,iostat=err) id%METIS_OPTIONS
>      |                                                      1
> Error: 'metis_options' at (1) is not a member of the 'cmumps_struc'
> structure
> cmumps_save_restore.F:8200:64:
> 
> 8200 |                SIZE_VARIABLES(i1)=SIZE_INT*size(id%METIS_OPTIONS,1)
>      |                                                                1
> Error: 'metis_options' at (1) is not a member of the 'cmumps_struc'
> structure
> cmumps_save_restore.F:8201:53:
> 
> 8201 |                read(unit,iostat=err) id%METIS_OPTIONS
>      |                                                     1
> Error: 'metis_options' at (1) is not a member of the 'cmumps_struc'
> structure
> make[3]: *** [Makefile:396: cmumps_save_restore.o] Error 1
> 
> I'm patching MUMPS for compiling shared libraries for Fedora. I'm
> attaching the patch used.
> 
> -- 
> ---
> Antonio Trande
> Fedora Project
> mailto 'sagitter at fedoraproject dot org'
> GPG key: 0x6e0331dd1699e4d7
> GPG key server: https://keys.fedoraproject.org/
> Subscription/unsubscription: see https://listes.ens-lyon.fr/sympa/subscribe/mumps-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20190722/5f0813d2/attachment-0005.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MUMPS-examples-mpilibs.patch
Type: text/x-patch
Size: 1802 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20190722/5f0813d2/attachment-0003.bin>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20190722/5f0813d2/attachment-0006.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: MUMPS-Makefile.par.inc
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20190722/5f0813d2/attachment-0001.ksh>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20190722/5f0813d2/attachment-0007.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MUMPS-shared.patch
Type: text/x-patch
Size: 2722 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20190722/5f0813d2/attachment-0004.bin>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20190722/5f0813d2/attachment-0008.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MUMPS-shared-pord.patch
Type: text/x-patch
Size: 2378 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20190722/5f0813d2/attachment-0005.bin>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20190722/5f0813d2/attachment-0009.html>


More information about the petsc-dev mailing list