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

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

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

Reply
 
LinkBack Thread Tools Display Modes
Old   February 2, 2014, 23:15
Default foam-extend-3.0 installed error in Ubuntu about ThirdParty AllMake.stage3
  #1
New Member
 
Chen Yu
Join Date: Sep 2013
Posts: 18
Rep Power: 3
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 16:17. Reason: Added [CODE][/CODE]
chery1986 is online now   Reply With Quote

Old   February 4, 2014, 16:24
Default
  #2
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,258
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
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, 21:25
Default
  #3
New Member
 
Chen Yu
Join Date: Sep 2013
Posts: 18
Rep Power: 3
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 question about installing Openfoam 1.6-ext, 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 online now   Reply With Quote

Old   February 6, 2014, 18:04
Default
  #4
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,258
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
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, 22:33
Default
  #5
New Member
 
Chen Yu
Join Date: Sep 2013
Posts: 18
Rep Power: 3
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 online now   Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
error message with modeling a cube with a hold at the center hsingtzu OpenFOAM Native Meshers: blockMesh 2 March 14, 2012 10:56
mesh airfoil NACA0012 anand_30 OpenFOAM Meshing & Mesh Conversion 12 December 12, 2011 05:16
BlockMesh FOAM warning gaottino OpenFOAM Native Meshers: blockMesh 7 July 19, 2010 14:11
Axisymmetrical mesh Rasmus Gjesing (Gjesing) OpenFOAM Native Meshers: blockMesh 10 April 2, 2007 14:00
Import gmsh msh to Foam adorean Open Source Meshers: Gmsh, Netgen, CGNS, ... 24 April 27, 2005 08:19


All times are GMT -4. The time now is 01:15.