|
[Sponsors] |
[foam-extend.org] OpenFOAM-1.6-ext on Ubuntu 12.04 install errors |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 1, 2012, 03:42 |
|
#21 | |
Senior Member
Join Date: Jun 2011
Posts: 163
Rep Power: 15 |
Quote:
when I execute sudo chmod -R 751 /home/aminiyasser/OpenFOAM/OpenFOAM-1.6-ext/bin and then execute . ~/OpenFOAM/OpenFOAM-1.6-ext/etc/bashrc the following comment is shown but when I want to Compile the ThirdParty packages and execute the ./AllMake.stage1 >& log.AllMake.stage1 the linux did not ant thing please help me to install OF-1.6ext I have downloaded the Linux 12.04 at the Ubuntu site and boot it on flash memory and then install on my PC can you tell me why I encounter some errors which others person did not occur to them ? aminiyasser@aminiyasser-pc:~$ . ~/OpenFOAM/OpenFOAM-1.6-ext/etc/bashrc Sourcing: /home/aminiyasser/OpenFOAM/OpenFOAM-1.6-ext/etc/settings.sh Environment variables defined for OpenMPI: OPENMPI_BIN_DIR : /usr/bin OPENMPI_LIB_DIR : /usr/lib/openmpi/lib OPENMPI_INCLUDE_DIR : /usr/lib/openmpi/include /usr/lib/openmpi/include/openmpi OPENMPI_COMPILE_FLAGS : -I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi -pthread OPENMPI_LINK_FLAGS : -pthread -L/usr/lib/openmpi/lib -lmpi -lopen-rte -lopen-pal -ldl -Wl,--export-dynamic -lnsl -lutil -lm -ldl MPI_HOME : /usr MPI_ARCH_PATH : /usr OPAL_PREFIX : /usr PINC : -I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi -pthread PLIBS : -pthread -L/usr/lib/openmpi/lib -lmpi -lopen-rte -lopen-pal -ldl -Wl,--export-dynamic -lnsl -lutil -lm -ldl MESQUITE_DIR is initialized to: METIS_DIR is initialized to: PARMETIS_DIR is initialized to: PARMGRIDGEN_DIR is initialized to: LIBCCMIO_DIR is initialized to: SCOTCH_DIR is initialized to: CMAKE_DIR is initialized to: M4_DIR is initialized to: BISON_DIR is initialized to: FLEX_DIR is initialized to: ZOLTAN_DIR is initialized to: PYTHON_DIR is initialized to: QT_DIR is initialized to: PARAVIEW_DIR is initialized to: Sourcing: /home/aminiyasser/OpenFOAM/OpenFOAM-1.6-ext/etc/aliases.sh aminiyasser@aminiyasser-pc:~$ foam aminiyasser@aminiyasser-pc:~/OpenFOAM/OpenFOAM-1.6-ext$ ./AllMake.stage1 >& log.AllMake.stage1 aminiyasser@aminiyasser-pc:~/OpenFOAM/OpenFOAM-1.6-ext$ |
||
September 15, 2012, 23:47 |
errors in state4
|
#22 |
Member
jack
Join Date: Jul 2011
Posts: 52
Rep Power: 15 |
Hello everyone
I am trying to install openfoam-1.6-ext to ubuntu 12.04 32 bit. I am following the procedure given at http://openfoam-extend.git.sourcefor...02de56;hb=HEAD But I have problem at state4.The error is: Code:
error: open /home/lg88/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/RPMS/i386/ParaView-3.12.0-linuxGcc46DPOpt.i386.rpm fail:No such file or directory Can you tell me what should I do? Thank you very much! regards! lg88 |
|
September 16, 2012, 07:39 |
|
#23 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Hi lg88,
I tested the instructions myself on a VM with Ubuntu 12.04 i686, fully up-to-date and I was unable to trigger the same error. Therefore, please do the following steps:
Bruno
__________________
|
|
September 16, 2012, 12:09 |
|
#24 |
Member
jack
Join Date: Jul 2011
Posts: 52
Rep Power: 15 |
Hi Bruno
I have installed Ubuntu 12.04 (64bit).But I have met the same problem.I have attached the "log.AllMake.stage4" here.But it contains some chinese.And the main error I think is Code:
error: open /home/lg88/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/RPMS/x86_64/ParaView-3.12.0-linuxGcc46DPOpt.i386.rpm fail:No such file or directory I have deleted something,because it is too large. regards! lg88 |
|
September 16, 2012, 17:02 |
|
#25 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Hi lg88,
Looks like this is the reason: Code:
Could NOT find OpenGL (missing: OPENGL_gl_LIBRARY) Code:
sudo apt-get install git flex bison rpm g++ zlib1g-dev binutils-dev \ openmpi-bin libopenmpi-dev libxext-dev libxt-dev libxrender-dev \ libstdc++5 libgl1-mesa-dev libglu1-mesa-dev Code:
sudo apt-get install git flex bison rpm g++ zlib1g-dev binutils-dev openmpi-bin libopenmpi-dev libxext-dev libxt-dev libxrender-dev libstdc++5 libgl1-mesa-dev libglu1-mesa-dev Bruno
__________________
|
|
September 17, 2012, 01:45 |
|
#26 |
Member
jack
Join Date: Jul 2011
Posts: 52
Rep Power: 15 |
Hi Bruno
I have done what you tell me.Now the problem of state4 have been solved.But a new problem came up which atg have mentioned here before: Code:
the final ./Allwmake script hangs up reliably on the incompressible yPlusRAS: regards! lg88 |
|
September 17, 2012, 04:48 |
|
#27 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Hi lg88,
Try this: Code:
unset WM_NCOMPPROCS ./Allwmake > make.log 2>&1 Best regards, Bruno
__________________
|
|
September 17, 2012, 22:11 |
|
#28 |
Member
jack
Join Date: Jul 2011
Posts: 52
Rep Power: 15 |
Hi Bruno
With your command: Code:
unset WM_NCOMPPROCS ./Allwmake > make.log 2>&1 Thank you very much! lg88 |
|
November 5, 2012, 13:43 |
|
#29 | |
New Member
Atheendra
Join Date: Nov 2012
Posts: 10
Rep Power: 14 |
Quote:
I am also installing OF 1.6-ext on ubuntu 12.04(32 bit) and have the same problem as you- the ./Allwmake script stops running after compiling yPlusRas. the zlib1g-dev library seems to be installed fine. Do you know what could be the problem? Thanks! |
||
November 5, 2012, 14:07 |
|
#30 |
New Member
Atheendra
Join Date: Nov 2012
Posts: 10
Rep Power: 14 |
Sorry for the spam guys,I am new to the forum and didn't check this page of the thread before posting, and I tried Bruno's method of compilation and it seems to have worked, even though the log file doesn't show "Done" or any such similar message at the end.
Thanks! |
|
November 5, 2012, 16:00 |
|
#31 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Greetings Atheendra and welcome to the forum!
Quote:
And indeed, the script doesn't indicate any pretty messages. Once we get use to it, it becomes second nature to simply run Allwmake it a second time to confirm if it's all done or not Best regards, Bruno
__________________
|
||
November 30, 2012, 12:23 |
|
#32 |
New Member
Join Date: Dec 2010
Posts: 6
Rep Power: 15 |
Hi, I am trying to install OpenFoam-1.6-ext on Ubuntu-12.10-32bits, and I am having the same problem while running Allmake.stage4:
error: open /home/lasim/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/RPMS/i386/ParaView-3.12.0-linuxGcc46DPOpt.i386.rpm fail:No such file or directory All the necessary package mentioned in the build instructions for Ubuntu 12.04-32bits was installed. I don't know if it is necessary to install some other stuff for Ubuntu 12.10, have anyone tried? |
|
February 18, 2013, 18:13 |
|
#33 |
Member
Jack
Join Date: Aug 2012
Posts: 47
Rep Power: 14 |
Hi atg,
I know you posted me this a while ago; but I have only just got round to downloading the link. Is there anyway to install OF not on a Virtual Machine (that may sound like a stupid question - I am still downloading it (have realllll slow internet).. can I just mount it and run?) |
|
September 11, 2013, 09:19 |
|
#34 |
Member
behzad Ghasemi
Join Date: Sep 2013
Location: Iran
Posts: 56
Rep Power: 13 |
hi guys
im new here.im trying to instal openFOAM 1.6 on ubuntu 12.04 i did according the user guide and extract the .gtgz files but when i check the installation { Code:
$HOME/OpenFOAM/OpenFOAM-1.6/bin/foamInstallationTest i got some errors Code:
Executing /home/behzad/OpenFOAM/OpenFOAM-1.6/bin/foamInstallationTest: Checking basic setup... ------------------------------------------------------------------------------- Shell: bash Host: behzad-Dell-System-XPS-L502X OS: Linux version 3.2.0-23-generic ------------------------------------------------------------------------------- Checking main OpenFOAM env variables... ------------------------------------------------------------------------------- Environment_variable Set_to_file_or_directory Valid Crit ------------------------------------------------------------------------------- $WM_PROJECT_INST_DIR /home/behzad/OpenFOAM yes yes $WM_PROJECT_USER_DIR /home/behzad/OpenFOAM/behzad-1.6 yes no $WM_THIRD_PARTY_DIR /home/behzad/OpenFOAM/ThirdParty-1.6 yes yes ------------------------------------------------------------------------------- Checking the OpenFOAM env variables set on the PATH... ------------------------------------------------------------------------------- Environment_variable Set_to_file_or_directory Valid Path Crit ------------------------------------------------------------------------------- $WM_PROJECT_DIR /home/behzad/OpenFOAM/OpenFOAM-1.6 yes yes yes $FOAM_APPBIN ...1.6/applications/bin/linux64GccDPOpt no yes $FOAM_SITE_APPBIN ...penFOAM/site/1.6/bin/linux64GccDPOpt no no $FOAM_USER_APPBIN ...1.6/applications/bin/linux64GccDPOpt no no $WM_DIR /home/behzad/OpenFOAM/OpenFOAM-1.6/wmake yes yes yes ------------------------------------------------------------------------------- Checking the OpenFOAM env variables set on the LD_LIBRARY_PATH... ------------------------------------------------------------------------------- Environment_variable Set_to_file_or_directory Valid Path Crit ------------------------------------------------------------------------------- $FOAM_LIBBIN ...OAM/OpenFOAM-1.6/lib/linux64GccDPOpt no yes $FOAM_SITE_LIBBIN ...penFOAM/site/1.6/lib/linux64GccDPOpt no no $FOAM_USER_LIBBIN ...nFOAM/behzad-1.6/lib/linux64GccDPOpt no no $MPI_ARCH_PATH ...nmpi-1.3.3/platforms/linux64GccDPOpt no yes ------------------------------------------------------------------------------- Third party software ------------------------------------------------------------------------------- Software Version Location ------------------------------------------------------------------------------- WARNING: gcc version does not match gcc supplied with this release of OpenFOAM Supplied version: 4.3.3 User version : 4.6.3 Minimum required: 4.3.1 gcc 4.6.3 WARNING: Conflicting installations: OpenFOAM settings : /home/behzad/OpenFOAM/ThirdParty-1.6/gcc-4.3.3/platforms/linux64/bin/gcc current path : /usr/bin/gcc CRITICAL ERROR gzip 1.4 /bin/gzip tar 1.26 /bin/tar icoFoam WARNING: Conflicting installations: OpenFOAM settings : /home/behzad/OpenFOAM/OpenFOAM-1.6/applications/bin/linux64GccDPOpt/icoFoam current path : CRITICAL ERROR ------------------------------------------------------------------------------- Summary ------------------------------------------------------------------------------- Base configuration ok. The foam installation contains 2 critical error(s). Review the output for warning messages and consult the installation guide for trouble shooting. done. Code:
behzad@behzad-Dell-System-XPS-L502X:~$ cd $FOAM_RUN/tutorials/incompressible/icoFoam/cavity behzad@behzad-Dell-System-XPS-L502X:~/OpenFOAM/behzad-1.6/run/tutorials/incompressible/icoFoam/cavity$ blockMesh blockMesh: command not found behzad@behzad-Dell-System-XPS-L502X:~/OpenFOAM/behzad-1.6/run/tutorials/incompressible/icoFoam/cavity$ icoFoam icoFoam: command not found behzad@behzad-Dell-System-XPS-L502X:~/OpenFOAM/behzad-1.6/run/tutorials/incompressible/icoFoam/cavity$ paraFoam created temporary 'cavity.OpenFOAM' /home/behzad/OpenFOAM/OpenFOAM-1.6/bin/paraFoam: 129: /home/behzad/OpenFOAM/OpenFOAM-1.6/bin/paraFoam: paraview: not found please help me |
|
September 11, 2013, 17:35 |
|
#35 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Greetings Behzad and welcome to the forum!
I think you're confusing these two:
Best regards, Bruno
__________________
|
|
July 27, 2016, 16:06 |
OpenFoam 1.6-ext installation error on Ubuntu 16.04
|
#36 |
New Member
Manm
Join Date: Apr 2015
Posts: 16
Rep Power: 11 |
Hi,
I am installing OpenFoam 1.6-ext on my laptop working on Ubuntu 16.04 LTS. I followed the procedure as outlined in: https://openfoamwiki.net/index.php/I...u#Ubuntu_14.04 However, though it runs until step 15 of the above document, when I test it to run 'icoFoam -help' as per step 16, it gives 'icoFoam: command not found. I have attached the compressed file her. I don't think this is because of the Ubuntu versions being different. Kindly advise how do I address this issue. Thanks. Man |
|
August 7, 2016, 18:57 |
|
#37 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Quick answer: Use the same hack that is given for 16.04 here: https://openfoamwiki.net/index.php/I...u#Ubuntu_16.04 - namely this command:
Code:
find src applications -name "*.L" -type f | xargs sed -i -e 's=\(YY\_FLEX\_SUBMINOR\_VERSION\)=YY_FLEX_MINOR_VERSION < 6 \&\& \1=' |
|
August 8, 2016, 12:48 |
|
#38 |
New Member
Manm
Join Date: Apr 2015
Posts: 16
Rep Power: 11 |
Thank you.
I had reinstalled Ubuntu 14.04 and then Openfoam 1.6 extend and it had started working. |
|
|
|
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 06:29 |
Suggestion for a new sub-forum at OpenFOAM's Forum | wyldckat | Site Help, Feedback & Discussions | 20 | October 28, 2014 10:04 |
Environment errors with .deb install and ubuntu 13.04 64 bit | jonathanbyrn | OpenFOAM Installation | 14 | September 26, 2013 06:22 |
IcoFoam parallel woes | msrinath80 | OpenFOAM Running, Solving & CFD | 9 | July 22, 2007 03:58 |
Could anybody help me see this error and give help | liugx212 | OpenFOAM Running, Solving & CFD | 3 | January 4, 2006 19:07 |