|
[Sponsors] |
[OpenFOAM.org] OpenFOAM installation Fedora 19 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 6, 2015, 18:57 |
|
#21 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi Aditya,
OK, I think I've figured it out, although there was an addition detail I should have asked for. Anyway, let's try this:
If it doesn't work, then please run the following commands: Code:
foam pwd gzip < make.log > make.log.gz Best regards, Bruno |
|
April 7, 2015, 18:44 |
|
#22 |
Member
Aditya
Join Date: Nov 2014
Posts: 35
Rep Power: 12 |
Hi Bruno,
I was trying to go through the steps and I got an error as shown below after the second step where Code:
foam echo "export WM_MPLIB=SYSTEMOPENMPI" >> etc/prefs.sh Code:
[aditya@localhost OpenFOAM-2.3.0]$ echo "export WM_MPLIB=SYSTEMOPENMPI" >> etc/prefs.sh [aditya@localhost OpenFOAM-2.3.0]$ wmSET Cannot open configuration file /home/aditya/OpenFOAM/ThirdParty-2.3.0/platforms/linux64Gcc/openmpi-1.6.5/share/openmpi/mpicc-wrapper-data.txt Error parsing data file mpicc: Not found |
|
April 7, 2015, 19:38 |
|
#23 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi Aditya,
I thought that you had installed Open-MPI... OK, then you can install it by running these commands:
Best regards, Bruno |
|
April 7, 2015, 20:24 |
|
#24 |
Member
Aditya
Join Date: Nov 2014
Posts: 35
Rep Power: 12 |
Hi Bruno,
I am really grateful for your patient replies. Inspite of the error, I continued with the other steps just to see what will happen and then I used the decomposePar on a trial case. and it worked. The output is shown below. Code:
[aditya@localhost depthCharge2D_basecase]$ decomposePar /*---------------------------------------------------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.3.0 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ Build : 2.3.0-f5222ca19ce6 Exec : decomposePar Date : Apr 07 2015 Time : 19:21:39 Host : "localhost.localdomain" PID : 3704 Case : /home/aditya/OpenFOAM/OpenFOAM-2.3.0/tutorials/multiphase/compressibleInterFoam/laminar/depthCharge2D_basecase nProcs : 1 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 Decomposing mesh region0 Create mesh Calculating distribution of cells Selecting decompositionMethod simple Finished decomposition in 0 s Calculating original mesh data Distributing cells to processors Distributing faces to processors Distributing points to processors Constructing processor meshes Processor 0 Number of cells = 3200 Number of faces shared with processor 1 = 80 Number of faces shared with processor 2 = 40 Number of processor patches = 2 Number of processor faces = 120 Number of boundary faces = 6520 Processor 1 Number of cells = 3200 Number of faces shared with processor 0 = 80 Number of faces shared with processor 3 = 40 Number of processor patches = 2 Number of processor faces = 120 Number of boundary faces = 6520 Processor 2 Number of cells = 3200 Number of faces shared with processor 0 = 40 Number of faces shared with processor 3 = 80 Number of processor patches = 2 Number of processor faces = 120 Number of boundary faces = 6520 Processor 3 Number of cells = 3200 Number of faces shared with processor 1 = 40 Number of faces shared with processor 2 = 80 Number of processor patches = 2 Number of processor faces = 120 Number of boundary faces = 6520 Number of processor faces = 240 Max number of cells = 3200 (0% above average 3200) Max number of processor patches = 2 (0% above average 2) Max number of faces between processors = 120 (0% above average 120) Time = 0 Processor 0: field transfer Processor 1: field transfer Processor 2: field transfer Processor 3: field transfer End. Does it mean that it just worked for this one case or does everything look to be ok? |
|
April 7, 2015, 20:28 |
|
#25 |
Member
Aditya
Join Date: Nov 2014
Posts: 35
Rep Power: 12 |
Just to verify that openmpi is installed, i used the yum install command and the terminal told me that its already installed.
Code:
[aditya@localhost ~]$ su Password: [root@localhost aditya]# yum install openmpi openmpi-devel Loaded plugins: langpacks, refresh-packagekit Dropbox | 951 B 00:00 dl.atrpms.net_el6-x86_64_atrpms_stable | 3.0 kB 00:00 google-chrome | 951 B 00:00 updates/19/x86_64/metalink | 4.0 kB 00:00 google-chrome/primary | 1.9 kB 00:00 google-chrome 3/3 Package openmpi-1.6.5-1.fc19.x86_64 already installed and latest version Package openmpi-devel-1.6.5-1.fc19.x86_64 already installed and latest version Nothing to do |
|
April 7, 2015, 20:32 |
|
#26 |
Member
Aditya
Join Date: Nov 2014
Posts: 35
Rep Power: 12 |
But when I run the case using the parallel run command as shown below i get an error again..
Code:
[aditya@localhost depthCharge2D_basecase]$ mpirun -np 4 compressibleInterFoam -parallel > log -------------------------------------------------------------------------- Sorry! You were supposed to get help about: opal_init:startup:internal-failure But I couldn't open the help file: /home/aditya/OpenFOAM/ThirdParty-2.3.0/platforms/linux64Gcc/openmpi-1.6.5/share/openmpi/help-opal-runtime.txt: No such file or directory. Sorry! -------------------------------------------------------------------------- [localhost.localdomain:04210] [[INVALID],INVALID] ORTE_ERROR_LOG: Error in file runtime/orte_init.c at line 79 [localhost.localdomain:04210] [[INVALID],INVALID] ORTE_ERROR_LOG: Error in file orterun.c at line 694 |
|
April 9, 2015, 17:41 |
|
#27 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi Aditya,
Sorry, busy week and I haven't had a chance to test things any sooner. I forgot a detail in the instructions I gave in post #21... step #3 is wrong The correct commands to be executed (for step #3) are these: Code:
wmUNSET module load mpi/openmpi-x86_64 || export PATH=$PATH:/usr/lib64/openmpi/bin source $HOME/OpenFOAM/OpenFOAM-2.3.0/etc/bashrc Then please follow again from step #4 and onward, on post #21. Best regards, Bruno |
|
April 9, 2015, 20:33 |
|
#28 |
Member
Aditya
Join Date: Nov 2014
Posts: 35
Rep Power: 12 |
Hi Bruno,
When I use that command, I get the following error.. Code:
[aditya@localhost OpenFOAM-2.3.0]$ wmUNSET [aditya@localhost OpenFOAM-2.3.0]$ module load mpi/openmpi-x86_64 || export PATH=$PATH:/usr/lib64/openmpi/bin mpi/openmpi-x86_64(5):ERROR:150: Module 'mpi/openmpi-x86_64' conflicts with the currently loaded module(s) 'mpi/mpich-x86_64' mpi/openmpi-x86_64(5):ERROR:102: Tcl command execution failed: conflict mpi Thanks!! |
|
April 11, 2015, 11:16 |
|
#30 |
Member
Aditya
Join Date: Nov 2014
Posts: 35
Rep Power: 12 |
Hi,
yeah I wish to use mpich as my default parallel compiler. I have that installed in my system already. If that can be possible. THanks a ton once again!!! |
|
April 12, 2015, 16:15 |
|
#31 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi Aditya,
Quote:
Unfortunately I don't have enough time before next weekend to test which instructions are best for you to use MPICH instead of Open-MPI. All I know is that you now have a serious conflict of MPI toolboxes, which is complicating everything From the top of my head, what you need to do is:
Bruno |
||
April 12, 2015, 16:37 |
|
#32 |
New Member
Aditya D S N
Join Date: Oct 2011
Posts: 5
Rep Power: 15 |
Hey Bruno,
SOrry for the confusion. I am not particular about the MPI toolbox. Can you please tell what needs to be done to have the openmpi only as the default MPI toolbox? Shall I uninstall MPICH toolbox. will that remove the conflicting commands? Regards, Aditya |
|
April 12, 2015, 21:37 |
|
#34 |
New Member
Aditya D S N
Join Date: Oct 2011
Posts: 5
Rep Power: 15 |
I will try that out and let you know. Thank you so much.
Can i use the command shown below to remove it? I apologise for asking such basic questions!! Code:
yum remove mpich-x86_64 Aditya |
|
April 13, 2015, 12:14 |
|
#35 |
Member
Aditya
Join Date: Nov 2014
Posts: 35
Rep Power: 12 |
Hi,
I removed mpich and tried using the previous commands with the necesary modifications suggested by you. But it still doesnt work.. I have attached the make.log.gz as instructed. |
|
April 16, 2015, 08:08 |
|
#36 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quick answer: I forgot that since you had both MPICH and Open-MPI installed in the system, there was a very weird collision of files. Try the following commands, to see if they fix the problem, since they do a clean up and then rebuild what's missing:
Code:
foam rm $FOAM_LIBBIN/openmpi-system/libPstream.so rm $FOAM_EXT_LIBBIN/$FOAM_MPI/libptscotch* rm -r $WM_THIRD_PARTY_DIR/platforms/$WM_ARCH$WM_COMPILER/scotch* wclean all src/Pstream ./Allwmake > log.make 2>&1 |
|
April 16, 2015, 12:08 |
|
#37 |
Member
Aditya
Join Date: Nov 2014
Posts: 35
Rep Power: 12 |
Hi,
There seems to be an error for the libscotch command as follows, Code:
[aditya@localhost OpenFOAM-2.3.0]$ rm $FOAM_EXT_LIBBIN/$FOAM_MPI/libptscotch* rm: cannot remove ‘/home/aditya/OpenFOAM/ThirdParty-2.3.0/platforms/linux64GccDPOpt/lib/openmpi-system/libptscotch*’: No such file or directory |
|
April 16, 2015, 12:56 |
|
#39 |
Member
Aditya
Join Date: Nov 2014
Posts: 35
Rep Power: 12 |
Hi Bruno,
Everything seems to be running perfectly now. I even tried running it in parallel and everything worked out well!!!! THank you so much!!! I was so stuck with all these problems since a long time!! Is there any forum or tutorial where I can get a detailed understanding of how OF interacts with the shell and etc, so that i can atleast know whats happening Regards, Aditya |
|
April 19, 2015, 15:13 |
|
#40 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quote:
|
||
Tags |
fedora 19, openfoam installation |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
OpenFOAM Training Jan-Jul 2017, Virtual, London, Houston, Berlin | CFDFoundation | OpenFOAM Announcements from Other Sources | 0 | January 4, 2017 07:15 |
[OpenFOAM.org] OpenFOAM 3.0.0 Installation - from source code | fazalhaq | OpenFOAM Installation | 15 | July 7, 2016 21:09 |
OpenFOAM 2.2.2 source pack installation on Xubuntu 13.10 | zordiack | OpenFOAM Installation | 1 | October 26, 2013 14:08 |
OpenFOAM 1.7 installation on Redhat linux | maxims | OpenFOAM Installation | 2 | November 30, 2012 05:29 |
New OpenFOAM Forum Structure | jola | OpenFOAM | 2 | October 19, 2011 07:55 |