Matt Thompson

Results 153 comments of Matt Thompson

The code I saw was [this in `mpp_util.inc`](https://github.com/NOAA-GFDL/FMS/blob/42f8506512e1b5b43982320f5b9d4ca1ca9cbebd/mpp/include/mpp_util.inc#L1202-L1229): ```fortran character(len=128) :: filename ... filename='input_'//trim(pelist_name)//'.nml' inquire(FILE=filename, EXIST=file_exist) if (.not. file_exist ) then if (present(alt_input_nml_path)) then filename = alt_input_nml_path else filename =...

I believe in MAPL we still have a few places using `ESMF_MAXPATHLEN` so 1024 might be good. More recent work in MAPL has moved us to use [allocatable strings](https://www.scivision.dev/fortran-character-allocatable/): ```fortran...

Oh, and I can say I've built Open MPI 5.0.2 with NAG 7.2 (and Apple Clang) on my macOS laptop, so I don't think is nagfor per se. Maybe something...

@bosilca Well, on my mac, I build Open MPI for NAG with clang as the C compiler, not GCC: ``` ❯ clang -dumpspecs | grep pthread clang: error: unsupported option...

@ggouaillardet Here is the [make output for Open MPI 4.1.6](https://github.com/open-mpi/ompi/files/14694261/make.416.txt): ``` Making all in profile make[1]: Entering directory '/ford1/share/gmao_SIteam/MPI/src/openmpi-4.1.6/build-nag-7.2.01/ompi/mpi/fortran/mpif-h/profile' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/ford1/share/gmao_SIteam/MPI/src/openmpi-4.1.6/build-nag-7.2.01/ompi/mpi/fortran/mpif-h/profile'...

@ggouaillardet Well, I'm not sure if it's a good thing or bad thing, but I tried your tarball and it built fine with NAG 7.2.01 on the same system.

This might be the first ever NAG bug I've had that doesn't require purchasing NAG! 😄 Thanks for working on this, @ggouaillardet

@ggouaillardet I grabbed the tarball but: ``` ... NAG Fortran Compiler Release 7.2(Shin-Urayasu) Build 7201 [NAG Fortran Compiler normal termination] FCLD libmpi_mpifh_sizeof.la CCLD libmpi_mpifh.la /usr/bin/ld: unrecognized option '-pthread' /usr/bin/ld: use...

Here is what I see: ``` make[3]: Leaving directory '/ford1/share/gmao_SIteam/MPI/src/FromGilles/openmpi-gitclone/build-nag-7.2.01/ompi/mpi/fortran/mpif-h/profile' make[3]: Entering directory '/ford1/share/gmao_SIteam/MPI/src/FromGilles/openmpi-gitclone/build-nag-7.2.01/ompi/mpi/fortran/mpif-h' /bin/sh ../../../../libtool --tag=CC --mode=link gcc -O3 -DNDEBUG -finline-functions -mcx16 -version-info 80:0:40 -o libmpi_mpifh.la -rpath /ford1/share/gmao_SIteam/MPI/openmpi/5.0.2-gilles/nag-7.2.01/lib ../../../../ompi/libmpi.la...

@ggouaillardet If I run those three steps, all is well. But if, from my build dir I do: ``` cd ompi/mpi/fortran/mpif-h rm *.la make V=1 ``` I get the fail:...