Обратите внимание, что установка LD_PRELOAD в libmpi.so для OpenMPI иногда требуется для работы OpenMPI, поэтому отмена установки может нарушить OpenMPI для вас. Просто не забудьте сбросить его, если вам нужно использовать OpenMPI.

аюсь установитьMPICH 2 на 64-битной машине, работающей на Ubuntu 11.04 (Natty Narwhal). я использовал

sudo apt-get install mpich2

Сначала я был удивлен, увидев, что mpd не был установлен. Посмотрев на Google, я увидел, чтогидра новый менеджер пакетов по умолчанию Поэтому я попытался запустить свой код MPI. Я получил следующую ошибку.

> -------------------------------------------------------------------------------------------
> [ip-10-99-75-58:02212] [[INVALID],INVALID] ORTE_ERROR_LOG: A
> system-required executable either could not be found or was not
> executable by this user in file
> ../../../../../../orte/mca/ess/singleton/ess_singleton_module.c at
> line 357 [ip-10-99-75-58:02212] [[INVALID],INVALID] ORTE_ERROR_LOG: A
> system-required executable either could not be found or was not
> executable by this user in file
> ../../../../../../orte/mca/ess/singleton/ess_singleton_module.c at
> line 230 [ip-10-99-75-58:02212] [[INVALID],INVALID] ORTE_ERROR_LOG: A
> system-required executable either could not be found or was not
> executable by this user in file ../../../orte/runtime/orte_init.c at
> line 132
> --------------------------------------------------------------------------
> It looks like orte_init failed for some reason; your parallel process
> is likely to abort.  There are many reasons that a parallel process
> can fail during orte_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):
> 
>   orte_ess_set_name failed   --> Returned value A system-required
> executable either could not be found or was not executable by this
> user (-127) instead of ORTE_SUCCESS
> --------------------------------------------------------------------------
> --------------------------------------------------------------------------
> It looks like MPI_INIT failed for some reason; your parallel process
> is likely to abort.  There are many reasons that a parallel process
> can fail during MPI_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):
> 
>   ompi_mpi_init: orte_init failed   --> Returned "A system-required
> executable either could not be found or was not executable by this
> user" (-127) instead of "Success" (0)
> --------------------------------------------------------------------------
> *** The MPI_Init() function was called before MPI_INIT was invoked.
> *** This is disallowed by the MPI standard.
> *** Your MPI job will now abort.
> -------------------------------------------------------------------------------------------

Прежде всего, это выглядит для меня какОткрытый MPI ошибка. Но я установил MPICH 2, а не Open MPI.

Во-вторых, я решаю, как с этим справиться, поскольку вся помощь, похоже, адресована пользователям Open MPI. Я что-то пропустил?

Ответы на вопрос(3)

Ваш ответ на вопрос