CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Installation

[OpenFOAM.com] Install extra package along with OpenFOAM v1612+

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By wyldckat
  • 1 Post By matejfor

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 14, 2017, 18:11
Default Install extra package along with OpenFOAM v1612+
  #1
New Member
 
Join Date: Jun 2017
Posts: 15
Rep Power: 9
Simone81 is on a distinguished road
Hello,

I have installed OpenFOAM v1612+ on Windows 10 and it works fine. However, I would like to run extra utilities along with openFOAM such as PyFoam and from the commands shell I can not install all the modules required for PyFoam using the Ubuntu commands as boot2docker is the operating system in the virtual machine.

I also tried commands such as tce-load for extra package installation but it gives me the error: tce-load command not found.

Do you have some guideline for extra package installation along with OpenFOAM v1612+ ?


Thank you very much
Simone81 is offline   Reply With Quote

Old   June 25, 2017, 13:02
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,978
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Quick answer:
  1. Read this thread on how to access root permissions: https://www.cfd-online.com/Forums/op...ia-docker.html
  2. After logging/switching into root mode, you can install the system packages needed for installing PyFoam.
  3. Then logout/exit from root mode and as a normal, you should be able to follow the installation instructions for PyFoam, from within the OpenFOAM+ command environment.
Simone81 likes this.
wyldckat is offline   Reply With Quote

Old   June 26, 2017, 14:53
Default
  #3
New Member
 
Join Date: Jun 2017
Posts: 15
Rep Power: 9
Simone81 is on a distinguished road
Hi wyldckat,

Thank you very much for your help. It is more than useful!
Simone81 is offline   Reply With Quote

Old   July 12, 2018, 03:26
Default
  #4
New Member
 
FredPieri
Join Date: Mar 2018
Posts: 16
Rep Power: 8
Fredvol is on a distinguished road
Hello wyldckat
Could you confirm the password for V1806 is "ofuser2017" as it is writen on the Esi website: https://www.openfoam.com/download/in...nary-linux.php
Quote:
"login as root with the password ofuser2017"

ofuser2017 is starting with a "o" lowercase like oliver, or with a "0" like 1-1=0 ?


As I tried to log as root to instal python3 but I get all the time:


Quote:
[ofuser@default ~]$ su
Password:
su: Authentication failure
Is there a limit in the number of attemps? maybe it keep saying " auth failure because I'am ban ?

I'am on win10 .

Thanks a lot.

Last edited by Fredvol; July 12, 2018 at 09:09.
Fredvol is offline   Reply With Quote

Old   July 13, 2018, 13:53
Default
  #5
Senior Member
 
matej forman
Join Date: Mar 2009
Location: Brno, Czech Republic
Posts: 182
Rep Power: 17
matejfor is on a distinguished road
Quote:
Originally Posted by Fredvol View Post
Hello wyldckat
Could you confirm the password for V1806 is "ofuser2017" as it is writen on the Esi website: https://www.openfoam.com/download/in...nary-linux.php



ofuser2017 is starting with a "o" lowercase like oliver, or with a "0" like 1-1=0 ?


As I tried to log as root to instal python3 but I get all the time:



Is there a limit in the number of attemps? maybe it keep saying " auth failure because I'am ban ?

I'am on win10 .

Thanks a lot.


Actually the info on the web page needs to be updated. The new pswd for docker with 1806 is openfoam as you can find in the install script, or the start script, cannot remember without looking at those.
wyldckat likes this.
matejfor is offline   Reply With Quote

Old   July 17, 2018, 05:27
Default
  #6
New Member
 
FredPieri
Join Date: Mar 2018
Posts: 16
Rep Power: 8
Fredvol is on a distinguished road
It is works with "openfoam", thanks !
Fredvol is offline   Reply With Quote

Old   July 19, 2018, 04:09
Default log as root openfoam v1806 linux
  #7
New Member
 
FredPieri
Join Date: Mar 2018
Posts: 16
Rep Power: 8
Fredvol is on a distinguished road
Quote:
Originally Posted by matejfor View Post
Actually the info on the web page needs to be updated. The new pswd for docker with 1806 is openfoam as you can find in the install script, or the start script, cannot remember without looking at those.



Hello matejfor,
It works on my win10 machine, but not on my 2 linux-mint machine, all using docker.

It is different a different password for root between w10 and linux ? I also tryed my host password , but no success.

I tryed to search on installOpenfoam and startOpenfoam script , but I could not find any password. ( according to this thread su root Authentication Error , the password is in startOpenfOam)
But in this file I only have 3 lines :
Quote:
xhost +localf_v1806
docker start of_v1806
docker exec -it of_v1806 /bin/bash -rcfile /opt/OpenFOAM/setImage_v1806.sh
I 'am clearly missing something here. thanks for any help
Fredvol is offline   Reply With Quote

Reply

Tags
1806, boot2docker, openfoam v1612+, openfoam v1806, pyfoam


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Map of the OpenFOAM Forum - Understanding where to post your questions! wyldckat OpenFOAM 10 September 2, 2021 05:29
OpenFOAM course for beginners Jibran OpenFOAM Announcements from Other Sources 2 November 4, 2019 08:51
OpenFOAM Training Jan-Jul 2017, Virtual, London, Houston, Berlin CFDFoundation OpenFOAM Announcements from Other Sources 0 January 4, 2017 06:15
[OpenFOAM.org] OpenFOAM 3.0 install incomplete with Deb package on Ubuntu chanakya OpenFOAM Installation 3 March 6, 2016 11:42
Errors running allwmake in OpenFOAM141dev with WM_COMPILE_OPTION%3ddebug unoder OpenFOAM Installation 11 January 30, 2008 20:30


All times are GMT -4. The time now is 08:45.