OK, then there must be a conflict of MPI versions... what do these commands output:
Code:
mpirun --version |
Hi,
sorry, I didn't notice your answer because of the new page. Quote:
Quote:
Quote:
Quote:
Quote:
Ilya |
Hi Ilya,
OK, then the "LD_LIBRARY_PATH" variable must be contaminated - what does this output :confused:: Code:
echo $LD_LIBRARY_PATH Best regards, Bruno |
Hi,
here it comes: Quote:
Best regards, Iyla |
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 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 |
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 |
Do any of these appear:
Code:
which mpirun 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". |
mpirun -> negative; but mpicc (2,4,6) is still there.
Quote:
|
Try these again, still with the SYSTEMOPENMPI:
Quote:
Code:
sudo update-alternatives --config mpirun |
Ok, here it is:
Quote:
|
You can also check:
Code:
update-alternatives --config mpirun Code:
ls -l /usr/bin/mpirun.* |
it doesn't look good:
Quote:
Quote:
|
Then switch back to the normal OPENMPI option in OpenFOAM's etc/bashrc file and start a new terminal.
Then: Code:
foam3rdParty |
1 Attachment(s)
Unfortunately not. There are still the same errors.
|
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 |
Quote:
|
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 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 |
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 |
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 |
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 |
All times are GMT -4. The time now is 20:57. |