It certainly counts. You have several which mean you need to be very careful about the MPI you are picking up during compilation versus the one you are using at runtime. You might consider using a "modules" management system where you have exactly one loaded in your PATH, compile paths, link paths at once. Otherwise it's a free for all and subtle changes in the search order can lead to results like this
On Thu, Apr 7, 2016 at 4:10 PM Harriet Li <[email protected]> wrote: > The only MPI's I could find are: > > $ whereis mpirun > mpirun: /usr/bin/mpirun.openmpi /usr/bin/mpirun > /usr/bin/X11/mpirun.openmpi /usr/bin/X11/mpirun > /usr/share/man/man1/mpirun.1.gz > > $ whereis mpicxx > mpicxx: /usr/bin/mpicxx /usr/bin/mpicxx.openmpi /usr/bin/X11/mpicxx > /usr/bin/X11/mpicxx.openmpi /usr/share/man/man1/mpicxx.1.gz > > $ whereis mpicc > mpicc: /usr/bin/mpicc /usr/bin/mpicc.openmpi /usr/bin/X11/mpicc > /usr/bin/X11/mpicc.openmpi /usr/share/man/man1/mpicc.1.gz > > Not sure if this counts as multiple MPIs...'which mpicxx' turned up > nothing until I did 'sudo apt-get install libopenmpi-dev', and I have > installed nothing else since... > > -Harriet > > On Thu, Apr 7, 2016 at 5:57 PM, Cody Permann <[email protected]> > wrote: > >> This generally means your compile environment and runtime environment >> aren't the same. Do you have multiple MPIs hanging around? Are your paths >> sane? >> >> On Thu, Apr 7, 2016 at 3:55 PM Harriet Li <[email protected]> wrote: >> >>> Hello, >>> >>> I'm trying to run example 4 under Introduction in parallel. It seems to >>> be >>> running in serial, but on multiple processors, instead of splitting up >>> the >>> work. >>> >>> I've attached the config.log file for my libmesh compilation as well as >>> the >>> output when I try to run the example using >>> >>> mpirun -np 2 ./example-opt -d 2 -n 5 > ex4_output.txt >>> >>> Thanks, >>> Harriet >>> >>> ------------------------------------------------------------------------------ >>> _______________________________________________ >>> Libmesh-users mailing list >>> [email protected] >>> https://lists.sourceforge.net/lists/listinfo/libmesh-users >>> >> > ------------------------------------------------------------------------------ _______________________________________________ Libmesh-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libmesh-users
