This web mail archive is frozen.
This page is part of a frozen web archive of this mailing list.
You can still navigate around this archive, but know that no new mails
have been added to it since July of 2016.
Click here to be taken to the new web archives of this list; it includes all the mails that are in this frozen archive plus all new mails that have been sent to the list since it was migrated to the new archives.
I'm new to OpenMPI and have encountered a problem with mpiexec.
Since I need to set up the execution environment for OpenMPI programs
on the execution nodes, I use the following command line to launch an
mpiexec -launch-agent /some_path/myscript ....
The problem is: the above command works fine if I invoke 'mpiexec'
without an absolute path just like above (assuming the PATH variable
is properly set), but if I prepend an absolute path to 'mpiexec', e.g.:
/OMPI_dir/bin/mpiexec -launch-agent /some_path/myscript ....
then I get the following error message:
bash: -c: line 0: syntax error near unexpected token `('
bash: -c: line 0: ` PATH=/OMPI_dir/bin:$PATH ; export PATH ;
LD_LIBRARY_PATH=/OMPI_dir/lib:$LD_LIBRARY_PATH ; export LD_LIBRARY_PATH
; /some_path/myscript /OMPI_dir/bin/(null) --daemonize -mca ess env -mca
orte_ess_jobid 1978662912 -mca orte_ess_vpid 1 -mca orte_ess_num_procs 2
I'd like to know what causes the above problem and how should I deal
I want to use absolute pathname of mpiexec to avoid possible inteferences
with other MPI installations. Thanks in advance.