Hi,
i do not not what happened, i did not noticed anything during the last zypper dup calls, but today as i wanted to compile an openmpi program, i got the message that mpicxx is not found.
the openmpi packages including openmpi-devel are still installed. What could be wrong here? One week ago everything worked fine in this system.
On Thu 11 Feb 2016 11:26:01 PM CST, sabo007 wrote:
Hi,
i do not not what happened, i did not noticed anything during the last
zypper dup calls, but today as i wanted to compile an openmpi program, i
got the message that mpicxx is not found.
the openmpi packages including openmpi-devel are still installed. What
could be wrong here? One week ago everything worked fine in this system.
Hi
Looking at the devel rpm, the bin files are down
in /usr/lib{64}/mpi/gcc/openmpi/bin/ maybe your $PATH variable has
changed so it can’t find them? Nothing has changed in the building, so
something must have changed locally…
–
Cheers Malcolm °¿° LFCS, SUSE Knowledge Partner (Linux Counter #276890)
SUSE Linux Enterprise Desktop 12 SP1|GNOME 3.10.4|3.12.51-60.25-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!
ok my path variable contains:
echo $PATH
/home/jack/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games
so it is not empty but i cannot remember seeing /usr/lib64/mpi/gcc/openmpi/bin
before but it worked before so it must have been i guess.
what is the normal way to add this to the path? How is this done when the openmpi-devel package gets installed?
Hi
There is a line in the spec file;
prepend-path PATH %{mpi_bindir}
Have no idea how this gets run, but maybe a /etc/profile.d file got removed?
Anyway, sounds like a bug… try forcing a re-install of openmpi-devel first;
zypper in -f openmpi-devel
Did this fix it? If not edit your ~/.profile;
PATH=$PATH:/usr/lib64/mpi/gcc/openmpi/bin
Then test;
source .profile
echo $PATH
Reinstalling openmpi-devel does not helped
but as i checked on another pc, normaly there should be an update of the PATH variable when the devel package is installed.
And it was on this pc also but is now gone. Thats why i do not edit ~/.profile because iam hoping that this is just a bug that gets fixed in the future (the other pc also has no extra line in the ~/.profile)
for the moment i am just running
export PATH=$PATH:/usr/lib64/mpi/gcc/openmpi/bin
everytime i need the compiler in the terminal.
On Thu 11 Feb 2016 11:26:01 PM CST, sabo007 wrote:
Hi,
i do not not what happened, i did not noticed anything during the last
zypper dup calls, but today as i wanted to compile an openmpi program, i
got the message that mpicxx is not found.
the openmpi packages including openmpi-devel are still installed. What
could be wrong here? One week ago everything worked fine in this system.
Hi
Looking at the devel rpm, the bin files are down
in /usr/lib{64}/mpi/gcc/openmpi/bin/ maybe your $PATH variable has
changed so it can’t find them? Nothing has changed in the building, so
something must have changed locally…
–
Cheers Malcolm °¿° LFCS, SUSE Knowledge Partner (Linux Counter #276890)
SUSE Linux Enterprise Desktop 12 SP1|GNOME 3.10.4|3.12.51-60.25-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!