PETSc/SLEPc transition

Adam C Powell IV hazelsct at debian.org
Mon Jan 16 02:13:23 UTC 2012


Hello Johannes,

On Fri, 2012-01-13 at 12:45 +0100, Johannes Ring wrote:
> On Sun, Jan 8, 2012 at 4:42 AM, Adam C Powell IV <hazelsct at debian.org> wrote:
> > So I tried to build SLEPc, and got the following error:
> >
> > Checking environment...
> > Checking PETSc installation...
> > Checking ARPACK library...
> > Checking LAPACK library...
> > Traceback (most recent call last):
> >  File "./configure", line 10, in <module>
> >    execfile(os.path.join(os.path.dirname(__file__), 'config', 'configure.py'))
> >  File "./config/configure.py", line 361, in <module>
> >    import cmakeboot
> >  File "/home/hazelsct/slepc-3.2-p3.dfsg/config/cmakeboot.py", line 7, in <module>
> >    import script
> > ImportError: No module named script
> > make: *** [build-arch] Error 1
> > dpkg-buildpackage: error: debian/rules build gave error exit status 2
> 
> I get the same error, but only when building for amd64. The problem
> seems to be that SLEPc tries to build using CMake since
> PETSC_BUILD_USING_CMAKE=1 is defined in
> /usr/lib/petsc/<petscarch>/conf/petscvariables. On the other arches,
> this variable is not defined and SLEPc builds fine (at least on i386).
> 
> > Any ideas?
> 
> Could the problem be that CMake was available when you built PETSc? I
> guess that would be the only reason for PETSC_BUILD_USING_CMAKE=1 to
> be set in petscvariables. I tried to rebuild PETSc for amd64 in
> pbuilder and installing the resulting .deb packages fixed the problem
> with SLEPc.

You're right: when I remove cmake, it builds just fine.  Thanks!

> PS: I have updated SLEPc to only build for the same arches as PETSc.

Thank you -- though I wonder if SLEPc should just be arch "any" so that
as other arches start to work for PETSc, such as kfreebsd-*, SLEPc will
automatically build.  (For that matter, I should enable s390x in PETSc
for the same reason -- as soon as PVM works on that platform, scalapack
will be available.)

Do you want to go ahead and upload?

-Adam
-- 
GPG fingerprint: D54D 1AEE B11C CE9B A02B  C5DD 526F 01E8 564E E4B6

Engineering consulting with open source tools
http://www.opennovation.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20120115/9a77b54a/attachment.pgp>


More information about the debian-science-maintainers mailing list