Thank you for the quick responses! Simply installing the gcc-c++ package fixed everything. Now the program package I wanted compiles without problems. :) Regards, Sampsa P.S. I am using opensuse 11.2 On Monday 14 September 2009 09:18:40 pm Philipp Thomas wrote:
On Mon, 14 Sep 2009 13:34:18 +0300, you wrote:
./configure --prefix=/home/sampsa/trilinos/trilinos-9.0.3/linux_mpi --enable-mpi --with-mpi-compilers=/opt/mpich/ch-p4/bin --with-mpi-libdir=opt/mpich/ch-p4/lib --with-mpi-incdir=/opt/mpich/ch-p4/include --enable-pytrilinos
The correct way is to run mpi-selector to select which MPI version to use. For documentation see 'man 1 mpi-selector'. To use openMPI you need the packages openmpi,openmpi-devel and mpi-selector to be installed. A 'zypper in openmpi-devel' should install all necessary packages.
You also need to install the compilers for all languages other then C.
man mpi
there is no man page with that name in the openSUSE openmpi package, so this must be coming from a different installation.
"Add MPI to your path % set path = ( $path /usr/local/mpi/bin )"
If all needed packages are installed, you shouldn't need to do that.
But the directory "/usr/local/mpi" does not exist in my distro
The distribubtion will *never* create a directory below /usr/local because that's forbidden by FHS as this is strictly for local installations.
(although both mpich and openmpi have been installed).
Which version of openSUSE are you using? AFAICS you failed to tell us.
sampsa@linux-912g:~/trilinos/trilinos-9.0.3/linux_mpi> /opt/mpich/ch-p4/bin/mpicxx /opt/mpich/ch-p4/bin/mpicxx: line 410: g++: command not found
Do 'zypper in gcc-c++'
Philipp
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org