|
[Sponsors] |
April 18, 2011, 07:30 |
|
#41 | |
New Member
Manoj L Das
Join Date: Mar 2011
Location: Calcutta, India
Posts: 25
Rep Power: 15 |
Quote:
Hi Neils, The links are amazing and it's a superlink. I got everything I was searching for... thanks. But still I was not able to install OpenFOAM. After installing following things (gcc gcc-c++ bison ncurses-devel tix.x86_64 glibc-devel flex flex-devel zlib-devel libXt-devel)mannually, I followed the Manual install steps on the page "https://sourceforge.net/apps/mediawi...itle=Main_Page". I got following errors: 1 In step 5: ------------------------------------------------------------------------- [root@sunserver etc]# chmod -R 755 $HOME/OpenFOAM chmod: cannot access `/root/OpenFOAM': No such file or directory ------------------------------------------------------------------------- 2 In step 6: I added the line [ alias OF17=". $HOME/OpenFOAM/OpenFOAM-1.7.1/etc/bashrc" ] just before the end-of-file in the bashrc file and when executed the . ~/.bashrc in the terminal, I got no response: see below: -------------------------------------------------------------------------- [root@sunserver etc]# . ~/.bashrc [root@sunserver etc]# -------------------------------------------------------------------------- And when I checked with OF17 following error was shown: -------------------------------------------------------------------------- [root@sunserver etc]# OF17 bash: /root/OpenFOAM/OpenFOAM-1.7.1/etc/bashrc: No such file or directory -------------------------------------------------------------------------- And after I checked which gcc, this was displayed -------------------------------------------------------------------------- [root@sunserver etc]# which gcc /usr/bin/gcc [root@sunserver etc]# ---------------------------------------------------------------------------- Obviously, I can guess that the mistake is somewere in the initial step. May be in sourcing the .bashrc file, but couldn't figure out exactly what? I am a beginner in OpenFOAM and Linux. Please help me in finding out the mistake and correcting it. Thanks & Best regards, MLD |
||
April 18, 2011, 07:32 |
|
#42 |
New Member
Manoj L Das
Join Date: Mar 2011
Location: Calcutta, India
Posts: 25
Rep Power: 15 |
Hi Neils,
The links are amazing and it's a superlink. I got everything I was searching for... thanks. But still I was not able to install OpenFOAM. After installing following things (gcc gcc-c++ bison ncurses-devel tix.x86_64 glibc-devel flex flex-devel zlib-devel libXt-devel)mannually, I followed the Manual install steps on the page "https://sourceforge.net/apps/mediawi...itle=Main_Page". I got following errors: 1 In step 5: ------------------------------------------------------------------------- [root@sunserver etc]# chmod -R 755 $HOME/OpenFOAM chmod: cannot access `/root/OpenFOAM': No such file or directory ------------------------------------------------------------------------- 2 In step 6: I added the line [ alias OF17=". $HOME/OpenFOAM/OpenFOAM-1.7.1/etc/bashrc" ] just before the end-of-file in the bashrc file and when executed the . ~/.bashrc in the terminal, I got no response: see below: -------------------------------------------------------------------------- [root@sunserver etc]# . ~/.bashrc [root@sunserver etc]# -------------------------------------------------------------------------- And when I checked with OF17 following error was shown: -------------------------------------------------------------------------- [root@sunserver etc]# OF17 bash: /root/OpenFOAM/OpenFOAM-1.7.1/etc/bashrc: No such file or directory -------------------------------------------------------------------------- And after I checked which gcc, this was displayed -------------------------------------------------------------------------- [root@sunserver etc]# which gcc /usr/bin/gcc [root@sunserver etc]# ---------------------------------------------------------------------------- Obviously, I can guess that the mistake is somewere in the initial step. May be in sourcing the .bashrc file, but couldn't figure out exactly what? I am a beginner in OpenFOAM and Linux. Please help me in finding out the mistake and correcting it. Thanks & Best regards, MLD |
|
April 18, 2011, 07:37 |
Plese help in finding the mistake
|
#43 |
New Member
Manoj L Das
Join Date: Mar 2011
Location: Calcutta, India
Posts: 25
Rep Power: 15 |
Hi Neils,
Greetings!!! Thanks for your quick response. The links amazing and it's a superlink. I got everything I was searching for. But the still I was not able to install OpenFOAM. After installing following things (gcc gcc-c++ bison ncurses-devel tix.x86_64 glibc-devel flex flex-devel zlib-devel libXt-devel) mannually, I followed the Manual install steps on the page "https://sourceforge.net/apps/mediawi...itle=Main_Page". I got following errors: 1 In step 5: ------------------------------------------------------------------------- [root@sunserver etc]# chmod -R 755 $HOME/OpenFOAM chmod: cannot access `/root/OpenFOAM': No such file or directory ------------------------------------------------------------------------- 2 In step 6: I added the line alias OF17=". $HOME/OpenFOAM/OpenFOAM-1.7.1/etc/bashrc" just before the end-of-file and when executed the . ~/.bashrc in the terminal, I got no response: see below: -------------------------------------------------------------------------- [root@sunserver etc]# . ~/.bashrc [root@sunserver etc]# -------------------------------------------------------------------------- And when I checked with OF17 following error was shown: -------------------------------------------------------------------------- [root@sunserver etc]# OF17 bash: /root/OpenFOAM/OpenFOAM-1.7.1/etc/bashrc: No such file or directory -------------------------------------------------------------------------- And after the I checked which gcc, this was displayed -------------------------------------------------------------------------- [root@sunserver etc]# which gcc /usr/bin/gcc [root@sunserver etc]# ---------------------------------------------------------------------------- Obviously, I can guess that the mistake is somewere in the initial step. May be in sourcing the .bashrc file, but couldn't figure out exactly what. I am a beginner in OPenFOAM and Linux. Please help me in finding out the mistake and correcting it. Thanks & Best regards, MLD |
|
April 18, 2011, 08:10 |
|
#44 |
Senior Member
Niels Nielsen
Join Date: Mar 2009
Location: NJ - Denmark
Posts: 556
Rep Power: 27 |
Hi
First of all please do not double and triple post. My bet is that there is no files in $HOME/OpenFOAM but rather in $HOME/centFOAM/OpenFOAM You can read in the error that Code:
chmod: cannot access `/root/OpenFOAM': No such file or directory bash: /root/OpenFOAM/OpenFOAM-1.7.1/etc/bashrc: No such file or directory My manual recipe is not made for "dummies" as it might not be fully updated, I'm busy doing other things. If you want to make it easy use the automatic script instead.
__________________
Linnemann PS. I do not do personal support, so please post in the forums. |
|
April 19, 2011, 06:45 |
|
#45 |
New Member
Manoj L Das
Join Date: Mar 2011
Location: Calcutta, India
Posts: 25
Rep Power: 15 |
Hi Neils,
I am sorry for the double posts, it was not deliberate. Now I succeeded to install OpenFoam-1.7.1. I followed the steps on the link http://sourceforge.net/apps/mediawik...itle=Main_Page. I tried running a case of icoFOAM, it's working. But I was not able to open paraFoam. When I type the command "paraFoam" in case directory terminal. it gives following error. --------- [root@sunserver cavity]# paraFoam created temporary 'cavity.OpenFOAM' /root/OpenFOAM/OpenFOAM-1.7.1/bin/paraFoam: line 139: paraview: command not found [root@sunserver cavity]# --------- What may be the problem? Thanks and Best wishes MLD |
|
April 19, 2011, 07:34 |
|
#46 | |
Senior Member
Niels Nielsen
Join Date: Mar 2009
Location: NJ - Denmark
Posts: 556
Rep Power: 27 |
Quote:
__________________
Linnemann PS. I do not do personal support, so please post in the forums. |
||
April 20, 2011, 05:05 |
|
#47 |
Member
Vishal Jambhekar
Join Date: Mar 2009
Location: University Stuttgart, Stuttgart Germany
Posts: 90
Blog Entries: 1
Rep Power: 17 |
Hi Manoj,
Actually if you are not able to use parafoam. most porbablly "your paraview is not compiled or you don't have it in Thirdparty" dir. what you can do is you can download paraview ready to use from paraview official website. and you can directly open ".foam " file using that. for genrating .foam file you have to replace all ".OpenFOAM" in "OpenFOAM-1.7.1/bin/paraFoam" by ".foam" go to case directory and execute. paraFoam -touch (the .foam file will be generated which can be opened using downloaded paraview) I have been doing the same and works very good for decomposed mesh too you dont have to reconstruct them anymore. I have installed OpenFOAM 1.7.1 successfully on CentOS system. Please let me know if you have problem. May be I can help.
__________________
Cheers, Vishal Jambhekar... "Simulate the way ahead......!!!" Last edited by vishal; April 20, 2011 at 05:28. |
|
July 6, 2011, 09:37 |
Error in new python script
|
#48 |
New Member
Thomas Walsh
Join Date: Nov 2010
Posts: 18
Rep Power: 16 |
Thanks you the CentosFOAM setup. I'm installing it right now with your latest python script but noticed an error (I think at least). When trying to download openfoam 2.0.x I received an error regarding 'OF17'. I searched through your script and found this next to the install command for 'OF20'. I just changed it and everything seems to be working (at least it is downloading OF2.0.x onto my system as I type this).
Tom |
|
July 8, 2011, 03:13 |
|
#49 |
Senior Member
Niels Nielsen
Join Date: Mar 2009
Location: NJ - Denmark
Posts: 556
Rep Power: 27 |
Thanks for the feedback,
Will change it right away.
__________________
Linnemann PS. I do not do personal support, so please post in the forums. |
|
July 20, 2011, 00:52 |
|
#50 |
Senior Member
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36 |
Hi Niels,
thanks for centfoam with 2.0.x! I installed it on our Red Hat 5.3 machines, however I have this error message when it is executed: [my_hostname:09053] mca: base: component_find: unable to open /local/albertop/OpenFOAM/ThirdParty-2.0.x/platforms/linux64Gcc45/openmpi-1.5.3/lib/openmpi/mca_btl_ofud: librdmacm.so.1: cannot open shared object file: No such file or directory (ignored) [my_hostname:09053] mca: base: component_find: unable to open /local/albertop/OpenFOAM/ThirdParty-2.0.x/platforms/linux64Gcc45/openmpi-1.5.3/lib/openmpi/mca_btl_openib: librdmacm.so.1: cannot open shared object file: No such file or directory (ignored) [my_hostname:09053] mca: base: component_find: unable to open /local/albertop/OpenFOAM/ThirdParty-2.0.x/platforms/linux64Gcc45/openmpi-1.5.3/lib/openmpi/mca_mtl_psm: libpsm_infinipath.so.1: cannot open shared object file: No such file or directory (ignored) [my_hostname:09055] mca: base: component_find: unable to open /local/albertop/OpenFOAM/ThirdParty-2.0.x/platforms/linux64Gcc45/openmpi-1.5.3/lib/openmpi/mca_btl_ofud: librdmacm.so.1: cannot open shared object file: No such file or directory (ignored) [my_hostname:09055] mca: base: component_find: unable to open /local/albertop/OpenFOAM/ThirdParty-2.0.x/platforms/linux64Gcc45/openmpi-1.5.3/lib/openmpi/mca_btl_openib: librdmacm.so.1: cannot open shared object file: No such file or directory (ignored) [my_hostname:09055] mca: base: component_find: unable to open /local/albertop/OpenFOAM/ThirdParty-2.0.x/platforms/linux64Gcc45/openmpi-1.5.3/lib/openmpi/mca_mtl_psm: libpsm_infinipath.so.1: cannot open shared object file: No such file or directory (ignored) [my_hostname:09054] mca: base: component_find: unable to open /local/albertop/OpenFOAM/ThirdParty-2.0.x/platforms/linux64Gcc45/openmpi-1.5.3/lib/openmpi/mca_btl_ofud: librdmacm.so.1: cannot open shared object file: No such file or directory (ignored) [my_hostname:09054] mca: base: component_find: unable to open /local/albertop/OpenFOAM/ThirdParty-2.0.x/platforms/linux64Gcc45/openmpi-1.5.3/lib/openmpi/mca_btl_openib: librdmacm.so.1: cannot open shared object file: No such file or directory (ignored) [my_hostname:09054] mca: base: component_find: unable to open /local/albertop/OpenFOAM/ThirdParty-2.0.x/platforms/linux64Gcc45/openmpi-1.5.3/lib/openmpi/mca_mtl_psm: libpsm_infinipath.so.1: cannot open shared object file: No such file or directory (ignored) This does not seem to be a problem on multicore workstations, but it prevents clusters from running jobs (always RHEL 5.3). Best,
__________________
Alberto Passalacqua GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541) OpenQBMM - An open-source implementation of quadrature-based moment methods. To obtain more accurate answers, please specify the version of OpenFOAM you are using. Last edited by alberto; July 20, 2011 at 00:53. Reason: removed actual hostname |
|
July 20, 2011, 02:26 |
|
#51 |
Senior Member
Niels Nielsen
Join Date: Mar 2009
Location: NJ - Denmark
Posts: 556
Rep Power: 27 |
Hi Alberto
Ahh yes, our cluster has infiniband so thats why it complains that it cant find it. one solution is to change the Allwmake script in the Thirdparty folder. uncomment line 102 where it says --with-openib. Delete the platforms/linux64Gcc45/openmpi-1.5.3 folder and run ./Allwmake again. This should then compile without infiniband. The other solution that you could try beforehand is to run mpi as described at the very bottom on this page http://pkg-ofed.alioth.debian.org/ho...d-howto-6.html this forces openmpi to use tcp-ip. I will compile a version without inifiniband and upload if youd like.
__________________
Linnemann PS. I do not do personal support, so please post in the forums. |
|
July 20, 2011, 02:51 |
|
#52 |
Senior Member
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36 |
Thanks for your reply Niels. Actually our cluster has infiniband too, which is what makes me wonder. I'll try to re-compile OpenMPI, and let you know.
P.S. Before I forget, the scripts for csh are not updated:
Best,
__________________
Alberto Passalacqua GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541) OpenQBMM - An open-source implementation of quadrature-based moment methods. To obtain more accurate answers, please specify the version of OpenFOAM you are using. |
|
July 20, 2011, 04:33 |
|
#53 |
Senior Member
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36 |
Little update: It seems the problem in my case is due to ofed, which comes with mpi 1.2.8, naturally built with the obsolete gcc 4.1 (I love Red Hat).
Best,
__________________
Alberto Passalacqua GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541) OpenQBMM - An open-source implementation of quadrature-based moment methods. To obtain more accurate answers, please specify the version of OpenFOAM you are using. |
|
July 20, 2011, 06:02 |
|
#54 |
Senior Member
Niels Nielsen
Join Date: Mar 2009
Location: NJ - Denmark
Posts: 556
Rep Power: 27 |
Hi
I will update my install script with the cshrc, funny you are the only one who have noticed this as I have never updated the cshrc file ;-) are there any benefits from using csh over bash? We also use OFED but I compile it myself using this fine guide. https://wiki.rocksclusters.org/wiki/...ks_5.3_cluster
__________________
Linnemann PS. I do not do personal support, so please post in the forums. |
|
July 20, 2011, 08:30 |
|
#55 |
New Member
Manoj L Das
Join Date: Mar 2011
Location: Calcutta, India
Posts: 25
Rep Power: 15 |
Hi Neils
Greetings!!! Is it possible to install centFoam on RHEL6 x86 ? Regards, Manoj |
|
July 20, 2011, 08:54 |
|
#56 |
Senior Member
Niels Nielsen
Join Date: Mar 2009
Location: NJ - Denmark
Posts: 556
Rep Power: 27 |
Hi Manoj
I'm still in the process of compiling the different stuff for 6.x. and updating the install script. netgen, paraview and 1.6-ext is already available on the source-forge page you just have to do the installation manually. I'm quite swamped at work so do not have much time for the "fun" stuff.
__________________
Linnemann PS. I do not do personal support, so please post in the forums. |
|
July 20, 2011, 09:30 |
|
#57 |
New Member
Manoj L Das
Join Date: Mar 2011
Location: Calcutta, India
Posts: 25
Rep Power: 15 |
yes it does!!! I tried and it was successfully done!!!
|
|
July 20, 2011, 09:44 |
|
#58 |
Senior Member
Niels Nielsen
Join Date: Mar 2009
Location: NJ - Denmark
Posts: 556
Rep Power: 27 |
Hi
Im a little confused. Did you do the manual install or the scripted version? I suspect that the scripted would work quite ok on version 6.x since I include the GCC install with the thirdparty. The reason I want to make separate version for 6.x is that the gcc is much never 4.4.x and thus I do not need to recompile/include gcc for each version. also QT is up to date and paraview can be built with the 6.x dev version of QT which also makes my life easier :-) Also if you read here http://www.afs.enea.it/funel/CFD/Ope...amcomptest.htm you can see that the precompiled does not scale as well if built on a different system. Thats why I want to have separate versions for 5.x and 6.x to get optimum speedup.
__________________
Linnemann PS. I do not do personal support, so please post in the forums. |
|
July 20, 2011, 11:36 |
|
#59 | ||
Senior Member
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36 |
Quote:
Quote:
Best,
__________________
Alberto Passalacqua GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541) OpenQBMM - An open-source implementation of quadrature-based moment methods. To obtain more accurate answers, please specify the version of OpenFOAM you are using. |
|||
July 21, 2011, 01:38 |
|
#60 | |
New Member
Manoj L Das
Join Date: Mar 2011
Location: Calcutta, India
Posts: 25
Rep Power: 15 |
Quote:
Hi Neils!! Greetings!! I did mannual install and didn't tried scripted install. The mannual install works fine in my case. I just followed the steps after doing rpm install of the prerequisites (bison, flex.... etc). For some of those prerequisites, RHEL 6 already had updated versions. The openfoam works fine but paraFoam is not working for now even after replacing all .OpenFOAM with .foam in ~/bin/paraFoam file. May be I will have to install paraview separately and with that read the casename.foam file. I am trying that, but any other option from your side will be appreciated. Thanks in advance, Manoj |
||
Tags |
1.6.x, centos, openfoam |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
OpenFOAM 1.6 package - CentOS 5.3 x86_64 | linnemann | OpenFOAM Installation | 36 | September 2, 2009 13:46 |
OpenFOAM 1.5.x package - CentOS 5.3 x86_64 | linnemann | OpenFOAM Installation | 7 | July 30, 2009 04:14 |
Modified OpenFOAM Forum Structure and New Mailing-List | pete | Site News & Announcements | 0 | June 29, 2009 06:56 |
OpenFOAM 15 and CentOS 52 installation issues | remrich | OpenFOAM Bugs | 9 | March 20, 2009 02:48 |
OpenFOAM Debian packaging current status problems and TODOs | oseen | OpenFOAM Installation | 9 | August 26, 2007 14:50 |