You can set CONFOPTS in FEniCS/packages/pestc.package to --with-ml-include=/path/to/trilinos/include
or --with-ml=0 to disable. Jan On Fri, 05 Dec 2014 14:41:50 +0100 Steffen Wittek <[email protected]> wrote: > I read that trilinos is optional, but I don't see how I can tell > petsc that it doesn't need it. I already tried to remove the > respective directories in the working path to no avail. There is the > same version of Trilinos already installed from pacman can I somehow > just link to that version? Compiling trilinos fails in the very end > at 98% or so...it says problems with swig. > > The error from petsc is as follows: > > File > "/home/hoenix/Work/FEniCS/src/petsc-3.5.2/config/BuildSystem/help.py", > line 104, in addArgument > self.argDB.setType(self.getArgName(name), argType, forceLocal = > 1) File > "/home/phoenix/Work/FEniCS/src/petsc-3.5.2/config/BuildSystem/RDict.py", > line 209, in setType > value.setValue(v.getValue()) > File > "/home/phoenix/Work/FEniCS/src/petsc-3.5.2/config/BuildSystem/nargs.py", > line 376, in setValue > raise ValueError('Invalid directory: '+str(dir)+' for key > '+str(self.key)) > =============================================================================== > Configuring PETSc to compile on your system > =============================================================================== > ******************************************************************************* > ERROR in COMMAND LINE ARGUMENT to ./configure > ------------------------------------------------------------------------------- > Invalid directory: /usr/include/trilinos for key with-ml-include > ******************************************************************************* > > > makefile:15: arch-linux2-c-debug/conf/petscvariables: No such file or > directory > /home/phoenix/Work/FEniCS/src/petsc-3.5.2/conf/variables:117: > /home/phoenix/Work/FEniCS/src/petsc-3.5.2/arch-linux2-c-debug/conf/petscvariables: > > No such file or directory > /home/phoenix/Work/FEniCS/src/petsc-3.5.2/conf/rules:993: > /home/phoenix/Work/FEniCS/src/petsc-3.5.2/arch-linux2-c-debug/conf/petscrules: > > No such file or directory > make: *** No rule to make target > '/home/phoenix/Work/FEniCS/src/petsc-3.5.2/arch-linux2-c-debug/conf/petscrules'. > > Stop. > > Steffen > > _______________________________________________ > 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
