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

[foam-extend.org] OpenFOAM-1.6-ext on Ubuntu 12.04 install errors

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 1, 2012, 03:42
Default
  #21
Senior Member
 
Join Date: Jun 2011
Posts: 163
Rep Power: 15
mechy is on a distinguished road
Quote:
Originally Posted by elvis View Post
Hi,

did you try to change the permission via chmod (hope you have got the rights to do so!?) user: 7=excute&read&write group: 5=excute&read other: 1=excute
sudo chmod -R 751 /home/aminiyasser/OpenFOAM/OpenFOAM-1.6-ext/bin
Hi
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$
mechy is offline   Reply With Quote

Old   September 15, 2012, 23:47
Default errors in state4
  #22
Member
 
jack
Join Date: Jul 2011
Posts: 52
Rep Power: 15
lg88 is on a distinguished road
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
So I check the 1386 folder.There is not a file name ParaView-3.12.0-linuxGcc46DPOpt.i386.rpm there.
Can you tell me what should I do?
Thank you very much!

regards!

lg88
lg88 is offline   Reply With Quote

Old   September 16, 2012, 07:39
Default
  #23
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
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
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:
  1. Run the command once again:
    Code:
    ./AllMake.stage4 >& log.AllMake.stage4
  2. Edit the resulting log file "log.AllMake.stage4" with a text editor and search-replace sensitive data, like user names and paths.
  3. Compress the log file:
    Code:
    tar -czf log.AllMake.stage4.tar.gz log.AllMake.stage4
  4. Attach the file "log.AllMake.stage4.tar.gz" to your next post.
Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   September 16, 2012, 12:09
Default
  #24
Member
 
jack
Join Date: Jul 2011
Posts: 52
Rep Power: 15
lg88 is on a distinguished road
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
There is not a file name ParaView-3.12.0-linuxGcc46DPOpt.i386.rpm in the folder: ThirdParty/rpmBuild/RPMS/x86_64

I have deleted something,because it is too large.

regards!

lg88
Attached Files
File Type: gz log.AllMake.stage4.tar.gz (58.8 KB, 6 views)
lg88 is offline   Reply With Quote

Old   September 16, 2012, 17:02
Default
  #25
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
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
Hi lg88,

Looks like this is the reason:
Code:
Could NOT find OpenGL (missing:  OPENGL_gl_LIBRARY)
Did you install the necessary packages? Namely run this long 3 line command:
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
If that doesn't work, try it in a single line like this:
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
Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   September 17, 2012, 01:45
Default
  #26
Member
 
jack
Join Date: Jul 2011
Posts: 52
Rep Power: 15
lg88 is on a distinguished road
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:
I have attached the log./Allmake here.
regards!

lg88
Attached Files
File Type: gz log.Allwmake.tar.gz (94.5 KB, 3 views)
lg88 is offline   Reply With Quote

Old   September 17, 2012, 04:48
Default
  #27
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
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
Hi lg88,

Try this:
Code:
unset WM_NCOMPPROCS
./Allwmake > make.log 2>&1
This way it'll build in single core and use the command I usually use for building... which basically does the same as the official instruction on 1.6-ext.

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   September 17, 2012, 22:11
Default
  #28
Member
 
jack
Join Date: Jul 2011
Posts: 52
Rep Power: 15
lg88 is on a distinguished road
Hi Bruno
With your command:
Code:
unset WM_NCOMPPROCS
./Allwmake > make.log 2>&1
I installed OF successfully.

Thank you very much!

lg88
lg88 is offline   Reply With Quote

Old   November 5, 2012, 13:43
Default
  #29
New Member
 
Atheendra
Join Date: Nov 2012
Posts: 10
Rep Power: 14
atheendra is on a distinguished road
Quote:
Originally Posted by atg View Post
I am not certain, but I think the problem I was having may have been due to the fact that this command (from the instructions) no longer appears to work:

sudo apt-get install zlib1g-dev

So if one uses the "all in one" command:

# You can also install everything at once:
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


one can miss the fact that one package did not install properly.

I downloaded it and installed it manually: http://packages.ubuntu.com/dapper/zlib1g-dev

Now stage 4 builds again.

Of course I could be totally wrong; if I knew anything I would not be asking for help here.

Thanks for your reply.

To answer your question, I tried it twice on two different machines, one with four core Xeon E3-1280 and 16Gb RAM, and one Core 2 Duo with 4Gb Ram, set to varying numbers of compiler processors. Both were failing at the same place. Now it is working on the Core2Duo machine in 32 bit again. I am debating whether to mess with the working 10.04 installation on the faster machine, as I have cufflink working over there now and it just doesn't seem worth the trouble.
Hi Karl,
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!
atheendra is offline   Reply With Quote

Old   November 5, 2012, 14:07
Default
  #30
New Member
 
Atheendra
Join Date: Nov 2012
Posts: 10
Rep Power: 14
atheendra is on a distinguished road
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!
atheendra is offline   Reply With Quote

Old   November 5, 2012, 16:00
Default
  #31
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
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
Greetings Atheendra and welcome to the forum!

Quote:
Originally Posted by atheendra View Post
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!
Good thing you wrote back, otherwise I was probably going to recycle the same answer

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
__________________
wyldckat is offline   Reply With Quote

Old   November 30, 2012, 12:23
Default
  #32
New Member
 
Join Date: Dec 2010
Posts: 6
Rep Power: 16
andreia is on a distinguished road
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?
andreia is offline   Reply With Quote

Old   February 18, 2013, 18:13
Default
  #33
Member
 
Jack
Join Date: Aug 2012
Posts: 47
Rep Power: 14
JackW is on a distinguished road
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?)
JackW is offline   Reply With Quote

Old   September 11, 2013, 09:19
Default
  #34
Member
 
behzad Ghasemi
Join Date: Sep 2013
Location: Iran
Posts: 56
Rep Power: 13
behzad-cfd is on a distinguished road
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.
and when i try to run the openfoams first example it does not work
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
what's wrong
please help me
behzad-cfd is offline   Reply With Quote

Old   September 11, 2013, 17:35
Default
  #35
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
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
Greetings Behzad and welcome to the forum!

I think you're confusing these two:
And since you are posting on this thread, which addresses OpenFOAM 1.6-ext, then I suggest you check these instructions: http://openfoamwiki.net/index.php/In...1.6-ext/Ubuntu

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   July 27, 2016, 16:06
Default OpenFoam 1.6-ext installation error on Ubuntu 16.04
  #36
New Member
 
Manm
Join Date: Apr 2015
Posts: 16
Rep Power: 11
Manm is on a distinguished road
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
Attached Files
File Type: gz logs.tar.gz (17.9 KB, 2 views)
Manm is offline   Reply With Quote

Old   August 7, 2016, 18:57
Default
  #37
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
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: 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='
Then run the build command again.
wyldckat is offline   Reply With Quote

Old   August 8, 2016, 12:48
Default
  #38
New Member
 
Manm
Join Date: Apr 2015
Posts: 16
Rep Power: 11
Manm is on a distinguished road
Thank you.
I had reinstalled Ubuntu 14.04 and then Openfoam 1.6 extend and it had started working.
Manm is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 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


All times are GMT -4. The time now is 07:05.