[mvapich-discuss] Configure bug in romio
Latham, Robert J.
robl at mcs.anl.gov
Thu Aug 24 10:33:53 EDT 2017
On Thu, 2017-08-24 at 13:59 +0000, Glaesemann, Kurt R wrote:
> This file:
> src/mpi/romio/confdb/aclocal_romio.m4
>
> Has the following code in it (which is then used to generate the
> configure script). The last line needs to add $FFLAGS so that
> compiler options the effect KIND will be in effect. This is useful
> for the nagfor -kind=byte option, which seems to work everywhere else
> in the MVAPICH2 configure process.
There were two places where ROMIO's configure invoked the fortran
comnpiler this way. Can you try out the attached patch and confirm it
works for you?
>
>
> AC_MSG_CHECKING([for Fortran 90 KIND parameter for 8-byte integers])
> cat <<EOF > conftest.$ac_f90ext
> program main
> integer i
> i = selected_int_kind(16)
> open(8, file="conftest.out", form="formatted")
> write (8,*) i
> close(8)
> stop
> end
> EOF
> if test -z "$FC" ; then
> FC=f90
> fi
> if $FC -o conftest$EXEEXT conftest.$ac_f90ext >/dev/null 2>&1 ; then
>
>
> Kurt
>
> ______________________
>
> Kurt R. Glaesemann, Ph.D.
>
> Senior IT Engineer and Physical Chemist
> High Performance Computing and Cloud Services
>
> _______________________________________________
> mvapich-discuss mailing list
> mvapich-discuss at cse.ohio-state.edu
> http://mailman.cse.ohio-state.edu/mailman/listinfo/mvapich-discuss
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-test-Fortran-KIND-with-requested-flags.patch
Type: text/x-patch
Size: 1230 bytes
Desc: 0001-test-Fortran-KIND-with-requested-flags.patch
URL: <http://mailman.cse.ohio-state.edu/pipermail/mvapich-discuss/attachments/20170824/87133cb0/attachment.bin>
More information about the mvapich-discuss
mailing list