2

I'm having a bad time trying to install OpenFOAM using Docker(on a MacOSX El Capitan). I've been following the official tutorial.

When I try to execute the first script (installOpenFOAM+), through the command line:

docker-machine ssh default $HOME/installOpenFOAM+ $HOME

I get the following result on the terminal screen:

machine does not exist

I've been looking for a solution online over and over but it seems nobody has had an issue like this. Has someone here faced the same problem?

jhoepken
  • 1,842
  • 3
  • 17
  • 24
Lucas Bragança
  • 547
  • 6
  • 11
  • Have you followed the instructions on http://www.openfoam.com/download/install-binary.php to install OpenFOAM via Docker? – jhoepken Mar 04 '16 at 09:00

2 Answers2

2

Try making the install script executable before the first script, it seems to work for some people. That is, use

chmod +x installOpenFOAM+
rodrigomp
  • 38
  • 5
  • You are correct! I forgot to update here with the answer but just after posting I've received a feedback from the openCFD team suggesting to do the same thing. Obrigado! – Lucas Bragança Apr 14 '16 at 21:16
0

I also had tough time installing Openfoam using docker.

After you install docker, you need to create a virtual machine (named default). Once it is done, change the permission of install script. Then try to install it.

docker-machine create --driver virtualbox default
chmod a+x installMacOpenFOAM+
docker-machine ssh default $HOME/installMacOpenFOAM+ $HOME

I am not able to stat the application.

Brian Tompsett - 汤莱恩
  • 5,753
  • 72
  • 57
  • 129
Chitra
  • 1