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

foam-extend-3.0 installed error in Ubuntu about ThirdParty AllMake.stage3

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 2, 2014, 22:15
Default foam-extend-3.0 installed error in Ubuntu about ThirdParty AllMake.stage3
  #1
New Member
 
Chen Yu
Join Date: Sep 2013
Posts: 19
Rep Power: 12
chery1986 is on a distinguished road
I tried to install FOAM-ext-3.0 on Ubuntu 12.04 LTS 32bit and follow the installation instruction on http://openfoamwiki.net/index.php/Installation/Linux/foam-extend-3.0/Ubuntu#Ubuntu_12.04
But I met some error when stage3 libccmio of Thidparty:
Code:
Package name      : libccmio-2.6.1
Package URL       : http://portal.nersc.gov/svn/visit/ta...o-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
RPM file name     : /opt/foam-extend-3.0/ThirdParty/rpmBuild/RPMS/i386/libccmio-2.6.1-linuxGcc46DPOpt.i386.rpm
Making package libccmio-2.6.1 using RPM.
Building package libccmio-2.6.1 using SPEC file : libccmio-2.6.1.spec. Optional args: 
Executing(%prep): /bin/sh -e /opt/foam-extend-3.0/ThirdParty/rpmBuild/tmp/rpm-tmp.BpdaUg
+ umask 022
+ cd /opt/foam-extend-3.0/ThirdParty/rpmBuild/BUILD
+ cd /opt/foam-extend-3.0/ThirdParty/rpmBuild/BUILD
+ rm -rf libccmio-2.6.1
+ /bin/gzip -dc /opt/foam-extend-3.0/ThirdParty/rpmBuild/SOURCES/libccmio-2.6.1.tar.gz
+ /bin/tar -xf -
+ STATUS=0
+ [ 0 -ne 0 ]
+ cd libccmio-2.6.1
+ echo Patch #0 (libccmio-2.6.1.patch_0):
Patch #0 (libccmio-2.6.1.patch_0):
+ /bin/cat /opt/foam-extend-3.0/ThirdParty/rpmBuild/SOURCES/libccmio-2.6.1.patch_0
+ /usr/bin/patch -s -p1 --fuzz=0
+ exit 0
Executing(%build): /bin/sh -e /opt/foam-extend-3.0/ThirdParty/rpmBuild/tmp/rpm-tmp.SwAurs
+ umask 022
+ cd /opt/foam-extend-3.0/ThirdParty/rpmBuild/BUILD
+ cd libccmio-2.6.1
+ [ -n gcc ]
+ export CC=gcc
+ [ -n  ]
+ [ -n g++ ]
+ export CXX=g++
+ [ -n  ]
+ [ -n  ]
+ [ -n  ]
+ [ -n  ]
+ [ -z 4 ]
+ unset RELEASE
+ unset DEBUG
+ unset STATIC
+ unset SHARED
+ [ -d libadf ]
+ cd libadf
+ RELEASE=1 SHARED=1 make -f Makefile.qmake all
..//config/runqmake ../ \
      -o Makefile.adf adf.pro 2>&1 | tee qmake.vars
..//config/runqmake: line 47: /opt/foam-extend-3.0/ThirdParty/rpmBuild/BUILD/libccmio-2.6.1/libadf/..//config/unknown/qmake: No such file or directory
make[1]: Entering directory `/opt/foam-extend-3.0/ThirdParty/rpmBuild/BUILD/libccmio-2.6.1/libadf'
make[1]: *** No rule to make target `/u/xeona04/people/prewett/src/libccmio/config/linux64_2.4-x86-glibc_2.2.5/qmake.conf', needed by `Makefile.adf'.  Stop.
make[1]: Leaving directory `/opt/foam-extend-3.0/ThirdParty/rpmBuild/BUILD/libccmio-2.6.1/libadf'
make: *** [all] Error 2
error: Bad exit status from /opt/foam-extend-3.0/ThirdParty/rpmBuild/tmp/rpm-tmp.SwAurs (%build)


RPM build errors:
    Bad exit status from /opt/foam-extend-3.0/ThirdParty/rpmBuild/tmp/rpm-tmp.SwAurs (%build)
Installing package: libccmio-2.6.1
  Uninstalling libccmio-2.6.1 using RPM: libccmio-2.6.1-linuxGcc46DPOpt.i386
  Installing libccmio-2.6.1 using RPM file: /opt/foam-extend-3.0/ThirdParty/rpmBuild/RPMS/i386/libccmio-2.6.1-linuxGcc46DPOpt.i386.rpm
error: open of /opt/foam-extend-3.0/ThirdParty/rpmBuild/RPMS/i386/libccmio-2.6.1-linuxGcc46DPOpt.i386.rpm failed: No such file or directory
Done installing package
It seems that it cannot regnize the system and configure the installation of libccmio. Anyone have idea how to fix this problem. Thanks a lot.

Last edited by wyldckat; February 4, 2014 at 15:17. Reason: Added [CODE][/CODE]
chery1986 is offline   Reply With Quote

Old   February 4, 2014, 15:24
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
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 Chen Yu and welcome to the forum!

I have a feeling that you did not follow only one set of instructions, which lead to the confusion in the build process.
I say this because:
  1. The link you provided points to here: http://openfoamwiki.net/index.php/In...u#Ubuntu_12.04
  2. But you meant to give this link: http://openfoamwiki.net/index.php/In...u#Ubuntu_12.04
  3. Then there is the detail that the build script is trying to build at "/opt/foam-extend-3.0/", which implies that something strange is going on, since the instructions do not tell you to install in "/opt".
Therefore, in order to be able to help you, I need to know:
  1. Do you have any other version of OpenFOAM already installed in your machine?
    1. If you do, have you tried following these instructions: Using aliases to help manage multiple OpenFOAM versions
  2. Did you do anything differently from the instructions provided here: http://openfoamwiki.net/index.php/In...u#Ubuntu_12.04 And if you did, what exactly was it?
Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   February 4, 2014, 20:25
Default
  #3
New Member
 
Chen Yu
Join Date: Sep 2013
Posts: 19
Rep Power: 12
chery1986 is on a distinguished road
Thank you for the reply.

I have another version of OpenFoam2.1.1 in /opt, so I put extend-3.0 in /opt. And I also changed etc/bashrc respectively and used alias to manage different version of OF.

You are right that I mistaken the installation instruction for different versions (1.6ext and extend3.0). After I realized it, I also tried to repeat the steps, the error still exits.

I also installed extend-3.0 on another computer with Ubuntu_x86_64, but everything looks well. This post showed similar problem http://www.cfd-online.com/Forums/ope...m-1-6-ext.html, and the author solved the problem with upgrade OS to x86_64 version.

Shall I clean all the installation of extend-3.0 and restart from the very beginning follow the instructions? Or shall I upgrade the OS to X86_64?


Quote:
Originally Posted by wyldckat View Post
Greetings Chen Yu and welcome to the forum!

I have a feeling that you did not follow only one set of instructions, which lead to the confusion in the build process.
I say this because:
  1. The link you provided points to here: http://openfoamwiki.net/index.php/In...u#Ubuntu_12.04
  2. But you meant to give this link: http://openfoamwiki.net/index.php/In...u#Ubuntu_12.04
  3. Then there is the detail that the build script is trying to build at "/opt/foam-extend-3.0/", which implies that something strange is going on, since the instructions do not tell you to install in "/opt".
Therefore, in order to be able to help you, I need to know:
  1. Do you have any other version of OpenFOAM already installed in your machine?
    1. If you do, have you tried following these instructions: Using aliases to help manage multiple OpenFOAM versions
  2. Did you do anything differently from the instructions provided here: http://openfoamwiki.net/index.php/In...u#Ubuntu_12.04 And if you did, what exactly was it?
Best regards,
Bruno
chery1986 is offline   Reply With Quote

Old   February 6, 2014, 17:04
Default
  #4
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
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 Chen,

Yesterday I spent some time trying to figure out how to patch "libccmio" for building in 32bit, but I didn't have any success

If you're in a hurry, I believe you have at least two quick solutions:
  1. Ignore this error, since "libccmio" is not important for foam-extend 3.0 to work as intended. You would only need it if you need to convert CCM meshes to OpenFOAM.
  2. You might want to install a 64 bit (x86_64) Linux Distribution, since it allows you to work with more than 2GB of RAM per application.
Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   February 6, 2014, 21:33
Default
  #5
New Member
 
Chen Yu
Join Date: Sep 2013
Posts: 19
Rep Power: 12
chery1986 is on a distinguished road
Quote:
Originally Posted by wyldckat View Post
Hi Chen,

Yesterday I spent some time trying to figure out how to patch "libccmio" for building in 32bit, but I didn't have any success

If you're in a hurry, I believe you have at least two quick solutions:
  1. Ignore this error, since "libccmio" is not important for foam-extend 3.0 to work as intended. You would only need it if you need to convert CCM meshes to OpenFOAM.
  2. You might want to install a 64 bit (x86_64) Linux Distribution, since it allows you to work with more than 2GB of RAM per application.
Best regards,
Bruno
Thank you very much.
chery1986 is offline   Reply With Quote

Reply


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
[Other] mesh airfoil NACA0012 anand_30 OpenFOAM Meshing & Mesh Conversion 13 March 7, 2022 17:22
[blockMesh] error message with modeling a cube with a hold at the center hsingtzu OpenFOAM Meshing & Mesh Conversion 2 March 14, 2012 09:56
[blockMesh] BlockMesh FOAM warning gaottino OpenFOAM Meshing & Mesh Conversion 7 July 19, 2010 14:11
[blockMesh] Axisymmetrical mesh Rasmus Gjesing (Gjesing) OpenFOAM Meshing & Mesh Conversion 10 April 2, 2007 14:00
[Gmsh] Import gmsh msh to Foam adorean OpenFOAM Meshing & Mesh Conversion 24 April 27, 2005 08:19


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