This is a read only copy of the old FEniCS QA forum. Please visit the new QA forum to ask questions

install FEniCS Developer version ubuntu Error

+1 vote

Hi, I want to modify the source code for the specific purpose. Hence I have tried to install FEniCS developer version as given here Download link
I have got following error:

hirshikesh@Flinch:ubuntu$ ./build-fenics-deps.sh
--2017-04-07 10:42:50-- http://ftp.mcs.anl.gov/pub/petsc/release-snapshots/petsc-lite-.tar.gz
Resolving ftp.mcs.anl.gov (ftp.mcs.anl.gov)... 140.221.6.23
Connecting to ftp.mcs.anl.gov (ftp.mcs.anl.gov)|140.221.6.23|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2017-04-07 10:42:50 ERROR 404: Not Found.

any idea to get it done?
Thanks in advance

asked Apr 7, 2017 by hirshikesh FEniCS User (1,890 points)

It seems that the installer tries to download the petsc package from a source that doesn't contain it. Can you download it from somewhere else?

1 Answer

0 votes

The script seems to use some variables that are not defined in the script, like DATE, PETSC_VERSION, SLEPC_VERSION, etc.. You can try something like

export DATE=$(date +%Y-%m-%d)
export PETSC_VERSION=3.7.5
export SLEPC_VERSION=3.7.3
export MPI4PY_VERSION=2.0.0
export PETSC4PY_VERSION=3.7.0
export SLEPC4PY_VERSION=3.7.0

and then run the script again.

answered Apr 7, 2017 by johannr FEniCS Expert (17,350 points)
...