[mpich-discuss] Run R script via MPICH
Balaji, Pavan
balaji at anl.gov
Tue Dec 30 21:01:43 CST 2014
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 <ric.romoli at gmail.com> 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 at master] match_arg (./utils/args/args.c:122): unrecognized argument pmi_args//
> [mpiexec at master] HYDU_parse_array (./utils/args/args.c:140): argument matching returned error//
> [mpiexec at master] parse_args (./ui/mpich/utils.c:1387): error parsing input array//
> [mpiexec at 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, discuss-request at mpich.org wrote:
>
>> Message: 4
>> Date: Mon, 22 Dec 2014 11:23:22 -0600
>> From: Kenneth Raffenetti <raffenet at mcs.anl.gov>
>> To: <discuss at mpich.org>
>> Subject: Re: [mpich-discuss] Run R script via MPICH
>> Message-ID: <5498538A.7000609 at mcs.anl.gov>
>> 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 discuss at mpich.org
>>> To manage subscription options or unsubscribe:
>>> https://lists.mpich.org/mailman/listinfo/discuss
>>
>>
>> ------------------------------
> _______________________________________________
> discuss mailing list discuss at mpich.org
> To manage subscription options or unsubscribe:
> https://lists.mpich.org/mailman/listinfo/discuss
--
Pavan Balaji ✉️
http://www.mcs.anl.gov/~balaji
More information about the discuss
mailing list