FEniICS installation challenge


345
views
0
6 months ago by
Gideon  
I have tried to install FEniCS using Docker on a windows 7 desktop but I have not been successful up till now here is the result I always get:
docker is configured to use the default machine with IP 192.168.99.100
For help getting started, check out the docs at https://docs.docker.com

Start interactive shell

USER @USER42-PC MINGW64 ~
$ curl -s https://get.fenicsproject.org | bash
mkdir: cannot create directory `/c/Users/KILL': Permission denied
cp: target '42/bin/fenicsproject' is not a directory
chmod: cannot access '/c/Users/KILL': No such file or directory
chmod: cannot access '42/bin/fenicsproject': No such file or directory
Successfully installed the fenicsproject script in /c/Users/KILL USER 42/bin/fen
icsproject.
To get started, run the command

I don't really know where the location of the said directory of the file should be located.
Please kindly show me what exactly I am doing wrong and its fix. Thank you.
Community: FEniCS Project

4 Answers


1
6 months ago by
It looks like your user name is "KILL USER 42" and that the install script does not handle spaces in the path (at least on your installation). Try installing it in a directory such as "C:\fenics" and make sure you have write access.
Thank you, Sir I will try what you suggest
written 6 months ago by Gideon  
Sir, how do I make docker to install FEniCS into a particular folder or directory?
written 6 months ago by Gideon  
A quick check of the install script shows that the installation directory is not user-selectable.

I see at least 3 choices for you:
- Download and modify yourself the script to change where FEniCS is installed.
- If you have admin access to your machine, you can create a new user with a name devoid of whitespace, and install FEniCS in this profile with the vanilla script.
- Use Docker.

For installation help, we may also refer you to this post with links.
written 6 months ago by François Lapointe  
0
6 months ago by
Hop this will help... I have installed using this.
http://fenics.readthedocs.io/projects/containers/en/latest/introduction.html#installing-docker
Thank you, Sir I will try what you suggest
written 6 months ago by Gideon  
0
6 months ago by
I will try and fix up the script to deal with spaces in filenames better. Generally, spaces in filenames are 'non-Unix'...

In the meantime, you will go a long way with the basic command:

docker run -ti -v $(pwd):/home/fenics/shared quay.io/fenicsproject/<image-name>:latest
Thanks, I will try this solution too; however kudos to you for the effort in making the world a better place.
written 6 months ago by Gideon  
Here is what I got when I tried this opinion:
bash: image-name: No such file or directory
written 6 months ago by Gideon  
1
docker run -ti -v "$(pwd)":/home/fenics/shared quay.io/fenicsproject/stable:current
written 6 months ago by Jack Hale  
0
20 days ago by
Bump, how do I install with a space in my user?

Please login to add an answer/comment or follow this question.

Similar posts:
Search »