[petsc-dev] get moving on gnu make version of PETSc compiler
Satish Balay
balay at mcs.anl.gov
Tue Sep 17 23:58:06 CDT 2013
On Tue, 17 Sep 2013, Jed Brown wrote:
> Satish Balay <balay at mcs.anl.gov> writes:
> > Ok - I tried --download-mpich and
> > --download-openmpi=http://www.open-mpi.org/software/ompi/v1.7/downloads/openmpi-1.7.2.tar.gz
> > on the same machine - and I see the issue with download-openmpi - but
> > not download-mpich.
> >
> > I don't understand why - but I see gmake scheduling the 'fortran'
> > source builds further down the list [for openmpi build] - so
> > increasing the likelyhood of this error?
>
> Is Open MPI stealing module dependency flags?
<openmpi>
balay at cg^/sandbox/balay/petsc.clone(jed/gnumake) $ /sandbox/balay/petsc.clone/arch-linux2-c-debug/bin/mpif90 -c -fPIC -Wall -Wno-unused-variable -Wno-unused-dummy-argument -g -I/sandbox/balay/petsc.clone/include -I/sandbox/balay/petsc.clone/arch-linux2-c-debug/include -MMD -MP src/ts/f90-mod/petsctsmod.F -o arch-linux2-c-debug/obj/src/ts/f90-mod/petsctsmod.o -Jarch-linux2-c-debug/include -show
gfortran -c -fPIC -Wall -Wno-unused-variable -Wno-unused-dummy-argument -g -I/sandbox/balay/petsc.clone/include -I/sandbox/balay/petsc.clone/arch-linux2-c-debug/include -MMD -MP src/ts/f90-mod/petsctsmod.F -o arch-linux2-c-debug/obj/src/ts/f90-mod/petsctsmod.o -Jarch-linux2-c-debug/include -I/sandbox/balay/petsc.clone/arch-linux2-c-debug/include -pthread -I/sandbox/balay/petsc.clone/arch-linux2-c-debug/lib
vs<mpich>
balay at cg^/sandbox/balay/petsc.clone(jed/gnumake) $ /sandbox/balay/petsc.clone/arch-mpich/bin/mpif90 -c -fPIC -Wall -Wno-unused-variable -Wno-unused-dummy-argument -g -I/sandbox/balay/petsc.clone/include -I/sandbox/balay/petsc.clone/arch-mpich/include -MMD -MP src/ts/f90-mod/petsctsmod.F -o arch-mpich/obj/src/ts/f90-mod/petsctsmod.o -Jarch-mpich/include -show
gfortran -fPIC -Wall -Wno-unused-variable -Wno-unused-dummy-argument -g -c -fPIC -Wall -Wno-unused-variable -Wno-unused-dummy-argument -g -I/sandbox/balay/petsc.clone/include -I/sandbox/balay/petsc.clone/arch-mpich/include -MMD -MP src/ts/f90-mod/petsctsmod.F -o arch-mpich/obj/src/ts/f90-mod/petsctsmod.o -Jarch-mpich/include -I/sandbox/balay/petsc.clone/arch-mpich/include -I/sandbox/balay/petsc.clone/arch-mpich/include
Both appear to use '-MMD -MP'. The primary difference I see is
'mpi.mod' is in PREFIX/lib for openmpi vs PREFIX/include for mpich.
>
> Does it all work now (in 'next')?
>
tested jed/gnumake - and openmpi version builds without errors.
Satish
More information about the petsc-dev
mailing list