|
[Sponsors] |
July 20, 2012, 12:59 |
|
#21 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
OK, then there must be a conflict of MPI versions... what do these commands output:
Code:
mpirun --version echo $FOAM_MPI echo $PINC echo $PLIBS echo $MPI_ARCH_PATH
__________________
|
|
July 20, 2012, 13:21 |
|
#22 | |||||
Senior Member
Illya Shevchuk
Join Date: Aug 2009
Location: Darmstadt, Germany
Posts: 176
Rep Power: 17 |
Hi,
sorry, I didn't notice your answer because of the new page. Quote:
Quote:
Quote:
Quote:
Quote:
Ilya |
||||||
July 20, 2012, 13:28 |
|
#23 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Hi Ilya,
OK, then the "LD_LIBRARY_PATH" variable must be contaminated - what does this output : Code:
echo $LD_LIBRARY_PATH Best regards, Bruno
__________________
|
|
July 20, 2012, 13:33 |
|
#24 | |
Senior Member
Illya Shevchuk
Join Date: Aug 2009
Location: Darmstadt, Germany
Posts: 176
Rep Power: 17 |
Hi,
here it comes: Quote:
Best regards, Iyla |
||
July 20, 2012, 14:13 |
|
#25 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Hi Ilya,
Took me a while to get back to you... OK, edit OpenFOAM's "etc/bashrc" file once again and search for these lines: Code:
#- Clean LD_LIBRARY_PATH cleaned=`$foamClean "$LD_LIBRARY_PATH"` && LD_LIBRARY_PATH="$cleaned" Code:
cleaned=`$foamClean "$LD_LIBRARY_PATH" "/usr/local/mpich/lib/"` && LD_LIBRARY_PATH="$cleaned" Code:
cleaned=`$foamClean "$LD_LIBRARY_PATH" "/usr/local/mpich/lib/:/opt/intel/Compiler/11.1/069/lib/intel64:/opt/intel/Compiler/11.1/069/lib/intel64/"` && LD_LIBRARY_PATH="$cleaned" Again, better start a new terminal. Rebuilding only "Pstream" is also a good idea, after you check if the variable mentioned before is cleaned. If you still have problems, the environment variable "PATH" is also a suspect Best regards, Bruno
__________________
|
|
July 20, 2012, 14:43 |
|
#26 | ||
Senior Member
Illya Shevchuk
Join Date: Aug 2009
Location: Darmstadt, Germany
Posts: 176
Rep Power: 17 |
Hi Bruno,
thanks a lot, step by step we are getting closer. After cleaning the LD_LIBRARY_PATH the error reduced to Quote:
Quote:
Best regards, Ilya |
|||
July 20, 2012, 14:50 |
|
#27 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Do any of these appear:
Code:
which mpirun which mpicc ls -l `which mpirun` ls -l `which mpicc` mpirun --version mpicc --help If not, then try building again OpenFOAM's own Open-MPI 1.5.3 Don't forget to switch back from SYSTEMOPENMPI to OPENMPI in "etc/bashrc".
__________________
|
|
July 20, 2012, 14:55 |
|
#28 | |
Senior Member
Illya Shevchuk
Join Date: Aug 2009
Location: Darmstadt, Germany
Posts: 176
Rep Power: 17 |
mpirun -> negative; but mpicc (2,4,6) is still there.
Quote:
|
||
July 20, 2012, 14:58 |
|
#29 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Try these again, still with the SYSTEMOPENMPI:
Quote:
Code:
sudo update-alternatives --config mpirun
__________________
Last edited by wyldckat; July 20, 2012 at 15:01. Reason: SYSTEMOPENMPI and see "edit:" |
||
July 20, 2012, 15:03 |
|
#30 | |
Senior Member
Illya Shevchuk
Join Date: Aug 2009
Location: Darmstadt, Germany
Posts: 176
Rep Power: 17 |
Ok, here it is:
Quote:
|
||
July 20, 2012, 15:05 |
|
#31 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
You can also check:
Code:
update-alternatives --config mpirun Code:
ls -l /usr/bin/mpirun.*
__________________
|
|
July 20, 2012, 15:10 |
|
#32 | ||
Senior Member
Illya Shevchuk
Join Date: Aug 2009
Location: Darmstadt, Germany
Posts: 176
Rep Power: 17 |
it doesn't look good:
Quote:
Quote:
|
|||
July 20, 2012, 15:12 |
|
#33 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Then switch back to the normal OPENMPI option in OpenFOAM's etc/bashrc file and start a new terminal.
Then: Code:
foam3rdParty ./Allwmake > make.log 2>&1
__________________
|
|
July 20, 2012, 15:18 |
|
#34 |
Senior Member
Illya Shevchuk
Join Date: Aug 2009
Location: Darmstadt, Germany
Posts: 176
Rep Power: 17 |
Unfortunately not. There are still the same errors.
|
|
July 20, 2012, 15:22 |
|
#35 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
I think it is mpicc's fault here... but I don't know how to disable it without removing it
By the way, does this output anything: Code:
echo $GREP_OPTIONS
__________________
|
|
July 20, 2012, 15:27 |
|
#36 |
Senior Member
Illya Shevchuk
Join Date: Aug 2009
Location: Darmstadt, Germany
Posts: 176
Rep Power: 17 |
||
July 20, 2012, 16:34 |
|
#37 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Hi Ilya,
It's taking me a while in trying to reproduce the same error. And the "debian-security" server seems to be offline for a couple of minutes to help... I did find something interesting: seems that you might have installed on your machine the package "mpi-default-dev" but not the "mpi-default-bin". Without the second one, it's not possible to use the system Open-MPI properly. To check if they are installed: Code:
dpkg-query -s mpi-default-bin dpkg-query -s mpi-default-dev Code:
Status: install ok installed This command can help figure out if there are other surrounding packages: Code:
dpkg-query -W "*mpi*" Code:
synaptic Best regards, Bruno
__________________
|
|
July 20, 2012, 18:40 |
|
#38 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Hi Ilya,
And I'm out of ideas. I haven't been able to reproduce the problem you're having. My guess would be that the other application to blame could be the Icc compiler that is installed in your machine. Nonetheless, my suggestion is to:
Bruno
__________________
|
|
July 20, 2012, 19:17 |
|
#39 |
Senior Member
Illya Shevchuk
Join Date: Aug 2009
Location: Darmstadt, Germany
Posts: 176
Rep Power: 17 |
Hi Bruno,
first thanks a lot for the time you spent trying to figure out, what's goin on here. None of the mpi-default-... packages is installed. Unfortunately though, I don't even have the sudo privileges, so I'll have to beg our admins at Monday to install them. I wish you a nice weekend! Ilya |
|
July 20, 2012, 20:30 |
|
#40 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Hi Ilya,
Maybe instead of begging for installing those packages, then perhaps it would be best to request more information about what's installed in the machine and also ask which packages could be affecting OpenFOAM's proper installation! Over this long attempt to get things running, we've found that:
Nonetheless, in the end, you might have to switch to building with Icc instead of Gcc, which OpenFOAM supports, as long as the Icc version isn't too old... edit: and have a nice weekend as well Best regards, Bruno
__________________
Last edited by wyldckat; July 20, 2012 at 20:30. Reason: see "edit:" |
|
|
|
LinkBacks (?)
LinkBack to this Thread: https://www.cfd-online.com/Forums/openfoam-installation/80787-missing-vtf3-h-bpatch-h-papi-h.html
|
||||
Posted By | For | Type | Date | |
Albert's Useful Computer Tips: gcc and OpenFOAM | This thread | Refback | October 16, 2013 06:46 |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Missing Term in RAS-Models | ngj | OpenFOAM Bugs | 17 | February 29, 2012 08:05 |
UDF: DEFINE_CG_MOTION for vertical jump motion of an electrode! | alban | Fluent UDF and Scheme Programming | 2 | June 8, 2010 19:54 |
Problem with paraFoam | ata | OpenFOAM | 14 | November 30, 2009 05:23 |
Missing output files | stefanke | OpenFOAM Running, Solving & CFD | 4 | September 8, 2006 05:51 |
Missing tets along line when meshing with ICEM CFD | Georges P. Côté | CFX | 6 | March 23, 2006 01:34 |