petsc port

B. Estrade estrabd at gmail.com
Thu Dec 3 18:35:19 UTC 2009


On Thu, Dec 03, 2009 at 12:47:06PM -0500, Rivera II, Jorge wrote:
> FYI, the PETSC port appears to have issues. See attached log.
> 
> Cheers.

If this remains unaddressed, I have experience installing PETSc on
various platforms (hpc.lsu.edu) and can take a look at it when once
the semester winds down (next week). Please feel free to remind me
offlist, if needed.

FWIW, the error seems to indicate a problem with Python, which is used
as the set up/installation script. It's a pretty non-standard kluge,
if you ask me.

Cheers,
Brett

> 
> Jorge
> 
> ---------------
> 
> Jorge Rivera
> 
> Section Leader, Modeling Systems Architecture
> 
> Hydrologic & Environmental systems Modeling Dept
> 
> South Florida Water Management District
> 
>  
> 

Content-Description: petsc.log.txt
> [Gathering depends for math/petsc ........................................................................................................................ done]
> --->  Checking for the latest package of 'math/petsc'
> --->  Fetching the package(s) for 'petsc-2.3.3.p0_4,1' (math/petsc)
> --->  Fetching petsc-2.3.3.p0_4,1
> fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/amd64/packages-7-stable/All/petsc-2.3.3.p0_4,1.tbz: File unavailable (e.g., file not found, no access)
> ** The command returned a non-zero exit status: 1
> ** Failed to fetch ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/amd64/packages-7-stable/All/petsc-2.3.3.p0_4,1.tbz
> fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/amd64/packages-7-stable/All/petsc-2.3.3.p0_4,1.tgz: File unavailable (e.g., file not found, no access)
> ** The command returned a non-zero exit status: 1
> ** Failed to fetch ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/amd64/packages-7-stable/All/petsc-2.3.3.p0_4,1.tgz
> ** Failed to fetch petsc-2.3.3.p0_4,1
> ** Listing the failed packages (-:ignored / *:skipped / !:failed)
>         ! petsc-2.3.3.p0_4,1    (fetch error)
> ** Could not find the latest version (2.3.3.p0_4,1)
> --->  Using the port instead of a package
> --->  Installing 'petsc-2.3.3.p0_4,1' from a port (math/petsc)
> --->  Building '/usr/ports/math/petsc'
> ===>  Cleaning for petsc-2.3.3.p0_4,1
> 
> Define WITH_MPI to use MPI.
> Note: this is not compatible with Python bindings!
> Define WITHOUT_X11 to remove X11 support.
> Define WITH_ATLAS to replace Blas / Lapack support by Atlas.
> Define WITHOUT_UMFPACK to remove UMFPACK support.
> 
> ===>  Extracting for petsc-2.3.3.p0_4,1
> => MD5 Checksum OK for petsc-2.3.3-p0.tar.gz.
> => SHA256 Checksum OK for petsc-2.3.3-p0.tar.gz.
> ===>  Patching for petsc-2.3.3.p0_4,1
> ===>  Applying FreeBSD patches for petsc-2.3.3.p0_4,1
> ===>   petsc-2.3.3.p0_4,1 depends on file: /usr/local/bin/python2.6 - found
> ===>   petsc-2.3.3.p0_4,1 depends on executable: svn - found
> ===>   petsc-2.3.3.p0_4,1 depends on executable: gfortran44 - found
> ===>   petsc-2.3.3.p0_4,1 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found
> ===>   petsc-2.3.3.p0_4,1 depends on shared library: umfpack.1 - found
> ===>   petsc-2.3.3.p0_4,1 depends on shared library: lapack.4 - found
> ===>  Configuring for petsc-2.3.3.p0_4,1
> /usr/bin/sed -i.bak -e "s|AMD/Include|include/AMD|"      -e "s|AMD/Lib|/usr/local/lib|"       /usr/ports/math/petsc/work/petsc-2.3.3-p0/python/PETSc/packages/UMFPACK.py
> /usr/bin/sed -i.bak -e "s|/bin/ksh|/usr/local/bin/ksh|"  /usr/ports/math/petsc/work/petsc-2.3.3-p0/bin/popup
> /usr/bin/sed -i.bak -e "s|%%PACKAGE%%||"                         /usr/ports/math/petsc/work/petsc-2.3.3-p0/makefile /usr/ports/math/petsc/work/petsc-2.3.3-p0/config/configure.py
> =================================================================================
>              Configuring PETSc to compile on your system             
> =================================================================================
> =================================================================================
>              *** Do not run configure as root, or using sudo. ***
>              *** Use the --with-sudo=sudo option to have      ***
>              *** installs of external packages done with sudo ***
>              *** use only with --prefix= when installing in   ***
>              *** system directories                           ***
> =================================================================================
> ===>  Script "config/configure.py" failed unexpectedly.
> Please report the problem to ports at FreeBSD.org [maintainer] and attach the
> "/usr/ports/math/petsc/work/petsc-2.3.3-p0/configure.log" including the output
> of the failure of your make command. Also, it might be a good idea to provide
> an overview of all packages installed on your system (e.g. an `ls
> /var/db/pkg`).
> *** Error code 1
> 
> Stop in /usr/ports/math/petsc.
> ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20091203-1283-dobwht-0 env DIALOG=/usr/local/bin/kdialog-ports-wrapper make
> ** Fix the problem and try again.
> ** Listing the failed packages (-:ignored / *:skipped / !:failed)
>         ! math/petsc    (unknown build error)
>                                                   

> _______________________________________________
> freebsd-ports at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"

-- 
B. Estrade <estrabd at gmail.com>


More information about the freebsd-ports mailing list