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

OF 1.7.1 on Fedora 13

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 15, 2010, 01:56
Default
  #21
New Member
 
Join Date: Nov 2010
Posts: 17
Rep Power: 16
Achin is on a distinguished road
Hi

Thanks every one. I installed OpenFoam successfully. I used GIT Repository. It has got many bugs fixed including the missing patch of LINKEXE.

Thanks a lot.

Regards
Abhinav
Achin is offline   Reply With Quote

Old   March 29, 2011, 23:15
Default
  #22
New Member
 
ruma
Join Date: Mar 2011
Location: USA
Posts: 22
Rep Power: 15
ruma is on a distinguished road
Hi ,

I am trying to build source for OpenFOAM, but have problem. I kept the files /usr/local/OpenFOAM-1.7.1/ and also thirdparty under /usr/local/Thirdparty-1.7.1/

I hve fedora 13 OS. How would I source in my .bashrc file
.$HOME/OpenFOAM-1.7.1/etc/bashrc is the correct way?

then ./Allwmake . I need help


sorry achin. it shud be /etc a typo mistake

Last edited by ruma; March 31, 2011 at 17:44.
ruma is offline   Reply With Quote

Old   March 29, 2011, 23:56
Default
  #23
New Member
 
Join Date: Nov 2010
Posts: 17
Rep Power: 16
Achin is on a distinguished road
Hi

It's not ets but it's etc. So it is . $HOME/OpenFOAM/OpenFOAM-1.7.1/etc/bashrc
after adding this line in your $HOME/.bashrc file, type . $HOME/.bashrc in terminal window.

I guess . $HOME/.bashrc sets the variables for all sessions.

Regards

Quote:
Originally Posted by ruma View Post
Hi ,

I am trying to build source for OpenFOAM, but have problem. I kept the files /usr/local/OpenFOAM-1.7.1/ and also thirdparty under /usr/local/Thirdparty-1.7.1/

I hve fedora 13 OS. How would I source in my .bashrc file
.$HOME/OpenFOAM-1.7.1/ets/bashrc is the correct way?

then ./Allwmake . I need help

Last edited by Achin; March 30, 2011 at 00:45.
Achin is offline   Reply With Quote

Old   March 30, 2011, 05:36
Default
  #24
Senior Member
 
Laurence R. McGlashan
Join Date: Mar 2009
Posts: 370
Rep Power: 23
l_r_mcglashan will become famous soon enough
Quote:
Originally Posted by ruma View Post
Hi ,

I am trying to build source for OpenFOAM, but have problem. I kept the files /usr/local/OpenFOAM-1.7.1/ and also thirdparty under /usr/local/Thirdparty-1.7.1/
Ok, but I would keep it in your $HOME directory.

Quote:
Originally Posted by ruma View Post
I hve fedora 13 OS. How would I source in my .bashrc file
.$HOME/OpenFOAM-1.7.1/ets/bashrc is the correct way?
No, because OpenFOAM is installed in /usr/local/, so you need to point it there.
__________________
Laurence R. McGlashan :: Website
l_r_mcglashan is offline   Reply With Quote

Old   March 31, 2011, 21:48
Post
  #25
New Member
 
ruma
Join Date: Mar 2011
Location: USA
Posts: 22
Rep Power: 15
ruma is on a distinguished road
Quote:
Originally Posted by Achin View Post
Hi

Thanks every one. I installed OpenFoam successfully. I used GIT Repository. It has got many bugs fixed including the missing patch of LINKEXE.

Thanks a lot.

Regards
Abhinav

Hi, did u install on fedora 13? i got lots of error. main/usr/bin/ld: cannot find -ldl/home/ruma/OpenFOAM/OpenFOAM-1.7.x/lib/linux64GccDPOpt/openmpi-1.4.1/libPstream.so
collect2: ld returned 1 exit status
make[2]: *** [/home/ruma/OpenFOAM/OpenFOAM-1.7.x/applications/bin/linux64GccDPOpt/rhoCentralDyMFoam] Error 1
make[1]: *** [rhoCentralFoam] Error 2
how did you do? pls tell us.
ruma is offline   Reply With Quote

Old   April 1, 2011, 00:32
Default
  #26
New Member
 
Join Date: Nov 2010
Posts: 17
Rep Power: 16
Achin is on a distinguished road
Quote:
Originally Posted by ruma View Post
Hi, did u install on fedora 13? i got lots of error. main/usr/bin/ld: cannot find -ldl/home/ruma/OpenFOAM/OpenFOAM-1.7.x/lib/linux64GccDPOpt/openmpi-1.4.1/libPstream.so
collect2: ld returned 1 exit status
make[2]: *** [/home/ruma/OpenFOAM/OpenFOAM-1.7.x/applications/bin/linux64GccDPOpt/rhoCentralDyMFoam] Error 1
make[1]: *** [rhoCentralFoam] Error 2
how did you do? pls tell us.
Hi

There are certain dependencies that u must have before u try to build it. Here is a yum command, try it out first and make sure that every thing is there, needed for openfoam.

yum install gcc gcc-c++ binutils-devel flex git-core wget cmake qt4-devel python-devel readline-devel bison

I installed in fedora 13 and I used GIT repository as source building has got some unfixed bugs which were giving me errors quite similar to your errors, for me the errors were for a different application. Hence I was not able to properly install using source. So try GIT.

you may be getting error because of not installed binutils thus above command should help you. Another is a LINKEXE patch missing in certain files which is fixed in the GIT repository.

Regards
Achin is offline   Reply With Quote

Old   April 1, 2011, 00:53
Default
  #27
New Member
 
ruma
Join Date: Mar 2011
Location: USA
Posts: 22
Rep Power: 15
ruma is on a distinguished road
Hi Achin,
I did already did it. Still I got error. I used git repository. it's libPstream.so problem.
ruma 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
Error compiling 1.6.x on Fedora 12 vnpenguin OpenFOAM Installation 7 July 24, 2012 15:52
OpenCFD release OpenFOAMŪ version 1.7.1 opencfd OpenFOAM Announcements from ESI-OpenCFD 0 August 26, 2010 12:40
Fedora 10 OpenFOAM15 philippose OpenFOAM Installation 7 February 18, 2009 05:37
STAR-CD 3.268in Fedora 8 Thomas Stockheim Siemens 3 April 28, 2008 04:43
FEDORA CORE and PARALLEL processing Tuks CFX 2 August 20, 2005 12:05


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