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

Install OF 1.6.ext on Arch based distribution

Register Blogs Community New Posts Updated Threads Search

Like Tree4Likes
  • 2 Post By mbeaudoin
  • 2 Post By mbeaudoin

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 6, 2013, 08:43
Default Install OF 1.6.ext on Arch based distribution
  #1
Member
 
Miro
Join Date: Jan 2013
Location: Europe
Posts: 51
Rep Power: 13
miro2000 is on a distinguished road
Hello everyone,

I would like to compile OF 1.6.ext on my new Manjaro, which is great.
There seems to be a problem with the rpm packages. From what I know so far it seems that Arch is not compatible with .rpm packages, so ThirdParty won't compile.

As for now I don't know any better, so is it possible to find a list of ThirdParty software so I can install it from supported repositories?

Thanks for reading,
- miro
miro2000 is offline   Reply With Quote

Old   October 6, 2013, 13:56
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
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 Miro,

I find that strange, a Linux Distribution unable to handle RPMs. Either way, I don't have the time to pop one Manjaro installation into a VM

Have a look into the following files:
Code:
etc/prefs.sh-EXAMPLE
ThirdParty/rpmBuild/SPECS
There you'll find most of the 3rd party related settings and third-party packages needed.

By the way, which GCC version do you have installed in Manjaro?

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   October 6, 2013, 14:05
Default
  #3
Member
 
Miro
Join Date: Jan 2013
Location: Europe
Posts: 51
Rep Power: 13
miro2000 is on a distinguished road
Thanks for answering,
well I could be wrong, that's why I'm posting here since I'm kinda new to the whole Linux world. I had no idea it has so much stuff in it...

Anyway, I have gcc 4.8.1-3 and my Allmake.stage3 says:

Code:
tools/makeThirdPartyFunctionsForRPM: line 34: rpm: command not found

This system rpm command: rpm 

========================================
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
Making package metis-5.0pre2 using RPM.
Building package metis-5.0pre2 using SPEC file : metis-5.0pre2.spec. Optional args: 
tools/makeThirdPartyFunctionsForRPM: line 158: rpmbuild: command not found
Installing package: metis-5.0pre2
  Uninstalling metis-5.0pre2 using RPM: metis-5.0pre2-linux64GccDPOpt.
  Installing metis-5.0pre2 using RPM file: /home/g/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/RPMS//metis-5.0pre2-linux64GccDPOpt..rpm
tools/makeThirdPartyFunctionsForRPM: line 191: rpm: command not found
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
Making package ParMGridGen-1.0 using RPM.
Building package ParMGridGen-1.0 using SPEC file : ParMGridGen-1.0.spec. Optional args: 
tools/makeThirdPartyFunctionsForRPM: line 158: rpmbuild: command not found
Installing package: ParMGridGen-1.0
  Uninstalling ParMGridGen-1.0 using RPM: ParMGridGen-1.0-linux64GccDPOpt.
  Installing ParMGridGen-1.0 using RPM file: /home/ss/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/RPMS//ParMGridGen-1.0-linux64GccDPOpt..rpm
tools/makeThirdPartyFunctionsForRPM: line 191: rpm: command not found
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
Making package libccmio-2.6.1 using RPM.
Building package libccmio-2.6.1 using SPEC file : libccmio-2.6.1.spec. Optional args: 
tools/makeThirdPartyFunctionsForRPM: line 158: rpmbuild: command not found
Installing package: libccmio-2.6.1
  Uninstalling libccmio-2.6.1 using RPM: libccmio-2.6.1-linux64GccDPOpt.
  Installing libccmio-2.6.1 using RPM file: /home/ss/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/RPMS//libccmio-2.6.1-linux64GccDPOpt..rpm
tools/makeThirdPartyFunctionsForRPM: line 191: rpm: command not found
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
Making package mesquite-2.1.2 using RPM.
Building package mesquite-2.1.2 using SPEC file : mesquite-2.1.2.spec. Optional args: 
tools/makeThirdPartyFunctionsForRPM: line 158: rpmbuild: command not found
Installing package: mesquite-2.1.2
  Uninstalling mesquite-2.1.2 using RPM: mesquite-2.1.2-linux64GccDPOpt.
  Installing mesquite-2.1.2 using RPM file: /home/a/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/RPMS//mesquite-2.1.2-linux64GccDPOpt..rpm
tools/makeThirdPartyFunctionsForRPM: line 191: rpm: command not found
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
Making package scotch-5.1.10b using RPM.
Building package scotch-5.1.10b using SPEC file : scotch-5.1.10b.spec. Optional args: 
tools/makeThirdPartyFunctionsForRPM: line 158: rpmbuild: command not found
Installing package: scotch-5.1.10b
  Uninstalling scotch-5.1.10b using RPM: scotch-5.1.10b-linux64GccDPOpt.
  Installing scotch-5.1.10b using RPM file: /home/aa/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/RPMS//scotch-5.1.10b-linux64GccDPOpt..rpm
tools/makeThirdPartyFunctionsForRPM: line 191: rpm: command not found
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
Making package ParMetis-3.1.1 using RPM.
Building package ParMetis-3.1.1 using SPEC file : ParMetis-3.1.1.spec. Optional args: 
tools/makeThirdPartyFunctionsForRPM: line 158: rpmbuild: command not found
Installing package: ParMetis-3.1.1
  Uninstalling ParMetis-3.1.1 using RPM: ParMetis-3.1.1-linux64GccDPOpt.
  Installing ParMetis-3.1.1 using RPM file: /home/aa/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/RPMS//ParMetis-3.1.1-linux64GccDPOpt..rpm
tools/makeThirdPartyFunctionsForRPM: line 191: rpm: command not found
Done installing package 

========================================
Done ThirdParty AllMake: Stage3
========================================
Thanks again,
- miro

edit: I just remembered that it can handle rpm, just not in this way. It needs some app (called rpm extract I think) and it's fairly complicated I would say.

Last edited by miro2000; October 9, 2013 at 15:13. Reason: I won't tell
miro2000 is offline   Reply With Quote

Old   October 6, 2013, 14:20
Default
  #4
Senior Member
 
Martin Beaudoin
Join Date: Mar 2009
Posts: 332
Rep Power: 22
mbeaudoin will become famous soon enough
Hello,

It turns out that compiling and installing rpm 5.2.1 from source code is relatively easy on that platform.

As a quick test, after successfully compiling and installing rpm 5.2.1 on Manjaro, I just went through the installation of all the packages from AllMake.stage1, AllMake.stage2 and AllMake.stage3 without any major problems.

So you might want to explore that path if you are comfortable compiling and installing software packages from scratch.

Otherwise, just wait for a few days, I should be able to contribute a compilation recipe for OpenFOAM-1.6-ext on Manjaro under ./doc/buildInstructions.

Martin

Quote:
Originally Posted by miro2000 View Post
Hello everyone,

I would like to compile OF 1.6.ext on my new Manjaro, which is great.
There seems to be a problem with the rpm packages. From what I know so far it seems that Arch is not compatible with .rpm packages, so ThirdParty won't compile.

As for now I don't know any better, so is it possible to find a list of ThirdParty software so I can install it from supported repositories?

Thanks for reading,
- miro
wyldckat and miro2000 like this.
mbeaudoin is offline   Reply With Quote

Old   October 9, 2013, 14:39
Default
  #5
Senior Member
 
Martin Beaudoin
Join Date: Mar 2009
Posts: 332
Rep Power: 22
mbeaudoin will become famous soon enough
> Otherwise, just wait for a few days, I should be able to contribute a compilation recipe for OpenFOAM-1.6-ext on Manjaro under ./doc/buildInstructions.

Done. The whole compilation went pretty smoothly for a fresh installation of Manjaro.

You will have to refresh your local copy of the repository in order to get the full instructions, plus a couple of modifications for the ThirdParty packages.

The instructions for Manjaro are located here:
http://sourceforge.net/p/openfoam-ex...jaro_64bit.txt

or here on your local machine:
$WM_PROJECT_DIR/doc/buildInstructions/Arch/Manjaro/Compilation_Manjaro_64bit.txt

Enjoy,

Martin
wyldckat and miro2000 like this.
mbeaudoin 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
Issues related to the OpenFOAM CAE-Linux based live distribution tomislav_maric OpenFOAM Installation 23 June 19, 2012 03:54
CFX11 + Fortran compiler ? Mohan CFX 20 March 30, 2011 18:56
incorrect temperature in pressure based solution Kian FLUENT 1 July 6, 2009 05:59
Absorption coeff:Cell or domain based for boiler DEV FLUENT 1 October 1, 2008 06:57
Pressure based and Density based Solver Xobile Siemens 1 November 30, 2004 21:13


All times are GMT -4. The time now is 03:36.