CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (https://www.cfd-online.com/Forums/openfoam-installation/)
-   -   OF 1.7.1 on Fedora 13 (https://www.cfd-online.com/Forums/openfoam-installation/81732-1-7-1-fedora-13-a.html)

Achin November 15, 2010 00:56

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

ruma March 29, 2011 22:15

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

Achin March 29, 2011 22:56

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 (Post 301459)
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


l_r_mcglashan March 30, 2011 04:36

Quote:

Originally Posted by ruma (Post 301459)
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 (Post 301459)
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.

ruma March 31, 2011 20:48

Quote:

Originally Posted by Achin (Post 283442)
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.

Achin March 31, 2011 23:32

Quote:

Originally Posted by ruma (Post 301753)
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

ruma March 31, 2011 23:53

Hi Achin,
I did already did it. Still I got error. I used git repository. it's libPstream.so problem.


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