Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |  

This web mail archive is frozen.

This page is part of a frozen web archive of this mailing list.

You can still navigate around this archive, but know that no new mails have been added to it since July of 2016.

Click here to be taken to the new web archives of this list; it includes all the mails that are in this frozen archive plus all new mails that have been sent to the list since it was migrated to the new archives.

Subject: Re: [OMPI users] Help building/installing a working Open MPI 1.7.4 on OS X 10.9.2 with Free PGI Fortran
From: Jeff Squyres (jsquyres) (jsquyres_at_[hidden])
Date: 2014-03-20 08:37:42


Very odd. Your logfiles indicate that OMPI's configure found the right ignore TKR syntax and decided to build the ignore TKR mpi module.

-----
checking Fortran compiler ignore TKR syntax... not cached; checking variants
checking for Fortran compiler support of TYPE(*), DIMENSION(*)... no
checking for Fortran compiler support of !DEC$ ATTRIBUTES NO_ARG_CHECK... no
checking for Fortran compiler support of !$PRAGMA IGNORE_TKR... no
checking for Fortran compiler support of !DIR$ IGNORE_TKR... yes
checking Fortran compiler ignore TKR syntax... 1:real, dimension(*):!DIR$ IGNORE_TKR
checking if building Fortran 'use mpi' bindings... yes
-----

And then the make logs indicate that it did, indeed, build the ignore TKR mpi module.

-----
Making all in mpi/fortran/use-mpi-ignore-tkr
  PPFC mpi-ignore-tkr.lo
  FCLD libmpi_usempi_ignore_tkr.la
-----

And then make install fails:

-----
Making install in mpi/fortran/use-mpi-ignore-tkr
 ../../../../config/install-sh -c -d '/Users/fortran/MPI/openmpi_1.7.4-pgi_14.3-gcc/lib'
 /bin/sh ../../../../libtool --mode=install /usr/bin/install -c libmpi_usempi_ignore_tkr.la '/Users/fortran/MPI/openmpi_1.7.4-pgi_14.3-gcc/lib'
libtool: install: /usr/bin/install -c .libs/libmpi_usempi_ignore_tkr.0.dylib /Users/fortran/MPI/openmpi_1.7.4-pgi_14.3-gcc/lib/libmpi_usempi_ignore_tkr.0.dylib
install: .libs/libmpi_usempi_ignore_tkr.0.dylib: No such file or directory
-----

Can you do the following:

-----
cd ompi_build_dir/ompi/mpi/fortran/use-mpi-ignore-tkr
make clean
make V=1
find .
make install
-----

On Mar 20, 2014, at 7:44 AM, Matt Thompson <fortran_at_[hidden]> wrote:

> Jeff,
>
> It does not:
>
> Directory: /Users/fortran/MPI/src/openmpi-1.7.4/ompi/mpi/fortran/use-mpi-ignore-tkr/.libs
> (106) $ ls -ltr
> total 1560
> -rw-r--r-- 1 fortran staff 784824 Mar 18 20:47 mpi-ignore-tkr.o
> -rw-r--r-- 1 fortran staff 1021 Mar 18 20:47 libmpi_usempi_ignore_tkr.lai
> lrwxr-xr-x 1 fortran staff 30 Mar 18 20:47 libmpi_usempi_ignore_tkr.la@ -> ../libmpi_usempi_ignore_tkr.la
> lrwxr-xr-x 1 fortran staff 32 Mar 18 20:47 libmpi_usempi_ignore_tkr.dylib@ -> libmpi_usempi_ignore_tkr.0.dylib
>
> which I guess makes sense.
>
> I'm attaching the logfiles from my compile attempt. This is the "basic" attempt as can be seen from the config.log file.
>
> Thanks,
> Matt
>
>
>
> On Thu, Mar 20, 2014 at 6:45 AM, Jeff Squyres (jsquyres) <jsquyres_at_[hidden]> wrote:
> Sorry for the delay; we're working on releasing 1.7.5 and that's consuming all my time...
>
> That's a strange error. Can you confirm whether ompi_buil_dir/ompi/mpi/fortran/use-mpi-ignore-tkr/.libs/libmpi_usempi_ignore_tkr.0.dylib exists or not?
>
> Can you send all the info listed here:
>
> http://www.open-mpi.org/community/help/
>
>
> On Mar 18, 2014, at 8:59 PM, Matt Thompson <fortran_at_[hidden]> wrote:
>
> > All,
> >
> > I recently downloaded PGI's Free OS X Fortran compiler:
> >
> > http://www.pgroup.com/products/freepgi/
> >
> > in the hope of potentially using it to compile a weather model I work with GEOS-5. That model requires an MPI stack and I usually start (and end) with Open MPI on a desktop.
> >
> > So, I grabbed Open MPI 1.7.4 and tried compiling it in a few ways. In each case, my C and C++ compilers were the built-in clang-y gcc and g++ from Xcode, while pgfortran was the Fortran compiler. I tried a few different configures from the basic:
> >
> > $ ./configure CC=gcc CXX=g++ F77=pgfortran FC=pgfortran CFLAGS='-m64' CXXFLAGS='-m64' FCFLAGS='-m64' FFLAGS='-m64' --prefix=/Users/fortran/MPI/openmpi_1.7.4-pgi_14.3
> >
> > all the way to the "let's try every flag Google says I might use" version of:
> >
> > $ ./configure CC=gcc CXX=g++ F77=pgfortran FC=pgfortran CFLAGS='-m64 -Xclang -target-feature -Xclang -aes -mmacosx-version-min=10.8' CXXFLAGS='-m64 -Xclang -target-feature -Xclang -aes -mmacosx-version-min=10.8' LDFLAGS='-m64' FCFLAGS='-m64' FFLAGS='-m64' --prefix=/Users/fortran/MPI/openmpi_1.7.4-pgi_14.3-gcc-mmacosx
> >
> > In every case, the configure, make, and make check worked well without error, but running a 'make install' led to:
> >
> > Making install in mpi/fortran/use-mpi-ignore-tkr
> > ../../../../config/install-sh -c -d '/Users/fortran/MPI/openmpi_1.7.4-pgi_14.3-gcc-mmacosx/lib'
> > /bin/sh ../../../../libtool --mode=install /usr/bin/install -c libmpi_usempi_ignore_tkr.la '/Users/fortran/MPI/openmpi_1.7.4-pgi_14.3-gcc-mmacosx/lib'
> > libtool: install: /usr/bin/install -c .libs/libmpi_usempi_ignore_tkr.0.dylib /Users/fortran/MPI/openmpi_1.7.4-pgi_14.3-gcc-mmacosx/lib/libmpi_usempi_ignore_tkr.0.dylib
> > install: .libs/libmpi_usempi_ignore_tkr.0.dylib: No such file or directory
> > make[3]: *** [install-libLTLIBRARIES] Error 71
> > make[2]: *** [install-am] Error 2
> > make[1]: *** [install-recursive] Error 1
> > make: *** [install-recursive] Error 1
> >
> > Any ideas on how to overcome this?
> >
> > Thanks,
> > Matt Thompson
> > --
> > "And, isn't sanity really just a one-trick pony anyway? I mean all you
> > get is one trick: rational thinking. But when you're good and crazy,
> > oooh, oooh, oooh, the sky is the limit!" -- The Tick
> >
> > _______________________________________________
> > users mailing list
> > users_at_[hidden]
> > http://www.open-mpi.org/mailman/listinfo.cgi/users
>
>
> --
> Jeff Squyres
> jsquyres_at_[hidden]
> For corporate legal information go to: http://www.cisco.com/web/about/doing_business/legal/cri/
>
> _______________________________________________
> users mailing list
> users_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/users
>
>
>
> --
> "And, isn't sanity really just a one-trick pony anyway? I mean all you
> get is one trick: rational thinking. But when you're good and crazy,
> oooh, oooh, oooh, the sky is the limit!" -- The Tick
>
> <OMPI-1.7.4-Logfiles.tar.bz2>_______________________________________________
> users mailing list
> users_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/users

-- 
Jeff Squyres
jsquyres_at_[hidden]
For corporate legal information go to: http://www.cisco.com/web/about/doing_business/legal/cri/