[mvapich-discuss] Fwd: Fortran error building MVAPICH2
Bennet Fauber
bennet at umich.edu
Sat Nov 2 09:34:28 EDT 2019
Sorry to bother folks again, but was this too basic a question for this
mailing list? Is there somewhere else I should ask for assistance?
---------- Forwarded message ---------
From: Bennet Fauber <bennet at umich.edu>
Date: Sat, Oct 19, 2019 at 11:11 AM
Subject: Fortran error building MVAPICH2
To: <mvapich-discuss at cse.ohio-state.edu>
I am getting an error when building MVAPICH2 2.3.2.
This is the system configuration
[bennet at gl-build mvapich2-2.3.2]$ gfortran --version
GNU Fortran (GCC) 4.8.5 20150623 (Red Hat 4.8.5-36)
[bennet at gl-build mvapich2-2.3.2]$ gcc --version
gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-36)
[bennet at gl-build mvapich2-2.3.2]$ uname -r
3.10.0-957.10.1.el7.x86_64
[bennet at gl-build mvapich2-2.3.2]$ /usr/lib64/libc.so.6
GNU C Library (GNU libc) stable release version 2.17, by Roland McGrath et
al.
This is the configure I used. Note that Slurm was built with support
for three levels of PMIx support, and as a consequence, all the pmi2
libraries are installed into the PMIx 1.2.5 library, so I set
[bennet at gl-build mvapich2-2.3.2]$ echo $CFLAGS
-L/opt/pmix/1.2.5/lib
[bennet at gl-build mvapich2-2.3.2]$ echo $FFLAGS
-L/opt/pmix/1.2.5/lib
so that libpmi2.so could be found.
[bennet at gl-build mvapich2-2.3.2]$ ./configure --with-pmi=pmi2 \
--with-pm=slurm --with-slurm=/opt/slurm \
--enable-slurm=yes \
--prefix=/sw/arcts/centos7/mvapich2/2.3.2
[bennet at gl-build mvapich2-2.3.2]$ make -j 4
. . . .
make[2]: Entering directory `/tmp/bennet/build/mvapich2-2.3.2'
CC src/binding/fortran/use_mpi/lib_libmpi_la-create_f90_real.lo
CC src/binding/fortran/use_mpi/lib_libmpi_la-create_f90_complex.lo
CC src/glue/romio/lib_libmpi_la-all_romio_symbols.lo
CC src/mutex/lib_libmpi_la-mutex_create.lo
CC src/mutex/lib_libmpi_la-mutex_free.lo
src/binding/fortran/use_mpi/create_f90_complex.c: In function
‘PMPI_Type_create_f90_complex’:
src/binding/fortran/use_mpi/create_f90_real.c: In function
‘PMPI_Type_create_f90_real’:
src/binding/fortran/use_mpi/create_f90_real.c:75:23: error: expected
expression before ‘,’ token
{ MPIR_F90_REAL_MODEL, MPI_REAL},
^
src/binding/fortran/use_mpi/create_f90_complex.c:76:23: error:
expected expression before ‘,’ token
{ MPIR_F90_REAL_MODEL, MPI_COMPLEX},
^
src/binding/fortran/use_mpi/create_f90_real.c:76:25: error: expected
expression before ‘,’ token
{ MPIR_F90_DOUBLE_MODEL, MPI_DOUBLE_PRECISION } };
^
src/binding/fortran/use_mpi/create_f90_complex.c:77:25: error:
expected expression before ‘,’ token
{ MPIR_F90_DOUBLE_MODEL, MPI_DOUBLE_COMPLEX } };
^
make[2]: *** [src/binding/fortran/use_mpi/lib_libmpi_la-create_f90_real.lo]
Error 1
Any insight, hints, or solutions would be appreciated.
-- bennet
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.cse.ohio-state.edu/pipermail/mvapich-discuss/attachments/20191102/1ddd70fc/attachment.html>
More information about the mvapich-discuss
mailing list