On Tue, 11 Nov 2014 11:54:08 -0500 (EST) Andy Youstic <[email protected]> wrote:
> ----- Original Message ----- > From: "Johannes Ring" <[email protected]> > To: "Andy Youstic" <[email protected]> > Cc: "Jan Blechta" <[email protected]>, > [email protected] Sent: Tuesday, November 4, 2014 > 1:59:31 AM Subject: Re: [FEniCS-support] Can't seem to build fenics > using dorsal.sh -- CentOS6 > > On Mon, Nov 3, 2014 at 9:01 PM, Andy Youstic <[email protected]> wrote: > > > >> > >> Seems like you're trying to compile DOLFIN 1.4.0 with PETSc 3.5. > >> Supported combinations are > >> > >> - either DOLFIN 1.4.0 + PETSc 3.3,3.4 > >> - or DOLFIN dev + PETSc 3.3,3.4,3.5,dev > > > >>>This is correct. The problem is that we recently updated PETSc in > >>>Dorsal to the latest version (3.5.2) to be able to use the TAO > >>>solvers. We forgot that this doesn't work with DOLFIN 1.4.0. For a > >>>quick fix, you have two options: > > > >>>- Use the development version of DOLFIN instead of 1.4.0. This can > >>>be done by setting STABLE_BUILD=false in dorsal.cfg. > >>>- Revert to PETSc 3.4 in Dorsal. This can be done by reverting > >>>petsc{-hpc}.package (and slepc.package) to revision 19472eb: > > > >>> git checkout 19472eb FEniCS/packages/petsc.package > >>>FEniCS/packages/petsc-hpc.package FEniCS/packages/slepc.package > > > > > > Greetings, > > > > Well, that seemed to break dolfin in a different place: > > > > CMake Error at CMakeLists.txt:847 (message): > > Generation of form files failed: > > > > Traceback (most recent call last): > > > > File "/usr/local/fenics/bin/ffc", line 46, in <module> > > from ffc.log import info > > File > > "/usr/local/fenics/lib64/python2.6/site-packages/ffc/__init__.py", > > line 18, in <module> from ffc.compiler import compile_form, > > compile_element File > > "/usr/local/fenics/lib64/python2.6/site-packages/ffc/compiler.py", > > line 123, in <module> from ffc.log import info, info_green, warning > > File "/usr/local/fenics/lib64/python2.6/site-packages/ffc/log.py", > > line 32, in <module> from ufl.utils.sorting import sorted_by_key > > > > ImportError: No module named utils.sorting Seems like a clash with other install of UFL. Make sure that your 1.4.0 installation is not in PYTHONPATH,PATH,LD_LIBRARY_PATH when building/using dev version. Try running (or either putting it close to EOF dolfin/dorsal_configure) python -c"import ufl; print ufl.__version__, ufl.__file__" for debugging it. Jan > > > > Traceback (most recent call last): > > > > File > > "/usr/local/src/fenics/dolfin/cmake/scripts/generate-form-files", > > line 80, in <module> raise RuntimeError("Unable to compile form: > > %s/%s" % (root, f)) > > > > RuntimeError: Unable to compile form: dolfin/ale/Poisson3D.ufl > > > > > > > > -- Configuring incomplete, errors occurred! > > >>Did you set STABLE_BUILD=false to build the development version? In > >>that case, did you also rebuild ufl and the other FEniCS packages? > >>If not, please do that. > > >>Yes. False is set as above. Additionally, I killed the entire > >>directory where the >>sources/binaries lie. The error persists. > > Greetings, > > May I have a please get an update? I'm still not able to build this > after setting STABLE_BUILD=false. > > > _______________________________________________ > fenics-support mailing list > [email protected] > http://fenicsproject.org/mailman/listinfo/fenics-support _______________________________________________ fenics-support mailing list [email protected] http://fenicsproject.org/mailman/listinfo/fenics-support
