Re: [mpich-discuss] Run R script via MPICH
Riccardo, Can you run mpirun with the --verbose option and send us the output? Thanks, -- Pavan
On Dec 30, 2014, at 4:00 PM, Riccardo Romoli <[email protected]> wrote:
The error I get became from the syntax I used to run my script. Fynally I've been able to run my R script uning mpirun. This is the string I used:
$ mpirun -n 1 -hosts node02 R --slave -f /home/mpiuser/R_scripts/prova_clust.R
I get a fatal errors using R with MPI in interactive mode:
[mpiexec@master] match_arg (./utils/args/args.c:122): unrecognized argument pmi_args// [mpiexec@master] HYDU_parse_array (./utils/args/args.c:140): argument matching returned error// [mpiexec@master] parse_args (./ui/mpich/utils.c:1387): error parsing input array// [mpiexec@master] HYD_uii_mpx_get_parameters (./ui/mpich/utils.c:1438): unable to parse user arguments//
Usage: ./mpiexec [global opts] [exec1 local opts] : [exec2 local opts] : ...//
Please see the intructions provided at// http://wiki.mcs.anl.gov/mpich2/index.php/Using_the_Hydra_Process_Manager// for further details//
After that R stops work.
All the best, Riccardo
On 30/12/14 04:25, [email protected] wrote:
Message: 4 Date: Mon, 22 Dec 2014 11:23:22 -0600 From: Kenneth Raffenetti <[email protected]> To: <[email protected]> Subject: Re: [mpich-discuss] Run R script via MPICH Message-ID: <[email protected]> Content-Type: text/plain; charset="utf-8"; format=flowed
It seems your MPICH installation is working fine. Are you sure the error is coming from MPICH? A quick google search suggests it may be a shell syntax error.
Ken
On 12/22/2014 11:03 AM, Riccardo Romoli wrote:
Hi my name is Riccardo, I have a linux cluster based on ubuntu with mpich2 installed. I try to run the examples:
mpiexec.hydra -f hosts -n 4 /home/mpiuser/bin/cpi
and all works. So I try to run a simple R script but I get an error:
Syntax error: word unexpected
How can I overcome this error?
Regards, Riccardo _______________________________________________ discuss mailing list [email protected] To manage subscription options or unsubscribe: https://lists.mpich.org/mailman/listinfo/discuss
------------------------------
discuss mailing list [email protected] To manage subscription options or unsubscribe: https://lists.mpich.org/mailman/listinfo/discuss
-- Pavan Balaji ✉️ http://www.mcs.anl.gov/~balaji
participants (1)
-
Balaji, Pavan