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

Dolfin Error: urllib failed to download

+1 vote

Hi,

I'm trying to compile petsc on a linux cluster using the "curl -s http://fenicsproject.org/fenics-install.sh | bash" as instructed from the fenics website but I keep getting the following error messages.

[ERROR] urllib failed to download (code: 404): http://www.cise.ufl.edu/research/sparse/SuiteSparse/SuiteSparse-4.0.2.tar.gz
Downloading http://www.cise.ufl.edu/research/sparse/SuiteSparse/SuiteSparse-4.0.2.tar.gz...
[ERROR] urllib failed to download (code: 404): http://www.cise.ufl.edu/research/sparse/SuiteSparse/SuiteSparse-4.0.2.tar.gz
Downloading http://www.cise.ufl.edu/research/sparse/SuiteSparse/SuiteSparse-4.0.2.tar.gz...
[ERROR] urllib failed to download (code: 404): http://www.cise.ufl.edu/research/sparse/SuiteSparse/SuiteSparse-4.0.2.tar.gz
[CRITICAL] You may wish to check your Internet connection or the remote server

When I pasted the page on my browser, it seems not to exist. Any help on this will be appreciated.

asked Jun 1, 2015 by chuckdii2002 FEniCS Novice (270 points)

1 Answer

0 votes

Remember path to installer's temp cache directory, which is printed right after executing "fenics-install.sh". For example:
user@host:~$ bash fenics-install.sh
Created temporary directory /tmp/fenics-install.aauJa7 for FEniCS installation.

When the installer will ask user input to select build type, open cache directory in file explorer and search for file named "suitesparse.yaml". When you will open it in a text editor, it will contain a link to http://www.cise.ufl.edu/research/sparse/SuiteSparse/SuiteSparse-4.0.2.tar.gz
Replace that link with a working download link(you will have to google for it) for example,
http://faculty.cse.tamu.edu/davis/SuiteSparse/SuiteSparse-4.0.2.tar.gz
save that file and continue script by choosing build type.

Do same for other urllib errors.

answered Jun 2, 2015 by Partikel FEniCS Novice (230 points)
edited Jun 2, 2015 by Partikel

Thanks. I did it and it worked. However, I still got some error messages shown below

[dolfin] Building dolfin/4fls6bwj4w4n, follow log with:
[dolfin] tail -f /home2/cchukw1/.hashdist/tmp/dolfin-4fls6bwj4w4n/build.log
[dolfin|ERROR] Command '[u'/bin/bash', '_hashdist/build.sh']' returned non-zero exit status 1
[dolfin|ERROR] command failed (code=1); raising

Can you show content of log file?
/home2/cchukw1/.hashdist/tmp/dolfin-4fls6bwj4w4n/build.log

I have fixed the problem with the SuiteSparse url in HashStack, so it will soon be fixed when running fenics-install.sh.

Thanks for reporting.

BTW, please report problems like this to the FEniCS support mailing list in the future: fenics-support@fenicsproject.org.

...