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

[OpenFOAM.org] OF-2.3.1. on Fedora 21 environment not set

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

Like Tree1Likes
  • 1 Post By hireegy

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 17, 2014, 17:45
Question OF-2.3.1. on Fedora 21 environment not set
  #1
New Member
 
Andrei
Join Date: Dec 2014
Posts: 3
Rep Power: 11
hireegy is on a distinguished road
Hi everyone,
I installed today OpenFOAM from the RPM packages found here:
http://rpm.pbone.net/index.php3/stat...86_64.rpm.html
I then went through the steps of the installation guide:
http://www.openfoam.org/download/source.php
at the step of "setting the environment variables", I did as told, the line:
source $HOME/OpenFOAM/OpenFOAM-2.3.1/etc/bashrc
is at the end of my $HOME/.bashrc file. Then I typed "source $HOME/.bashrc" in the terminal, although in user mode, but it appeared to execute. Things like echo $FOAM_INST_DIR do work, although I do not know whether it is related or not.

However, running any command like blockMesh or simpleFoam won't work: the commands are not recognized, which is the sign that something, somewhere, went wrong.

of course, foamInstallationTest fails immediately saying "the environment variables are not configured".

Any idea what this may be?

I am sorry if this question is very simple, I feel it is, but I did not find it exactly this way in the FAQs, so...

Thank you very much for your help!
hireegy is offline   Reply With Quote

Old   December 29, 2014, 21:12
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 Andrei and welcome to the forum!

Don't install that RPM, because it was not specifically designed for Fedora 21.

I recently managed to finish writing the installation instructions you're looking for: http://openfoamwiki.net/index.php/In...dora#Fedora_21

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   December 30, 2014, 07:11
Default
  #3
New Member
 
Andrei
Join Date: Dec 2014
Posts: 3
Rep Power: 11
hireegy is on a distinguished road
Hi wyldckat,
thank you very much for this link, that I saved!
However, I will have to uninstall this rpm now. I'm completely new to Fedora, and had only Ubuntu for a short time before that. Do you have any advice on how to remove this rpm properly, before installing OpenFOAM the way you suggested?
Thank you very much again!
hireegy is offline   Reply With Quote

Old   December 30, 2014, 07:58
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 Andrei,

Er, Google? I found this answer: https://ask.fedoraproject.org/en/que...#post-id-14166
Quote:
Code:
sudo rpm -e `rpm -qa | grep -i your_package_name `
Or this one: https://ask.fedoraproject.org/en/que...#post-id-14167

Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   December 30, 2014, 13:49
Default
  #5
New Member
 
Andrei
Join Date: Dec 2014
Posts: 3
Rep Power: 11
hireegy is on a distinguished road
Hi Bruno,

yes, sorry for the stupid question. A bit new to all that, I should have done this research myself. Still, thank you for telling me, I had to have this software up and running quickly, and have very little time in between a lot of projects.

Thank you again, if I find anything that I cannot solve after doing the research, I will come back to you!

Happy new year, in advance! :-)

Andrei
wyldckat likes this.
hireegy is offline   Reply With Quote

Reply

Tags
environment, fedora, install

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
set BC mass-flow-inlet via UDF and via GUI perform different result sawa25 FLUENT 1 February 25, 2015 01:51
OpenFOAM 1.7.1 installation problem on Fedora 14 armonica OpenFOAM Installation 16 March 31, 2011 14:16
How to show the transient case? H.P.LIU Phoenics 7 July 13, 2010 05:31
Help with GNUPlot Renato. Main CFD Forum 6 June 6, 2007 20:51
Home environment must be set!! Michael Vredevoort FLUENT 1 April 1, 2002 14:59


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