[OMPI devel] trunk and fortran errors
Hi, The latest svn/trunks fails to install on centos 5.7,5.8,5.9 but works fine on others. after: ./configure --with-platform=contrib/platform/mellanox/optimized --with-knem=/opt/knem-0.9.7mlnx1 --with-fca=/opt/mellanox/fca --with-ompi-param-check --enable-picky --prefix=/scrap/jenkins/workspace/hpc-ompi-shmem-2/label/r-vmb-centos5-u7-x86-64/ompi_install1 && make clean && make install errors during "make install": *10:58:23* /bin/mkdir -p '/scrap/jenkins/workspace/hpc-ompi-shmem-2/label/r-vmb-centos5-u7-x86-64/ompi_install1/include/openmpi/ompi/mpi/fortran/mpif-h'*10:58:23* /usr/bin/install -c -m 644 bindings.h prototypes_mpi.h status-conversion.h '/scrap/jenkins/workspace/hpc-ompi-shmem-2/label/r-vmb-centos5-u7-x86-64/ompi_install1/include/openmpi/ompi/mpi/fortran/mpif-h'*10:58:23* make[4]: Leaving directory `/scrap/jenkins/workspace/hpc-ompi-shmem-2/label/r-vmb-centos5-u7-x86-64/ompi/mpi/fortran/mpif-h'*10:58:23* make[3]: Leaving directory `/scrap/jenkins/workspace/hpc-ompi-shmem-2/label/r-vmb-centos5-u7-x86-64/ompi/mpi/fortran/mpif-h'*10:58:23* make[2]: Leaving directory `/scrap/jenkins/workspace/hpc-ompi-shmem-2/label/r-vmb-centos5-u7-x86-64/ompi/mpi/fortran/mpif-h'*10:58:23* Making install in mpi/fortran/use-mpi-tkr*10:58:23* make[2]: Entering directory `/scrap/jenkins/workspace/hpc-ompi-shmem-2/label/r-vmb-centos5-u7-x86-64/ompi/mpi/fortran/use-mpi-tkr'*10:58:23* PPFC mpi.lo*10:58:25* In file mpi-f90-interfaces.h:2900*10:58:25* *10:58:25* Included at mpi.F90:45*10:58:25* *10:58:25* use, intrinsic :: iso_c_binding, only : c_ptr*10:58:25* 1*10:58:25* Error: Unclassifiable statement at (1)*10:58:25* In file mpi-f90-interfaces.h:2904*10:58:25* *10:58:25* Included at mpi.F90:45*10:58:25* *10:58:25* type(C_PTR) :: baseptr*10:58:25* 1*10:58:25* Error: Derived type 'c_ptr' at (1) is being used before it is defined*10:58:25* In file mpi-f90-interfaces.h:3121*10:58:25* *10:58:25* Included at mpi.F90:45*10:58:25* *10:58:25* use, intrinsic :: iso_c_binding, only : c_ptr*10:58:25* 1*10:58:25* Error: Unclassifiable statement at (1)*10:58:25* In file mpi-f90-interfaces.h:3127*10:58:25* *10:58:25* Included at mpi.F90:45*10:58:25* *10:58:25* type(C_PTR), intent(out) :: baseptr*10:58:25* 1*10:58:25* Error: Derived type 'c_ptr' at (1) is being used before it is defined*10:58:25* make[2]: *** [mpi.lo] Error 1*10:58:25* make[2]: Leaving directory `/scrap/jenkins/workspace/hpc-ompi-shmem-2/label/r-vmb-centos5-u7-x86-64/ompi/mpi/fortran/use-mpi-tkr'*10:58:25* make[1]: *** [install-recursive] Error 1
Re: [OMPI devel] trunk and fortran errors
@#%$#@!$% This is almost certainly due to r32162 (Fortran commit from last night). I'm offline most of today; I won't be able to look at this until tonight at the earliest, sorry. :-( For the moment/as a workaround, use --disable-mpi-fortran in your builds if you are building with an older gfortran. On Jul 9, 2014, at 6:33 AM, Mike Dubman wrote: > > Hi, > The latest svn/trunks fails to install on centos 5.7,5.8,5.9 but works fine > on others. > > after: > > ./configure --with-platform=contrib/platform/mellanox/optimized > --with-knem=/opt/knem-0.9.7mlnx1 --with-fca=/opt/mellanox/fca > --with-ompi-param-check --enable-picky > --prefix=/scrap/jenkins/workspace/hpc-ompi-shmem-2/label/r-vmb-centos5-u7-x86-64/ompi_install1 > && make clean && make install > > errors during "make install": > > 10:58:23 > /bin/mkdir -p > '/scrap/jenkins/workspace/hpc-ompi-shmem-2/label/r-vmb-centos5-u7-x86-64/ompi_install1/include/openmpi/ompi/mpi/fortran/mpif-h' > > 10:58:23 > /usr/bin/install -c -m 644 bindings.h prototypes_mpi.h status-conversion.h > '/scrap/jenkins/workspace/hpc-ompi-shmem-2/label/r-vmb-centos5-u7-x86-64/ompi_install1/include/openmpi/ompi/mpi/fortran/mpif-h' > > 10:58:23 > make[4]: Leaving directory > `/scrap/jenkins/workspace/hpc-ompi-shmem-2/label/r-vmb-centos5-u7-x86-64/ompi/mpi/fortran/mpif-h' > > 10:58:23 > make[3]: Leaving directory > `/scrap/jenkins/workspace/hpc-ompi-shmem-2/label/r-vmb-centos5-u7-x86-64/ompi/mpi/fortran/mpif-h' > > 10:58:23 > make[2]: Leaving directory > `/scrap/jenkins/workspace/hpc-ompi-shmem-2/label/r-vmb-centos5-u7-x86-64/ompi/mpi/fortran/mpif-h' > > 10:58:23 > Making install in mpi/fortran/use-mpi-tkr > > 10:58:23 > make[2]: Entering directory > `/scrap/jenkins/workspace/hpc-ompi-shmem-2/label/r-vmb-centos5-u7-x86-64/ompi/mpi/fortran/use-mpi-tkr' > > 10:58:23 > PPFC mpi.lo > > 10:58:25 > In file mpi-f90-interfaces.h:2900 > > 10:58:25 > 10:58:25 > Included at mpi.F90:45 > > 10:58:25 > 10:58:25 > use, intrinsic :: iso_c_binding, only : c_ptr > > 10:58:25 > 1 > > 10:58:25 > Error: Unclassifiable statement at (1) > > 10:58:25 > In file mpi-f90-interfaces.h:2904 > > 10:58:25 > 10:58:25 > Included at mpi.F90:45 > > 10:58:25 > 10:58:25 > type(C_PTR) :: baseptr > > 10:58:25 > 1 > > 10:58:25 > Error: Derived type 'c_ptr' at (1) is being used before it is defined > > 10:58:25 > In file mpi-f90-interfaces.h:3121 > > 10:58:25 > 10:58:25 > Included at mpi.F90:45 > > 10:58:25 > 10:58:25 > use, intrinsic :: iso_c_binding, only : c_ptr > > 10:58:25 > 1 > > 10:58:25 > Error: Unclassifiable statement at (1) > > 10:58:25 > In file mpi-f90-interfaces.h:3127 > > 10:58:25 > 10:58:25 > Included at mpi.F90:45 > > 10:58:25 > 10:58:25 > type(C_PTR), intent(out) :: baseptr > > 10:58:25 > 1 > > 10:58:25 > Error: Derived type 'c_ptr' at (1) is being used before it is defined > > 10:58:25 > make[2]: *** [mpi.lo] Error 1 > > 10:58:25 > make[2]: Leaving directory > `/scrap/jenkins/workspace/hpc-ompi-shmem-2/label/r-vmb-centos5-u7-x86-64/ompi/mpi/fortran/use-mpi-tkr' > > 10:58:25 make[1]: *** [install-recursive] Error 1 > ___ > devel mailing list > de...@open-mpi.org > Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/devel > Link to this post: > http://www.open-mpi.org/community/lists/devel/2014/07/15079.php -- Jeff Squyres jsquy...@cisco.com For corporate legal information go to: http://www.cisco.com/web/about/doing_business/legal/cri/
Re: [OMPI devel] trunk and fortran errors
On CentOS 5.x, gfortran is unable to compile this simple program : subroutine foo () use, intrinsic :: iso_c_binding, only : c_ptr end subroutine foo an other workaround is to install gfortran 4.4 (yum install gcc44-gfortran) and configure with FC=gfortran44 On 2014/07/09 19:46, Jeff Squyres (jsquyres) wrote: > This is almost certainly due to r32162 (Fortran commit from last night). > [...] > For the moment/as a workaround, use --disable-mpi-fortran in your builds if > you are building with an older gfortran.
Re: [OMPI devel] trunk and fortran errors
I'm back in the office today and will be checking into this. Sent from my phone. No type good. > On Jul 10, 2014, at 5:41 AM, "Gilles Gouaillardet" > wrote: > > On CentOS 5.x, gfortran is unable to compile this simple program : > > subroutine foo () > use, intrinsic :: iso_c_binding, only : c_ptr > end subroutine foo > > an other workaround is to install gfortran 4.4 > (yum install gcc44-gfortran) > and configure with > FC=gfortran44 > > >> On 2014/07/09 19:46, Jeff Squyres (jsquyres) wrote: >> This is almost certainly due to r32162 (Fortran commit from last night). >> [...] >> For the moment/as a workaround, use --disable-mpi-fortran in your builds if >> you are building with an older gfortran. > > ___ > devel mailing list > de...@open-mpi.org > Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/devel > Link to this post: > http://www.open-mpi.org/community/lists/devel/2014/07/15089.php
Re: [OMPI devel] trunk and fortran errors
Mike / Gilles -- As of r32204, this should be fixed. Please let me know if it now works for you. Thanks. On Jul 10, 2014, at 8:27 AM, Jeff Squyres (jsquyres) wrote: > I'm back in the office today and will be checking into this. > > Sent from my phone. No type good. > >> On Jul 10, 2014, at 5:41 AM, "Gilles Gouaillardet" >> wrote: >> >> On CentOS 5.x, gfortran is unable to compile this simple program : >> >> subroutine foo () >> use, intrinsic :: iso_c_binding, only : c_ptr >> end subroutine foo >> >> an other workaround is to install gfortran 4.4 >> (yum install gcc44-gfortran) >> and configure with >> FC=gfortran44 >> >> >>> On 2014/07/09 19:46, Jeff Squyres (jsquyres) wrote: >>> This is almost certainly due to r32162 (Fortran commit from last night). >>> [...] >>> For the moment/as a workaround, use --disable-mpi-fortran in your builds if >>> you are building with an older gfortran. >> >> ___ >> devel mailing list >> de...@open-mpi.org >> Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/devel >> Link to this post: >> http://www.open-mpi.org/community/lists/devel/2014/07/15089.php > ___ > devel mailing list > de...@open-mpi.org > Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/devel > Link to this post: > http://www.open-mpi.org/community/lists/devel/2014/07/15092.php -- Jeff Squyres jsquy...@cisco.com For corporate legal information go to: http://www.cisco.com/web/about/doing_business/legal/cri/
Re: [OMPI devel] trunk and fortran errors
Thanks Jeff, i confirm the problem is fixed on CentOS 5 i commited r32215 because some files were missing from the tarball/nightly snapshot/make dist. Cheers, Gilles On 2014/07/11 4:21, Jeff Squyres (jsquyres) wrote: > As of r32204, this should be fixed. Please let me know if it now works for > you.
Re: [OMPI devel] trunk and fortran errors
Thanks! Sent from my phone. No type good. > On Jul 11, 2014, at 1:16 AM, "Gilles Gouaillardet" > wrote: > > Thanks Jeff, > > i confirm the problem is fixed on CentOS 5 > > i commited r32215 because some files were missing from the > tarball/nightly snapshot/make dist. > > Cheers, > > Gilles > >> On 2014/07/11 4:21, Jeff Squyres (jsquyres) wrote: >> As of r32204, this should be fixed. Please let me know if it now works for >> you. > > ___ > devel mailing list > de...@open-mpi.org > Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/devel > Link to this post: > http://www.open-mpi.org/community/lists/devel/2014/07/15105.php
Re: [OMPI devel] trunk and fortran errors
I confirm it also works on CentOS 6 under the Intel 14.0.3 and gcc 4.4.7 compilers, and on Mac under the gcc 4.7.3 compilers. On Jul 11, 2014, at 10:25 AM, Jeff Squyres (jsquyres) wrote: > Thanks! > > Sent from my phone. No type good. > >> On Jul 11, 2014, at 1:16 AM, "Gilles Gouaillardet" >> wrote: >> >> Thanks Jeff, >> >> i confirm the problem is fixed on CentOS 5 >> >> i commited r32215 because some files were missing from the >> tarball/nightly snapshot/make dist. >> >> Cheers, >> >> Gilles >> >>> On 2014/07/11 4:21, Jeff Squyres (jsquyres) wrote: >>> As of r32204, this should be fixed. Please let me know if it now works for >>> you. >> >> ___ >> devel mailing list >> de...@open-mpi.org >> Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/devel >> Link to this post: >> http://www.open-mpi.org/community/lists/devel/2014/07/15105.php > ___ > devel mailing list > de...@open-mpi.org > Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/devel > Link to this post: > http://www.open-mpi.org/community/lists/devel/2014/07/15107.php