|
[Sponsors] |
July 21, 2011, 02:19 |
|
#61 | |
Senior Member
Niels Nielsen
Join Date: Mar 2009
Location: NJ - Denmark
Posts: 556
Rep Power: 27 |
Hi Manoj
As already posted above Quote:
__________________
Linnemann PS. I do not do personal support, so please post in the forums. |
||
August 3, 2011, 05:03 |
|
#62 |
Senior Member
Niels Nielsen
Join Date: Mar 2009
Location: NJ - Denmark
Posts: 556
Rep Power: 27 |
@alberto
csh settings should now be generic when installing from centFOAM.py script. also gmsh-2.5.0 with OCC support and paraview-3.10.1 is now avaliable.
__________________
Linnemann PS. I do not do personal support, so please post in the forums. |
|
October 2, 2011, 14:36 |
unable to open /openmpi
|
#63 |
Member
angel
Join Date: May 2009
Location: Spain
Posts: 46
Rep Power: 17 |
hello,
First at all, many thanks for sharing your work. I have installed OF20 and paraview without any problem, but when i try to run in paralel I obtanin the following error. I will be very grateful if someone can help me. Best regards [cluster.div:10512] mca: base: component_find: unable to open /home/anmartin/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) librdmacm: couldn't read ABI version. librdmacm: assuming: 4 libibverbs: Fatal: couldn't read uverbs ABI version. CMA: unable to open /dev/infiniband/rdma_cm libibverbs: Fatal: couldn't read uverbs ABI version. -------------------------------------------------------------------------- [[60751,1],0]: A high-performance Open MPI point-to-point messaging module was unable to find any relevant network interfaces: Module: OpenFabrics (openib) Host: cluster.div Another transport will be used instead, although this may result in lower performance. -------------------------------------------------------------------------- [cluster.div:10513] mca: base: component_find: unable to open /home/anmartin/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) [cluster.div:10514] mca: base: component_find: unable to open /home/anmartin/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) [cluster.div:10515] mca: base: component_find: unable to open /home/anmartin/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) librdmacm: couldn't read ABI version. librdmacm: assuming: 4 libibverbs: Fatal: couldn't read uverbs ABI version. librdmacm: couldn't read ABI version. librdmacm: couldn't read ABI version. librdmacm: assuming: 4 CMA: unable to open /dev/infiniband/rdma_cm librdmacm: assuming: 4 libibverbs: Fatal: couldn't read uverbs ABI version. libibverbs: Fatal: couldn't read uverbs ABI version. CMA: unable to open /dev/infiniband/rdma_cm CMA: unable to open /dev/infiniband/rdma_cm libibverbs: Fatal: couldn't read uverbs ABI version. libibverbs: Fatal: couldn't read uverbs ABI version. libibverbs: Fatal: couldn't read uverbs ABI version. /*---------------------------------------------------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.0.x | | \\ / A nd | Web: www.OpenFOAM.com | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ Build : 2.0.x Exec : interDyMFoam -parallel Date : Oct 02 2011 Time : 18:41:12 Host : cluster.div PID : 10512 Case : /home/anmartin/foam/Slosh_II/Oval_II nProcs : 4 Slaves : 3 ( cluster.div.10513 cluster.div.10514 cluster.div.10515 ) Pstream initialized with: floatTransfer : 0 nProcsSimpleSum : 0 commsType : nonBlocking sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE). fileModificationChecking : Monitoring run-time modified files using timeStampMaster allowSystemOperations : Disallowing user-supplied system call operations // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time |
|
October 2, 2011, 14:44 |
|
#64 |
Senior Member
Niels Nielsen
Join Date: Mar 2009
Location: NJ - Denmark
Posts: 556
Rep Power: 27 |
Ahh yes
This is because I built openmpi with infiniband support which we have in our cluster. try running it like this Code:
mpirun --mca btl ^openib --mca btl_tcp_if_include eth0 --hostfile hostfile -n 2 simpleFoam -parallel If it doesn't I will make a version without infiniband.
__________________
Linnemann PS. I do not do personal support, so please post in the forums. |
|
October 18, 2011, 14:36 |
Error
|
#65 |
Member
|
Hello linnemann
I'm trying to install openFoam 2.0.x in rocks 5.3 (centOs 5.6) but when I tried to run: python centFOAM.py -p /opt/OpenFOAM --OF20 I got the folowing error: Code:
All packages will be downloaded to this folder and extracted to /opt/OpenFOAM Press enter to continue installing OpenFOAM-2.0.x to /opt/OpenFOAM/OpenFOAM/OpenFOAM-2.0.x Folder exists Already downloaded OpenFOAM-2.0.x.tar.gz,skipping Unpacking OpenFOAM-2.0.x.tar.gz, might take a minut or two Replacing foamInstall=/opt/software/$WM_PROJECT with foamInstall=/opt/OpenFOAM/$WM_PROJECT in file/opt/OpenFOAM/OpenFOAM/OpenFOAM-2.0.x/etc/bashrc Traceback (most recent call last): File "centFOAM.py", line 234, in ? main() File "centFOAM.py", line 227, in main installOpenFOAM(options.path, "2.0.x", "OF20") File "centFOAM.py", line 153, in installOpenFOAM replaceInLine(bashFile,"foamInstall=/opt/software/$WM_PROJECT","foamInstall="+path+"/$WM_PROJECT") File "centFOAM.py", line 20, in replaceInLine for line in fileinput.FileInput(file,inplace=1): File "/usr/lib64/python2.4/fileinput.py", line 231, in next line = self.readline() File "/usr/lib64/python2.4/fileinput.py", line 300, in readline os.rename(self._filename, self._backupfilename) OSError: [Errno 2] No such file or directory [root@octopus100 centosFOAM]# Thanks for your help, and great work Regards, Carlos |
|
October 19, 2011, 05:55 |
|
#66 |
Senior Member
Niels Nielsen
Join Date: Mar 2009
Location: NJ - Denmark
Posts: 556
Rep Power: 27 |
Hi
Ive just installed a fresh version of Centos in VB. As you can see from this line Code:
installing OpenFOAM-2.0.x to /opt/OpenFOAM/OpenFOAM/OpenFOAM-2.0.x The error in the script was that it I forgot to add "OpenFOAM" to the path so that this subdir would be created automatically. And also the bash file path should be changed accordingly. So the correct way to run the script would be Code:
python centFOAM.py -p /opt --OF20 /opt/OpenFOAM/OpenFOAM-2.0.x and ThirdParty in /opt/OpenFOAM/ThirdParty-2.0.x It will also work with /opt/OpenFOAM but then you have double OpenFOAM subdirs. Please download the new one and try again. Thank you very much for the feedback.
__________________
Linnemann PS. I do not do personal support, so please post in the forums. |
|
October 19, 2011, 06:36 |
|
#67 |
Member
|
Thanks Linnemann
I actually used the manual installation and it worked. Great job with the script Carlos |
|
April 22, 2013, 09:29 |
|
#68 | ||
New Member
José Sánchez
Join Date: Apr 2013
Posts: 7
Rep Power: 13 |
Hello,
First, thank you for the help already posted, because in many cases solves the problems and if not, it helps identifying it. I am trying to run OpenFOAM in parallel in several nodes. Each node alone can run the case in parallel without problem when executed with "runParallel" instruction. Also, each node alone can run the case in parallel when executed with the "mpirun" instruction, but in this case before the calculations began it displays the next error. But when I try several nodes it display the same error as in the previous case, for each node and the calculation does not begin (Error displayed at the end of this reply). The OpenFOAM version is 2.1.x, the system is Red Hat 5.7 and it has not infiniband (as I was told by the person which is in charge of the server) so I tried the solution sugested by Niels but it did not work (Error displayed at the end of this reply). Quote:
Quote:
Also, any other suggestion or orientation would be very appreciated. Thank all of you for your help and time. José Sánchez Next, it is paste the error I get at first: Code:
[Jose1@flu motorbikeMPI]$ mpirun --hostfile machines -np 6 simpleFoam -parallel [flu:26946] mca: base: component_find: unable to open /home/users/OpenFOAM/ThirdParty-2.1.1/platforms/linux64Gcc/openmpi-1.5.3/lib/openmpi/mca_mtl_psm: libpsm_infinipath.so.1: cannot open shared object file: No such file or directory (ignored) [flu:26947] mca: base: component_find: unable to open /home/users/OpenFOAM/ThirdParty-2.1.1/platforms/linux64Gcc/openmpi-1.5.3/lib/openmpi/mca_mtl_psm: libpsm_infinipath.so.1: cannot open shared object file: No such file or directory (ignored) [flu:26948] mca: base: component_find: unable to open /home/users/OpenFOAM/ThirdParty-2.1.1/platforms/linux64Gcc/openmpi-1.5.3/lib/openmpi/mca_mtl_psm: libpsm_infinipath.so.1: cannot open shared object file: No such file or directory (ignored) librdmacm: couldn't read ABI version. librdmacm: couldn't read ABI version. librdmacm: assuming: 4 librdmacm: assuming: 4 CMA: unable to get RDMA device list CMA: unable to get RDMA device list -------------------------------------------------------------------------- [[37872,1],0]: A high-performance Open MPI point-to-point messaging module was unable to find any relevant network interfaces: Module: OpenFabrics (openib) Host: flu Another transport will be used instead, although this may result in lower performance. -------------------------------------------------------------------------- librdmacm: couldn't read ABI version. librdmacm: assuming: 4 CMA: unable to get RDMA device list [nodo19:08126] mca: base: component_find: unable to open /home/users/OpenFOAM/ThirdParty-2.1.1/platforms/linux64Gcc/openmpi-1.5.3/lib/openmpi/mca_btl_ofud: librdmacm.so.1: cannot open shared object file: No such file or directory (ignored) [nodo19:08125] mca: base: component_find: unable to open /home/users/OpenFOAM/ThirdParty-2.1.1/platforms/linux64Gcc/openmpi-1.5.3/lib/openmpi/mca_btl_ofud: librdmacm.so.1: cannot open shared object file: No such file or directory (ignored) [nodo19:08127] mca: base: component_find: unable to open /home/users/OpenFOAM/ThirdParty-2.1.1/platforms/linux64Gcc/openmpi-1.5.3/lib/openmpi/mca_btl_ofud: librdmacm.so.1: cannot open shared object file: No such file or directory (ignored) [nodo19:08126] mca: base: component_find: unable to open /home/users/OpenFOAM/ThirdParty-2.1.1/platforms/linux64Gcc/openmpi-1.5.3/lib/openmpi/mca_btl_openib: librdmacm.so.1: cannot open shared object file: No such file or directory (ignored) [nodo19:08125] mca: base: component_find: unable to open /home/users/OpenFOAM/ThirdParty-2.1.1/platforms/linux64Gcc/openmpi-1.5.3/lib/openmpi/mca_btl_openib: librdmacm.so.1: cannot open shared object file: No such file or directory (ignored) [nodo19:08127] mca: base: component_find: unable to open /home/users/OpenFOAM/ThirdParty-2.1.1/platforms/linux64Gcc/openmpi-1.5.3/lib/openmpi/mca_btl_openib: librdmacm.so.1: cannot open shared object file: No such file or directory (ignored) [nodo19:08125] mca: base: component_find: unable to open /home/users/OpenFOAM/ThirdParty-2.1.1/platforms/linux64Gcc/openmpi-1.5.3/lib/openmpi/mca_mtl_psm: libpsm_infinipath.so.1: cannot open shared object file: No such file or directory (ignored) [nodo19:08126] mca: base: component_find: unable to open /home/users/OpenFOAM/ThirdParty-2.1.1/platforms/linux64Gcc/openmpi-1.5.3/lib/openmpi/mca_mtl_psm: libpsm_infinipath.so.1: cannot open shared object file: No such file or directory (ignored) [nodo19:08127] mca: base: component_find: unable to open /home/users/OpenFOAM/ThirdParty-2.1.1/platforms/linux64Gcc/openmpi-1.5.3/lib/openmpi/mca_mtl_psm: libpsm_infinipath.so.1: cannot open shared object file: No such file or directory (ignored) /*---------------------------------------------------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.1.1 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ Build : 2.1.1-221db2718bbb Exec : simpleFoam -parallel Date : Apr 22 2013 Time : 13:48:12 Host : "flu" PID : 26946 [flu:26944] 2 more processes have sent help message help-mpi-btl-base.txt / btl:no-nics [flu:26944] Set MCA parameter "orte_base_help_aggregate" to 0 to see all help / error messages Code:
[Jose1@flu motorbikeMPI]$ mpirun --mca btl ^openib --mca btl_tcp_if_include eth0 --hostfile machines -np 6 simpleFoam -parallel [flu:26989] mca: base: component_find: unable to open /home/users/OpenFOAM/ThirdParty-2.1.1/platforms/linux64Gcc/openmpi-1.5.3/lib/openmpi/mca_mtl_psm: libpsm_infinipath.so.1: cannot open shared object file: No such file or directory (ignored) [flu:26990] mca: base: component_find: unable to open /home/users/OpenFOAM/ThirdParty-2.1.1/platforms/linux64Gcc/openmpi-1.5.3/lib/openmpi/mca_mtl_psm: libpsm_infinipath.so.1: cannot open shared object file: No such file or directory (ignored) [flu:26991] mca: base: component_find: unable to open /home/users/OpenFOAM/ThirdParty-2.1.1/platforms/linux64Gcc/openmpi-1.5.3/lib/openmpi/mca_mtl_psm: libpsm_infinipath.so.1: cannot open shared object file: No such file or directory (ignored) [nodo19:08322] mca: base: component_find: unable to open /home/users/OpenFOAM/ThirdParty-2.1.1/platforms/linux64Gcc/openmpi-1.5.3/lib/openmpi/mca_btl_ofud: librdmacm.so.1: cannot open shared object file: No such file or directory (ignored) [nodo19:08320] mca: base: component_find: unable to open /home/users/OpenFOAM/ThirdParty-2.1.1/platforms/linux64Gcc/openmpi-1.5.3/lib/openmpi/mca_btl_ofud: librdmacm.so.1: cannot open shared object file: No such file or directory (ignored) [nodo19:08321] mca: base: component_find: unable to open /home/users/OpenFOAM/ThirdParty-2.1.1/platforms/linux64Gcc/openmpi-1.5.3/lib/openmpi/mca_btl_ofud: librdmacm.so.1: cannot open shared object file: No such file or directory (ignored) [nodo19:08322] mca: base: component_find: unable to open /home/users/OpenFOAM/ThirdParty-2.1.1/platforms/linux64Gcc/openmpi-1.5.3/lib/openmpi/mca_mtl_psm: libpsm_infinipath.so.1: cannot open shared object file: No such file or directory (ignored) [nodo19:08320] mca: base: component_find: unable to open /home/users/OpenFOAM/ThirdParty-2.1.1/platforms/linux64Gcc/openmpi-1.5.3/lib/openmpi/mca_mtl_psm: libpsm_infinipath.so.1: cannot open shared object file: No such file or directory (ignored) [nodo19:08321] mca: base: component_find: unable to open /home/users/OpenFOAM/ThirdParty-2.1.1/platforms/linux64Gcc/openmpi-1.5.3/lib/openmpi/mca_mtl_psm: libpsm_infinipath.so.1: cannot open shared object file: No such file or directory (ignored) /*---------------------------------------------------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.1.1 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ Build : 2.1.1-221db2718bbb Exec : simpleFoam -parallel Date : Apr 22 2013 Time : 14:06:50 Host : "flu" PID : 26989 |
|||
April 22, 2013, 12:03 |
|
#69 |
New Member
José Sánchez
Join Date: Apr 2013
Posts: 7
Rep Power: 13 |
Hello again,
I have changed the hostfile from: Jose1@flu cpu=3 Jose1@nodo19 cpu=3 to: Jose1@nodo19 cpu=3 Jose1@flu cpu=3 and now it runs. I have to do some checks but it seems to be correct so, Does the order in the hostfile matters? (For me apparently yes) I think it is important to point that "flu" is the master and "nodo19" is supposed to be the slave. |
|
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 |