[mvapich-discuss] Building mvapich2-2.3b with nag-fortran/6.1.6116

Glaesemann, Kurt R Kurt.Glaesemann at pnnl.gov
Fri Sep 1 16:35:15 EDT 2017


Because the NAG fotran compiler does not support the rpath options, the configure script fails to make a valid  /src/binding/fortran/use_mpi/mpif90model.h file.

You want that file to contain:
#define MPIR_F90_REAL_MODEL           6 , 37
#define MPIR_F90_DOUBLE_MODEL         15 , 307
#define MPIR_F90_INTEGER_MODEL        9
#define MPIR_F90_ALL_INTEGER_MODELS    2 , 1 , 4 ,  2 , 9 , 3,  18 , 4
#define MPIR_F90_INTEGER_MODEL_MAP    {2,1,1},{4,2,2},{9,3,4},{18,4,8},

If you are using the kind=byte option, then you want this in that file:
#define MPIR_F90_REAL_MODEL           6 , 37
#define MPIR_F90_DOUBLE_MODEL         15 , 307
#define MPIR_F90_INTEGER_MODEL        9
#define MPIR_F90_ALL_INTEGER_MODELS    2 , 1 , 4 ,  2 , 9 , 4,  18 , 8
#define MPIR_F90_INTEGER_MODEL_MAP    {2,1,1},{4,2,2},{9,4,4},{18,8,8},

More specifically, the binaries that are supposed to run and tell configure what it wants to know fail to link because configure tries to set rpath.

Kurt



From: mvapich-discuss [mailto:mvapich-discuss-bounces at cse.ohio-state.edu] On Behalf Of mike at mikepage.us
Sent: Friday, September 01, 2017 12:03 PM
To: mvapich-discuss at cse.ohio-state.edu
Subject: [mvapich-discuss] Building mvapich2-2.3b with nag-fortran/6.1.6116

I am encountering an error during make:


  CC       src/binding/fortran/use_mpi/lib_libmpi_la-create_f90_real.lo
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_real.c:76:25: error: expected expression before ‘,’ token
  { MPIR_F90_DOUBLE_MODEL, MPI_DOUBLE_PRECISION } };
                         ^
make[2]: *** [src/binding/fortran/use_mpi/lib_libmpi_la-create_f90_real.lo] Error 1
make[2]: Leaving directory `/home/admin/theia_software/mvapich2/2.3b/mvapich2-2.3b-nag'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/admin/theia_software/mvapich2/2.3b/mvapich2-2.3b-nag'
make: *** [all] Error 2


./configure \
--with-rdma=gen2 \
--with-ib-libpath=/usr/lib64 \
--enable-romio=yes \
--with-file-system=panfs \
--enable-shared \
--enable-fortran=yes \
--prefix=/apps/mvapich2/2.3b-nag


config.log attached






Mike Page
Theory and Practice, LLC
www.linkedin.com/in/MikePageHPC<http://www.linkedin.com/in/MikePageHPC>
mike at mikepage.us<mailto:mike at mikepage.us>
303-944-8291


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.cse.ohio-state.edu/pipermail/mvapich-discuss/attachments/20170901/7bc466b3/attachment-0001.html>


More information about the mvapich-discuss mailing list