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

[OpenFOAM.org] OpenFOAM installation Fedora 19

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 20, 2014, 15:20
Default OpenFOAM installation Fedora 19
  #1
dsn
Member
 
Aditya
Join Date: Nov 2014
Posts: 35
Rep Power: 11
dsn is on a distinguished road
Hi all,

I am trying to install openfoam v2.3.0 from the link by downloading the RPM's : http://www.openfoam.org/download/fedora.php

I have recently installed Fedora 19 by erasing the older version from the disk.

When I execute the first command on the page i.e
sudo yum groupinstall 'Development Tools'

I get the following error in my terminal.Can someone please tell me how to get around it and also I am having great trouble installing Openfoam as such.


Screenshot from 2014-11-20 14:17:40.jpeg

I have spent a lot of time trying to understand the process and have failed each time. It will be really great if I can install it

Thanks in advance
dsn is offline   Reply With Quote

Old   November 20, 2014, 15:44
Default
  #2
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,938
Rep Power: 39
alexeym has a spectacular aura aboutalexeym has a spectacular aura about
Send a message via Skype™ to alexeym
Hi,

can you tell us a little bit more about

Quote:
I have recently installed Fedora 19 by erasing the older version from the disk.
as it seems your new installation conflicts with the old one. In fact the error has nothing to do with OpenFOAM.
alexeym is offline   Reply With Quote

Old   November 20, 2014, 16:00
Default
  #3
dsn
Member
 
Aditya
Join Date: Nov 2014
Posts: 35
Rep Power: 11
dsn is on a distinguished road
I installed Fedora 19 onto a bootable usb stick and during the rebooting process installed it by erasing the older version i.e Fedora 18 from the hard disk.

I dont remember exactly but I formatted the entire disk so as to have the entire space for the new version.
dsn is offline   Reply With Quote

Old   November 20, 2014, 16:22
Default
  #4
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,938
Rep Power: 39
alexeym has a spectacular aura aboutalexeym has a spectacular aura about
Send a message via Skype™ to alexeym
Sounds right (well, maybe the conflict is a problem of Fedora 19, or maybe you're mistaken about "formatted the entire disk").

What will you get if you try

Code:
$ sudo yum remove shim-unsigned
and then proceed with sudo yum groupinstall 'Development Tools'.
alexeym is offline   Reply With Quote

Old   November 20, 2014, 16:42
Default
  #5
dsn
Member
 
Aditya
Join Date: Nov 2014
Posts: 35
Rep Power: 11
dsn is on a distinguished road
thank you so much!!! the first problem is solved.

I was able to execute and install the programs associated with the first two commands on the link.

Now, I run into another problem. When I try to copy paste the link into the terminal and change the version of the fedora 18 to 19 as instructed and execute it. I get the following error

download_error.jpeg

While the first link in the follwoing works the second and third show the error mentioned above:

download_instructionss.jpeg

Hope you will be able to help me on this too
Attached Images
File Type: jpeg Screenshot from 2014-11-20 15:27:03.jpeg (47.2 KB, 4 views)
dsn is offline   Reply With Quote

Old   November 20, 2014, 23:16
Default Installing Paraview through source operation
  #6
dsn
Member
 
Aditya
Join Date: Nov 2014
Posts: 35
Rep Power: 11
dsn is on a distinguished road
Hi All,

I have installed OpenFOAM 2.3.0 from source by following the instructions on the website and the installation seems to be a successful one until the point where Paraview has to be installed.

http://www.openfoam.org/download/source.php

In the above mentioned link, under the installation of Paraview, I have compiled succesfully the ./makeCmake script but when I execute the next script which is

paraview.jpeg

I get the following error in the terminal

terminal.jpeg

Can someone please tell me what is going on here and how this can be fixed as I believe this is just the last step in getting Paraview to run.

Thanks
dsn is offline   Reply With Quote

Old   November 21, 2014, 03:34
Default
  #7
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,938
Rep Power: 39
alexeym has a spectacular aura aboutalexeym has a spectacular aura about
Send a message via Skype™ to alexeym
There's no binary 2.3.0 release for Fedora. Either you go with 2.2.2, or build it from sources, or try to install RHEL version (though from software point of view F19 is RHEL7, and RPMs are for 6.5).
alexeym is offline   Reply With Quote

Old   November 23, 2014, 17:00
Default
  #8
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
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 to all!

For future reference, Alexey's answer refers to the post #5. The post #6 was moved from another thread to this one, since it's still relevant to the same issue.

@dsn: Try following these instructions meant for Fedora 20: http://openfoamwiki.net/index.php/In...dora#Fedora_20

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   April 4, 2015, 18:07
Default Parallel Processing Error OpenFOAM
  #9
dsn
Member
 
Aditya
Join Date: Nov 2014
Posts: 35
Rep Power: 11
dsn is on a distinguished road
Hi Everyone,

I am trying to run the cavity case in parallel. I copied the decomposeParDict from another tutorial case and executed it in the command line.

But then I get this error..shown below in the attachment. Can someone please help me out with this problem and tell me why this happens?

Thanks a ton
Aditya
Attached Images
File Type: jpg parallel_error.jpg (47.2 KB, 5 views)
dsn is offline   Reply With Quote

Old   April 4, 2015, 18:35
Default
  #10
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
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:
  1. You should have posted the text, not an image. The error is because the "libscotch.so" library was not found.
  2. You will have to provide the exact details (or at least the instructions you followed) on how you installed OpenFOAM and in which Linux Distribution, because clearly something went wrong during the installation.
wyldckat is offline   Reply With Quote

Old   April 4, 2015, 18:38
Default
  #11
dsn
Member
 
Aditya
Join Date: Nov 2014
Posts: 35
Rep Power: 11
dsn is on a distinguished road
Oh so the only fix is to reinstall OpenFOAM? Is there a way to fix this error by changing some parameters in the bash file?

Thanks once again for the help!!
dsn is offline   Reply With Quote

Old   April 4, 2015, 18:43
Default
  #12
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
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
Quote:
Originally Posted by dsn View Post
Is there a way to fix this error by changing some parameters in the bash file?
I need to know how you installed OpenFOAM and in which Linux Distribution, so that I can deduce what might have gone wrong.
wyldckat is offline   Reply With Quote

Old   April 4, 2015, 18:55
Default
  #13
dsn
Member
 
Aditya
Join Date: Nov 2014
Posts: 35
Rep Power: 11
dsn is on a distinguished road
I compiled OpenFOAM 2.3.0 from source by following the instructions given on this page:
http://www.openfoam.org/download/source.php

and Im using Fedora 19.
dsn is offline   Reply With Quote

Old   April 4, 2015, 19:05
Default
  #14
dsn
Member
 
Aditya
Join Date: Nov 2014
Posts: 35
Rep Power: 11
dsn is on a distinguished road
Hi,

I tried the command mpirun --version in the terminal to see if openmpi is installed correctly but i get the error

[aditya@localhost ~]$ mpirun --version
--------------------------------------------------------------------------
Sorry! You were supposed to get help about:
orterun:version
But I couldn't open the help file:
/home/aditya/OpenFOAM/ThirdParty-2.3.0/platforms/linux64Gcc/openmpi-1.6.5/share/openmpi/help-orterun.txt: No such file or directory. Sorry!
--------------------------------------------------------------------------

Does it mean that openmpi is not installed in my system? sorry for the silly doubt Im a new user of linux systems and I cant yet figure out basic things.

THanks
dsn is offline   Reply With Quote

Old   April 5, 2015, 07:50
Default
  #15
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
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 Aditya,

I've moved your posts to this older thread, since it seems that the installation you made of OpenFOAM 2.3.0 was not completed with complete success, since clearly several problems still occur.

As for installation instructions you're referring to, they are now located here: http://www.openfoam.org/archive/2.3....oad/source.php

There is not yet enough information in order to understand why your installation is broken, therefore, please answer the following questions:
  1. Do you have more than one OpenFOAM version installed?
  2. Did you modify any files in OpenFOAM while you were installing it?
  3. Do you remember if you following any of the instructions given here: http://openfoamwiki.net/index.php/In...dora#Fedora_20
  4. What does the following command give you?
    Code:
    tail ~/.bashrc
Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   April 6, 2015, 16:50
Default
  #16
dsn
Member
 
Aditya
Join Date: Nov 2014
Posts: 35
Rep Power: 11
dsn is on a distinguished road
Hi Bruno,

I had previously installed OF 2.3.0 but then Paraview was not working. Hence, I deleted the OF folder from my home directory i.e just moved it to trash. I am new to linux and so didnt know how to uninstall it. So I am not sure if there are two versions of OF installed in my system.

I re-installed OF 2.3.0 from source using the instructions given on OF website. This time everything worked fine, even parafoam but when I was trying to run the simulations in parallel, I was getting the above mentioned error.

The tail ~/.bashrc command gives the following output:

Code:
[aditya@localhost ~]$ tail ~/.bashrc
source $HOME/OpenFOAM/OpenFOAM-2.3.0/etc/bashrc
fi

# User specific aliases and functions

export PATH=/usr/lib64/openmpi/bin/:$PATH 
export LD_LIBRARY_PATH=/usr/lib64/openmpi/lib/:$LD_LIBRARY_PATH
export ParaView_DIR=/home/aditya/OpenFOAM/ThirdParty-2.3.0/platforms/linux64Gcc/ParaView-4.1.0
        export PATH=$ParaView_DIR/bin:$PATH
        export PV_PLUGIN_PATH=$FOAM_LIBBIN/paraview-4.1
Hope you will be able to find the problem.

Thanks!!!

Last edited by wyldckat; April 6, 2015 at 16:53. Reason: Added [CODE][/CODE]
dsn is offline   Reply With Quote

Old   April 6, 2015, 16:55
Default
  #17
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
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 Aditya,

You have more data in the file "~/.bashrc" than I was expecting.
Please let me know what does this give you:
Code:
tail -30 ~/.bashrc
it's meant to reveal the last 30 lines of the file, instead of only 10 lines.

Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   April 6, 2015, 17:00
Default
  #18
dsn
Member
 
Aditya
Join Date: Nov 2014
Posts: 35
Rep Power: 11
dsn is on a distinguished road
It just gives me the same thing,

[aditya@localhost ~]$ tail -30 ~/.bashrc
Code:
# .bashrc

# Source global definitions
if [ -f /etc/bashrc ]; then
    . /etc/bashrc
source $HOME/OpenFOAM/OpenFOAM-2.3.0/etc/bashrc
fi

# User specific aliases and functions

export PATH=/usr/lib64/openmpi/bin/:$PATH 
export LD_LIBRARY_PATH=/usr/lib64/openmpi/lib/:$LD_LIBRARY_PATH
export ParaView_DIR=/home/aditya/OpenFOAM/ThirdParty-2.3.0/platforms/linux64Gcc/ParaView-4.1.0
        export PATH=$ParaView_DIR/bin:$PATH
        export PV_PLUGIN_PATH=$FOAM_LIBBIN/paraview-4.1

Last edited by wyldckat; April 6, 2015 at 17:05. Reason: Added [CODE][/CODE]
dsn is offline   Reply With Quote

Old   April 6, 2015, 17:11
Default
  #19
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
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 Aditya,

OK, this gives me a clearer picture of what's happening.

Two more details I need to know:
  1. What does this give you:
    Code:
    ls -l $WM_THIRD_PARTY_DIR/platforms/linux64Gcc/
  2. And what does this give you:
    Code:
    find $FOAM_LIBBIN -type d
Because if my guess is correct, you have a mixed installation that inherited some details from the old installation, which is why the current installation is somewhat broken.

Best regards,
Bruno


PS: When you post the output from the command line, please follow the steps given here: Posting code and output with [CODE]
wyldckat is offline   Reply With Quote

Old   April 6, 2015, 17:40
Default
  #20
dsn
Member
 
Aditya
Join Date: Nov 2014
Posts: 35
Rep Power: 11
dsn is on a distinguished road
hi Bruno,

The first command gives me the output

Code:
[aditya@localhost ~]$ ls -l $WM_THIRD_PARTY_DIR/platforms/linux64Gcc/
total 8
drwxrwxr-x. 6 aditya aditya 4096 Mar 17 12:56 cmake-2.8.12.1
drwxrwxr-x. 6 aditya aditya 4096 Mar 17 13:03 ParaView-4.1.0
The second command gives the following output

Code:
[aditya@localhost ~]$ find $FOAM_LIBBIN -type d
/home/aditya/OpenFOAM/OpenFOAM-2.3.0/platforms/linux64GccDPOpt/lib
/home/aditya/OpenFOAM/OpenFOAM-2.3.0/platforms/linux64GccDPOpt/lib/openmpi-1.6.5
/home/aditya/OpenFOAM/OpenFOAM-2.3.0/platforms/linux64GccDPOpt/lib/dummy
/home/aditya/OpenFOAM/OpenFOAM-2.3.0/platforms/linux64GccDPOpt/lib/paraview-4.1
Hope you are able to figure out whats happening
dsn is offline   Reply With Quote

Reply

Tags
fedora 19, openfoam installation


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
OpenFOAM Training Jan-Jul 2017, Virtual, London, Houston, Berlin CFDFoundation OpenFOAM Announcements from Other Sources 0 January 4, 2017 07:15
[OpenFOAM.org] OpenFOAM 3.0.0 Installation - from source code fazalhaq OpenFOAM Installation 15 July 7, 2016 21:09
OpenFOAM 2.2.2 source pack installation on Xubuntu 13.10 zordiack OpenFOAM Installation 1 October 26, 2013 14:08
OpenFOAM 1.7 installation on Redhat linux maxims OpenFOAM Installation 2 November 30, 2012 05:29
New OpenFOAM Forum Structure jola OpenFOAM 2 October 19, 2011 07:55


All times are GMT -4. The time now is 12:52.