On Wed, Nov 4, 2015 at 2:49 PM, tschroeder <tschroe...@daad-alumni.de>
wrote:

> You were right:
>
>
> The mistake was in the PETSC_DIR variable.
>
>
> configuring this way
>
>
>  ./configure PETSC_DIR=/home/tobias/PETSc/petsc-3.6.2
> PETSC_ARCH=arch-linux2-c-debug --enable-everything --enable-petsc
> --enable-mpi > log.txt
>
> gives me, among other errors, the messages below.
>
> Makefile_config_petsc:1: /home/tobias/PETSc/petsc-3.6.2/conf/variables: No
> such file or directory
> make: *** No rule to make target
> `/home/tobias/PETSc/petsc-3.6.2/conf/variables'.  Stop.
> Makefile_config_petsc:1: /home/tobias/PETSc/petsc-3.6.2/conf/variables: No
> such file or directory
> make: *** No rule to make target
> `/home/tobias/PETSc/petsc-3.6.2/conf/variables'.  Stop.
>
> This is why I ended up using the incorrect PESC_DIR value:
>

It looks like your PETSC_DIR is not arranged in the usual way for installed
PETScs.  When you built PETSc, did you configure with a --prefix and run
make install when it was done?  You'll want to set PETSC_DIR to the
directory you choose for the prefix in order to get libmesh to find PETSc
correctly.

-- 
John
------------------------------------------------------------------------------
_______________________________________________
Libmesh-users mailing list
Libmesh-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to