|
[Sponsors] |
Problems installing OpenFOAM 2.3.0, 1.6-ext and foam-extend 3.0 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 3, 2014, 01:45 |
Problems installing OpenFOAM 2.3.0, 1.6-ext and foam-extend 3.0
|
#1 |
Senior Member
Join Date: Sep 2013
Location: Bangalore India
Posts: 134
Rep Power: 13 |
Hi Foamers
I am facing problem in installing foam-extend-3.0 and OpenFOAM-1.6-ext... I followed the instructions given in the link http://sourceforge.net/p/openfoam-ex....04_64-bit.txt But after compiling for 2-3 hour the terminal got stopped at a point which is shown in snapshot. Please help me to install this package |
|
March 3, 2014, 07:08 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi Sam,
I suggest that you read+study the following pages:
Bruno
__________________
|
|
March 4, 2014, 04:37 |
OpenFOAM-1.6-ext along with OpenFOAM
|
#3 |
Senior Member
Join Date: Sep 2013
Location: Bangalore India
Posts: 134
Rep Power: 13 |
Hi Bruno,
I have installed OpenFOAM-2.3.0 in home/user/OpenFOAM/OpenFOAM-2.3.0 . I want to simulate gas turbine with DensityBasedTurbo solvers so I need to install OpenFOAM-1.6-ext. For that if I change the alias as follows alias of221='source $HOME/OpenFOAM/openfoam230/etc/bashrc' alias of16ext='source $HOME/OpenFOAM/OpenFOAM-1.6-ext/etc/bashrc' Does this works ? What are the steps i need to perform ? Regards, Sangamesh Hosur |
|
March 4, 2014, 05:30 |
|
#4 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi Sangamesh Hosur,
I thought that the wiki page on the first link explained everything clearly enough . Anyway, the steps should be:
Bruno
__________________
|
|
March 5, 2014, 07:10 |
Error in installing OpenFOAM-1.6-ext
|
#5 |
Senior Member
Join Date: Sep 2013
Location: Bangalore India
Posts: 134
Rep Power: 13 |
Hi ,
I have followed the procedure to install OpenFOAM-1.6-ext on UBUNTU-12.04 as given in this link http://openfoamwiki.net/index.php/In...u#Ubuntu_12.04 But i am getting these following errors Could you help me to get it installed properly ? Regards, Sangamesh Hosur |
|
March 5, 2014, 16:17 |
|
#6 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quote:
To diagnose what happened, let's try searching for it. First run these commands: Code:
cd $FOAM_SRC ls -lgn decompositionMethods/decompositionMethods/lnInclude/decompositionMethod.* Code:
lrwxrwxrwx 1 1000 44 Dec 25 13:23 decompositionMethod.C -> ../decompositionMethod/decompositionMethod.C lrwxrwxrwx 1 1000 44 Dec 25 13:23 decompositionMethod.H -> ../decompositionMethod/decompositionMethod.H Then try this command: Code:
ls -lgn decompositionMethods/decompositionMethods/decompositionMethod/decompositionMethod.* Code:
-rw-rw-r-- 1 1000 12981 Dec 25 13:10 decompositionMethods/decompositionMethods/decompositionMethod/decompositionMethod.C -rw-rw-r-- 1 1000 28916 Dec 25 13:23 decompositionMethods/decompositionMethods/decompositionMethod/decompositionMethod.dep -rw-rw-r-- 1 1000 6456 Dec 25 13:10 decompositionMethods/decompositionMethods/decompositionMethod/decompositionMethod.H Let me know what you get from each command, because by knowing what you get, I should be able to detail a specific solution. By the way, you did not skip over step #6 from the instructions, or did you?
__________________
|
||
March 6, 2014, 00:06 |
|
#7 | |
Senior Member
Join Date: Sep 2013
Location: Bangalore India
Posts: 134
Rep Power: 13 |
Code:
cd $FOAM_SRC ls -lgn decompositionMethods/decompositionMethods/lnInclude/decompositionMethod.* Code:
lrwxrwxrwx 1 1623535300 44 Mar 5 15:37 decompositionMethods/decompositionMethods/lnInclude/decompositionMethod.C -> ../decompositionMethod/decompositionMethod.C lrwxrwxrwx 1 1623535300 44 Mar 5 15:37 decompositionMethods/decompositionMethods/lnInclude/decompositionMethod.H -> ../decompositionMethod/decompositionMethod.H Code:
ls -lgn decompositionMethods/decompositionMethods/decompositionMethod/decompositionMethod.* Code:
-rw-rw-r-- 1 1623535300 12981 Oct 16 07:35 decompositionMethods/decompositionMethods/decompositionMethod/decompositionMethod.C -rw-rw-r-- 1 1623535300 28916 Mar 5 15:37 decompositionMethods/decompositionMethods/decompositionMethod/decompositionMethod.dep -rw-rw-r-- 1 1623535300 6456 Oct 16 07:35 decompositionMethods/decompositionMethods/decompositionMethod/decompositionMethod.H Quote:
Code:
fatal: Not a git repository (or any of the parent directories): .git |
||
March 6, 2014, 15:17 |
|
#8 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Then that must be the reason for this problem. Please provide the link to the package you've downloaded, so that I can check what differences there are from the git version.
|
|
March 6, 2014, 23:34 |
|
#9 | |
Senior Member
Join Date: Sep 2013
Location: Bangalore India
Posts: 134
Rep Power: 13 |
Quote:
And I i have clicked on the downloadsnapshot and got the source file . |
||
March 10, 2014, 15:43 |
|
#10 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi Sangamesh,
Sorry, I've had a few busy days of late and didn't manage to look into this sooner. I've compared the files from the package you've used and the files from the git clone I'm using. They seem identical. Try running these commands, with the 1.6-ext shell environment turned on: Code:
cd $WM_PROJECT_DIR wclean all src/decompositionMethods ./Allwmake > make.log 2>&1 ./Allwmake > make.log 2>&1 Best regards, Bruno
__________________
|
|
March 11, 2014, 03:46 |
E: Package 'paraview' has no installation candidate
|
#11 |
Senior Member
Join Date: Sep 2013
Location: Bangalore India
Posts: 134
Rep Power: 13 |
Hi,
I am following the procedure to install OpenFOAM-1.6-ext from : http://openfoamwiki.net/index.php/In...u#Ubuntu_12.04 But when i execute the step 2, i will get the following error Code:
root@BMH301562:~# apt-get install git flex bison rpm build-essential zlib1g-dev binutils-dev \ > openmpi-bin libopenmpi-dev paraview libstdc++5 Reading package lists... Done Building dependency tree Reading state information... Done Package paraview is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'paraview' has no installation candidate Regards, Sangamesh Hosur |
|
March 11, 2014, 03:59 |
|
#12 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quick answer: You need to turn on the Universe repository: http://openfoamwiki.net/index.php/FA..._on_Ubuntu_.3F
|
|
March 11, 2014, 04:31 |
|
#13 | |
Senior Member
Join Date: Sep 2013
Location: Bangalore India
Posts: 134
Rep Power: 13 |
Quote:
Kindly find the attached screen shot as it already universe is appended. |
||
March 11, 2014, 04:44 |
out put of sudo apt-get update
|
#14 |
Senior Member
Join Date: Sep 2013
Location: Bangalore India
Posts: 134
Rep Power: 13 |
Here is the out of the procedure mentioned in
http://openfoamwiki.net/index.php/FA..._on_Ubuntu_.3F |
|
March 11, 2014, 06:20 |
|
#15 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quote:
|
||
March 11, 2014, 07:00 |
source.list
|
#16 |
Senior Member
Join Date: Sep 2013
Location: Bangalore India
Posts: 134
Rep Power: 13 |
openfoam.list is empty . Nothing is there .
|
|
March 11, 2014, 15:01 |
|
#17 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
I've tested this myself, namely to create an empty file inside the folder "/etc/apt/sources.list.d" and then ran:
Code:
apt-get update Either erase this file or follow step #1 from here: http://www.openfoam.org/download/ubuntu.php |
|
March 12, 2014, 01:15 |
|
#18 |
Senior Member
Join Date: Sep 2013
Location: Bangalore India
Posts: 134
Rep Power: 13 |
Hi Bruno,
I have installed OpenFOAM-1.6-ext on my personnel laptop with the procedure explained in the link http://www.tfd.chalmers.se/~hani/kur...OwnLaptop.html But only i could not compile DensityBasedTurbo solvers. I ran axial case out of these but simulation was not proper. Here with i have attached the log files. But I am not able to install on my organization's system . Still struggling |
|
March 12, 2014, 14:50 |
|
#19 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi Sangamesh,
Sorry, but apparently the DensityBasedTurbo repository hasn't been updated in over 2 years and seems to be considerably outdated from the latest 1.6-ext version. Or it might be a compiler compatibility problem, since someone managed to build it with an older GCC version, as implied by this bug report: http://sourceforge.net/apps/mantisbt...iew.php?id=205 I won't be able to try to look into this before this weekend, but on Saturday I'll try to look into it. Best regards, Bruno edit: Or you can try and report this at the bug tracker, as explained in the "README" file that is inside the folder "src": http://sourceforge.net/apps/mantisbt..._view_page.php - be sure to detail the OF version and GCC compiler version you're using. edit 2: As for installing in your organization's machine, what is the latest problem you're having there? Last edited by wyldckat; March 12, 2014 at 14:53. Reason: see "edit:" and "edit 2" |
|
March 13, 2014, 03:51 |
|
#20 |
Senior Member
Join Date: Sep 2013
Location: Bangalore India
Posts: 134
Rep Power: 13 |
Hi Bruno,
I will be waiting for your reply regarding DensityBasedTurbo compilation. Mean while I will explain what i did in organization to install OpenFOAM-1.6-ext. I am following the procedure explained in the link PHP Code:
Code:
sudo apt-get install git flex bison rpm g++ zlib1g-dev binutils-dev openmpi-bin libopenmpi-dev libxext-dev libxt-dev libxrender-dev libgl1-mesa-dev libglu1-mesa-devlibqt4-dev qt4-dev-tools paraview Code:
sml5kor@BMH301562:~$ sudo apt-get install git flex bison rpm g++ zlib1g-dev binutils-dev openmpi-bin libopenmpi-dev libxext-dev libxt-dev libxrender-dev libgl1-mesa-dev libglu1-mesa-dev libqt4-dev qt4-dev-tools paraview [sudo] password for sml5kor: Reading package lists... Done Building dependency tree Reading state information... Done Package paraview is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'paraview' has no installation candidate Later I downloaded scotch-5.1.10b.tar.gz ParMGridGen-1.0.tar.gz ParMetis-3.1.1.tar.gz metis-5.0pre2.tar.gz mesquite-2.1.2.tar.gz libccmio-2.6.1.tar.gz cmake-2.8.11.tar.gz files from the respective websites and placed at OpenFOAM/OpenFOAM-1.6-ext/Thirdparty/rpmBuild/SOURCES directory Then ran the command ./AllMake.stage1 >& log.AllMake.stage1 I got message as "Package cmake-2.8.11 is already installed" in log file. Then ran ./AllMake.stage3 >& log.AllMake.stage3 Log file of this is as follows Code:
This system rpm command: rpm --force-debian ======================================== Starting ThirdParty AllMake: Stage3 ======================================== Package name : metis-5.0pre2 Package URL : http://glaros.dtc.umn.edu/gkhome/fetch/sw/metis/OLD/metis-5.0pre2.tar.gz RPM spec file name: metis-5.0pre2.spec Additional flags : Updating the ThirdParty environment variables before building package metis-5.0pre2 Package metis-5.0pre2 is already installed Done installing package Package name : ParMGridGen-1.0 Package URL : http://www.mgnet.org/mgnet/Codes/parmgridgen/ParMGridGen-1.0.tar.gz RPM spec file name: ParMGridGen-1.0.spec Additional flags : Updating the ThirdParty environment variables before building package ParMGridGen-1.0 Package ParMGridGen-1.0 is already installed Done installing package Package name : libccmio-2.6.1 Package URL : http://portal.nersc.gov/svn/visit/tags/2.4.2/third_party/libccmio-2.6.1.tar.gz RPM spec file name: libccmio-2.6.1.spec Additional flags : Updating the ThirdParty environment variables before building package libccmio-2.6.1 Package libccmio-2.6.1 is already installed Done installing package Package name : mesquite-2.1.2 Package URL : http://software.sandia.gov/~jakraft/mesquite-2.1.2.tar.gz RPM spec file name: mesquite-2.1.2.spec Additional flags : Updating the ThirdParty environment variables before building package mesquite-2.1.2 Package mesquite-2.1.2 is already installed Done installing package Package name : scotch-5.1.10b Package URL : https://gforge.inria.fr/frs/download.php/27583/scotch-5.1.10b.tar.gz RPM spec file name: scotch-5.1.10b.spec Additional flags : Updating the ThirdParty environment variables before building package scotch-5.1.10b Download scotch-5.1.10b.tar.gz from : https://gforge.inria.fr/frs/download.php/27583/scotch-5.1.10b.tar.gz --2014-03-13 10:23:17-- https://gforge.inria.fr/frs/download.php/27583/scotch-5.1.10b.tar.gz Resolving gforge.inria.fr (gforge.inria.fr)... failed: Name or service not known. wget: unable to resolve host address `gforge.inria.fr' Making package scotch-5.1.10b using RPM. Building package scotch-5.1.10b using SPEC file : scotch-5.1.10b.spec. Optional args: error: File /home/sml5kor/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/SOURCES/scotch-5.1.10b.tar.gz: No such file or directory Installing package: scotch-5.1.10b Uninstalling scotch-5.1.10b using RPM: scotch-5.1.10b-linux64GccDPOpt.x86_64 Installing scotch-5.1.10b using RPM file: /home/sml5kor/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/RPMS/x86_64/scotch-5.1.10b-linux64GccDPOpt.x86_64.rpm error: open of /home/sml5kor/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/RPMS/x86_64/scotch-5.1.10b-linux64GccDPOpt.x86_64.rpm failed: No such file or directory Done installing package Package name : ParMetis-3.1.1 Package URL : http://glaros.dtc.umn.edu/gkhome/fetch/sw/parmetis/OLD/ParMetis-3.1.1.tar.gz RPM spec file name: ParMetis-3.1.1.spec Additional flags : Updating the ThirdParty environment variables before building package ParMetis-3.1.1 Package ParMetis-3.1.1 is already installed Done installing package ======================================== Done ThirdParty AllMake: Stage3 ======================================== I feel its the problem of scotch-5.1.10b. Please help me to get rid of this . I am trying it from past 20 days . |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|