The issue is - petsc configure is now generating mpich configure
command with options "--enable-shared --disable-shared" - this
appears to have indeterminate state.

I pushed my changes (and merged to next)
https://bitbucket.org/petsc/petsc/commits/607f0d5c7ef848709a3b95a6699cbf56df034b7c

Satish

On Wed, 8 Oct 2014, Barry Smith wrote:

> 
>   Report to the mpich mailing list which I joined but then immediately added 
> to my email kill list
> 
> 
> On Oct 8, 2014, at 5:10 PM, Satish Balay <[email protected]> wrote:
> 
> > I'm seeing some commonblock warnings. I see similar stuff in some
> > nightlybuilds [in the past few days].
> > 
> > http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2014/10/06/filtered-make_master_arch-linux-pkgs-gcov_steamroller.log
> > 
> > 
> >>>>> .
> > balay@asterix /home/balay/petsc/src/ksp/ksp/examples/tutorials (master *=)
> > $ make ex2f PETSC_ARCH=arch-test 
> > /home/balay/petsc/arch-test/bin/mpif90 -c  -fPIC  -Wall 
> > -Wno-unused-variable -ffree-line-length-0 -Wno-unused-dummy-argument -g -O0 
> >  -I/home/balay/petsc/include -I/home/balay/petsc/arch-test/include    -o 
> > ex2f.o ex2f.F
> > /home/balay/petsc/arch-test/bin/mpif90 -fPIC  -Wall -Wno-unused-variable 
> > -ffree-line-length-0 -Wno-unused-dummy-argument -g -O0  -o ex2f ex2f.o  
> > -Wl,-rpath,/home/balay/petsc/arch-test/lib 
> > -L/home/balay/petsc/arch-test/lib  -lpetsc -llapack -lblas -lX11 -lpthread 
> > -Wl,-rpath,/home/balay/petsc/arch-test/lib -lhwloc -lm 
> > -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.9.1 
> > -L/usr/lib/gcc/x86_64-redhat-linux/4.9.1 -lmpifort -lgfortran -lm 
> > -lgfortran -lm -lquadmath -lm -lmpicxx -lstdc++ 
> > -Wl,-rpath,/home/balay/petsc/arch-test/lib 
> > -L/home/balay/petsc/arch-test/lib 
> > -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.9.1 
> > -L/usr/lib/gcc/x86_64-redhat-linux/4.9.1 -ldl -lmpi -lpthread -lrt -lgcc_s 
> > -ldl  
> > /usr/bin/ld: Warning: alignment 32 of symbol `mpifcmb9_' in 
> > /home/balay/petsc/arch-test/lib/libmpi.a(lib_libmpi_la-setbot.o) is smaller 
> > than 64 in ex2f.o
> > /usr/bin/ld: Warning: alignment 32 of symbol `mpifcmb5_' in 
> > /home/balay/petsc/arch-test/lib/libmpi.a(lib_libmpi_la-setbot.o) is smaller 
> > than 64 in ex2f.o
> > /usr/bin/rm -f ex2f.o
> > <<<<<<
> > 
> > 
> > Looking at the build - I see some funny stuff "--enable-shared 
> > --disable-shared"
> > 
> >>>>>>>>>>>> 
> > balay@asterix /home/balay/petsc/src/ksp/ksp/examples/tutorials (master *=)
> > $ /home/balay/petsc/arch-test/bin/mpichversion 
> > MPICH Version:                                 3.1.3
> > MPICH Release date:                            Wed Oct  8 09:37:19 CDT 2014
> > MPICH Device:                                  ch3:sock
> > MPICH configure:                               
> > --prefix=/home/balay/petsc/arch-test MAKE=/usr/bin/gmake 
> > --libdir=/home/balay/petsc/arch-test/lib CC=gcc CFLAGS= -fPIC -Wall 
> > -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 
> > AR=/usr/bin/ar ARFLAGS=cr CXX=g++ CXXFLAGS= -Wall -Wwrite-strings 
> > -Wno-strict-aliasing -Wno-unknown-pragmas -g -O0 -fPIC F77=gfortran FFLAGS= 
> > -fPIC -Wall -Wno-unused-variable -ffree-line-length-0 
> > -Wno-unused-dummy-argument -g -O0 FC=gfortran FCFLAGS= -fPIC -Wall 
> > -Wno-unused-variable -ffree-line-length-0 -Wno-unused-dummy-argument -g -O0 
> > --enable-shared --disable-shared --with-device=ch3:sock --without-mpe 
> > --with-pm=hydra --enable-g=meminit --enable-fast
> > MPICH CC:                                      gcc  -fPIC -Wall 
> > -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0    
> > -DNDEBUG -DNVALGRIND -O2
> > MPICH CXX:                                     g++  -Wall -Wwrite-strings 
> > -Wno-strict-aliasing -Wno-unknown-pragmas -g -O0   -fPIC    -DNDEBUG 
> > -DNVALGRIND -O2
> > MPICH F77:                                     gfortran  -fPIC -Wall 
> > -Wno-unused-variable -ffree-line-length-0 -Wno-unused-dummy-argument -g -O0 
> >    -O2
> > MPICH FC:                                      gfortran  -fPIC -Wall 
> > -Wno-unused-variable -ffree-line-length-0 -Wno-unused-dummy-argument -g -O0 
> >    -O2
> > balay@asterix /home/balay/petsc/src/ksp/ksp/examples/tutorials (master *=)
> > <<<<<<<<<
> > 
> > This must be related to using gnupackage - and then adding extra
> > options. Removing '--disable-shared' appears to get rid of the warnings.
> > 
> > 
> > So easy thing to do [to fix this issue] is strip out shared library
> > options from MPICH.py.  [and prefer the ones from package.py].
> > 
> > However do we still want to support the following?
> > 
> >    help.addArgument('MPI', '-download-mpich-shared=<bool>',                 
> >           nargs.ArgBool(None, 1, 'Install MPICH with shared libraries'))
> > 
> > Satish
> > 
> > On Wed, 8 Oct 2014, Barry Smith wrote:
> > 
> >> 
> >>  Satish,
> >> 
> >>    Can you please upgrade to this. You can also remove the def 
> >> MPICHInstall(self): and just call the parent GNUPackageInstall.
> >> 
> >>   Thanks
> >> 
> >>   Barry
> >> 
> 
> 

Reply via email to