[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
configuration problem and patch
- To: petsc-dev@xxxxxxxxxxx
- Subject: configuration problem and patch
- From: "Lisandro Dalcin" <dalcinl@xxxxxxxxx>
- Date: Thu, 21 Jun 2007 13:28:45 -0300
- Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; b=sWhnbelG7E7mf4QjB6k9DmWvbLpQgUfHK1jscZo3cZ8Q8SMMRlU2n6qKaMSd0uoe3e31m//3vHIoxzulT0i7SLLqmPAT6ScxtRb4GJ3R71U0HPKLyXoXOrm8bz6cnXDmhu9Q6RdGD94gsXgizjFVuqdYogObn90azLY1KuXeaYU=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=X6ZDBr0QmVoxVmCUaw31E1fFR+T9ErHfsGLuNmgH4Y+1PiAdCAOxgxS88LPNXRSPYx/vJQfJvls0b15YepIsqWWZgISOKBELiKoKq21S29+BTgdwahahzcpkS/Is1//AjSlXuZK8TnrnNDXVl2M8JvFiN8a+kd2AISTn27OiGBg=
- Reply-to: petsc-dev@xxxxxxxxxxx
- Sender: owner-petsc-dev@xxxxxxxxxxx
Barry, I had problems configuring a fresh clone of petsc-dev, you have
attached a patch with solved it for me. As new build systems is rather
new for me, please review it and apply it (if it is OK)
BTW, if things works as I understood, perhaps the those small files
saved in packageDir should be prefixed and posfixed with the
PETSC_ARCH used in configuration (let say, using perhaps somethink
like petsc-hypre.linux-gnu, petsc-ml.linux-gnu).
Regards,
--
Lisandro Dalcín
---------------
Centro Internacional de Métodos Computacionales en Ingeniería (CIMEC)
Instituto de Desarrollo Tecnológico para la Industria Química (INTEC)
Consejo Nacional de Investigaciones Científicas y Técnicas (CONICET)
PTLC - Güemes 3450, (3000) Santa Fe, Argentina
Tel/Fax: +54-(0)342-451.1594
diff -r 21b5e52a8beb python/PETSc/packages/hypre.py
--- a/python/PETSc/packages/hypre.py Wed Jun 20 15:26:37 2007 -0500
+++ b/python/PETSc/packages/hypre.py Wed Jun 20 21:01:48 2007 -0300
@@ -75,7 +75,7 @@ class Configure(PETSc.package.Package):
args.append('--without-fei')
args.append('--without-superlu')
args = ' '.join(args)
- fd = file(os.path.join(self.installDir,'hypre'), 'w')
+ fd = file(os.path.join(self.packageDir,'hypre'), 'w')
fd.write(args)
fd.close()
diff -r 21b5e52a8beb python/PETSc/packages/sowing.py
--- a/python/PETSc/packages/sowing.py Wed Jun 20 15:26:37 2007 -0500
+++ b/python/PETSc/packages/sowing.py Wed Jun 20 20:48:32 2007 -0300
@@ -17,7 +17,7 @@ class Configure(PETSc.package.Package):
fd = file(os.path.join(self.packageDir,'sowing'), 'w')
fd.write(args)
fd.close()
- if self.installNeeded('makefile.in'):
+ if self.installNeeded('sowing'):
try:
output = config.base.Configure.executeShellCommand('cd '+self.packageDir+';./configure '+args, timeout=900, log = self.framework.log)[0]
except RuntimeError, e: