Bug#608755: Compiling TAO needs petsc conf files

Guillaume Yziquel guillaume.yziquel at citycable.ch
Mon Jan 3 11:03:37 UTC 2011


Package: petsc
Severity: important


Hi.

I've been trying to compile TAO, the Toolkit for Advanced Optimisation.

> yziquel at seldon:~/git/tao$ export TAO_DIR=`pwd`
> yziquel at seldon:~/git/tao$ make all
> /home/yziquel/git/tao/bmake/tao_common:8: /conf/variables: Aucun fichier ou dossier de ce type
> /home/yziquel/git/tao/bmake/tao_common:10: /conf/rules: Aucun fichier ou dossier de ce type
> /home/yziquel/git/tao/bmake/tao_common:16: /conf/test: Aucun fichier ou dossier de ce type
> make: *** Pas de règle pour fabriquer la cible « /conf/test ». Arrêt.
> yziquel at seldon:~/git/tao$ cat bmake/tao_common
> #
> # TAO uses the portable makefile system provided by the PETSc library.  
> # The following include files set customized site, optimization, and version
> # options.  Do NOT remove any of these include files!  You should generally
> # need to edit only ${PETSC_DIR}/bmake/common/base.site to specify your
> # particular machine configuration.  See the PETSc users manual for details.
> #
> include ${PETSC_DIR}/conf/variables
> # (This line MUST be present for certain machines (e.g., Cray T3D))
> include ${PETSC_DIR}/conf/rules
> # (This line MUST be present for certain machines (e.g., Cray T3D))
> include ${TAO_DIR}/bmake/tao_common_variables
> # (This line MUST be present for certain machines (e.g., Cray T3D))
> include ${TAO_DIR}/bmake/tao_common_rules
> # (This line MUST be present for certain machines (e.g., Cray T3D))
> include ${PETSC_DIR}/conf/test
> yziquel at seldon:~/git/tao$ 

Somehow, there is a need to provide, somehow, the conf files from PETSc to be able to compile TAO.
I'me therefore wondering how TAO could be packaged into Debian.

>From the installation documentation of TAO:

http://www.mcs.anl.gov/research/projects/tao/documentation/installation.html

> Set the PETSc environment variables
> 
>     * Set the environmental variable PETSC_DIR to the full path of the PETSc home directory, for example,
>       setenv PETSC_DIR /home/username/petsc-3.1
>       (export PETSC_DIR=/home/username/petsc-3.1 for bash shells)
>     * Set the environmental variable PETSC_ARCH, which indicates the architecture on which PETSc was configured. If you are unsure what value you should use for PETSC_ARCH, a listing of the directory ${PETSC_DIR}/lib will give you your available choices. For example:
>       setenv PETSC_ARCH linux-gnu
>       (export PETSC_ARCH=linux-gnu for bash shells)

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (900, 'testing'), (700, 'stable'), (500, 'stable'), (90, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_CH.UTF-8, LC_CTYPE=fr_CH.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash





More information about the debian-science-maintainers mailing list