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

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 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: 4
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
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,020
Blog Entries: 39
Rep Power: 109
wyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of light
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: 4
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
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,020
Blog Entries: 39
Rep Power: 109
wyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of light
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: 4
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
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
CFX11 + Fortran compiler ? Mohan CFX 20 March 30, 2011 18:56
Installation problems indy OpenFOAM Installation 7 April 3, 2009 09:40
Problems with installation of OpenFoam sheyer OpenFOAM Installation 8 July 28, 2008 03:45
Problems with installation jonititan OpenFOAM Installation 4 November 6, 2005 05:16
Home environment must be set!! Michael Vredevoort FLUENT 1 April 1, 2002 13:59


All times are GMT -4. The time now is 16:21.