Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: [OMPI users] Relocating an Open MPI installation using OPAL_PREFIX
From: Ethan Mallove (ethan.mallove_at_[hidden])
Date: 2008-12-18 11:03:25


Hello,

The below FAQ lists instructions on how to use a relocated Open MPI
installation:

  http://www.open-mpi.org/faq/?category=building#installdirs

On Solaris, OPAL_PREFIX and friends (documented in the FAQ) work for
me with both MPI (hello_c) and non-MPI (hostname) programs. On Linux,
I can only get the non-MPI case to work. Here are the environment
variables I am setting:

  $ cat setenv_opal_prefix.csh
  set opal_prefix = "/opt/openmpi-relocated"

  setenv OPAL_PREFIX $opal_prefix
  setenv OPAL_BINDIR $opal_prefix/bin
  setenv OPAL_SBINDIR $opal_prefix/sbin
  setenv OPAL_DATAROOTDIR $opal_prefix/share
  setenv OPAL_SYSCONFDIR $opal_prefix/etc
  setenv OPAL_SHAREDSTATEDIR $opal_prefix/com
  setenv OPAL_LOCALSTATEDIR $opal_prefix/var
  setenv OPAL_LIBDIR $opal_prefix/lib
  setenv OPAL_INCLUDEDIR $opal_prefix/include
  setenv OPAL_INFODIR $opal_prefix/info
  setenv OPAL_MANDIR $opal_prefix/man

  setenv PATH $opal_prefix/bin:$PATH
  setenv LD_LIBRARY_PATH $opal_prefix/lib:$opal_prefix/lib/64

Here is the error I get:

  $ mpirun -np 2 hello_c
  --------------------------------------------------------------------------
  It looks like opal_init failed for some reason; your parallel process is
  likely to abort. There are many reasons that a parallel process can
  fail during opal_init; some of which are due to configuration or
  environment problems. This failure appears to be an internal failure;
  here's some additional information (which may only be relevant to an
  Open MPI developer):

    opal_carto_base_select failed
    --> Returned value -13 instead of OPAL_SUCCESS
  --------------------------------------------------------------------------
  [burl-ct-v20z-0:27737] [[INVALID],INVALID] ORTE_ERROR_LOG: Not found in file runtime/orte_init.c at line 77

Any ideas on what's going on?

Thanks,
Ethan