Hi,
I use the same wrapper but from an other link
(http://egee-uig.web.cern.ch/egee-uig/production_pages/MPIJobs.html).
Your wrapper should work. I have run the Hello world MPI code to display
the arguments defined by
'export I2G_MPI_APPLICATION_ARGS="./ 10 10"' and it works.
Following is an example of a real MPI job :
...
export MY_INPUT=$3
...
export I2G_MPI_APPLICATION_ARGS=${MY_INPUT}
I think that the problem must come from a little shell syntax in the
user's wrapper.
Christophe.
Cristina Aiftimiei wrote:
> Hi,
>
> thank you for your answer!
> The export it's working for me - that's why I was using it .
>
> $ export I2G_MPI_APPLICATION_ARGS="./ 1 0 0"
> $ echo $I2G_MPI_APPLICATION_ARGS
> ./ 1 0 0
> $ echo $SHELL
> /bin/bash
>
> My mpi-start-wrapper.sh is taken from
> https://twiki.cern.ch/twiki/bin/view/EGEE/MpiTools ("Submission of MPI
> Jobs")
>
> I'll ask the user to send me the files.... maybe he forgot to put some
> ""...
> Meanwhile could you tell me how did you wrote the ARGS line:
>
> # Setup for mpi-start.
> export I2G_MPI_APPLICATION=$MY_EXECUTABLE
> export I2G_MPI_APPLICATION_ARGS=
> export I2G_MPI_TYPE=$MPI_FLAVOR_LOWER
>
>
> Thanks again,
> Cris
>
>
>
> Christophe DIARRA wrote:
>> Hello Cristina,
>>
>> I am not an expert of MPI but your problem sounds like a shell
>> problem. The exemple you gives here should work.
>> We have MPI jobs which use "I2G_MPI_APPLICATION_ARGS" whithout any
>> problem. Could you please send me your
>> mpi-start-wrapper.sh and your .jdl ?
>>
>> Following is how to reproduce the problem under the shell :
>>
>> bash-3.00$ export I2G_MPI_APPLICATION_ARGS="./ 1 0 0"
>> bash-3.00$ export $I2G_MPI_APPLICATION_ARGS
>> bash: export: `./': not a valid identifier
>> bash: export: `1': not a valid identifier
>> bash: export: `0': not a valid identifier
>> bash: export: `0': not a valid identifier
>>
>> Christophe.
>>
>> Cristina Aiftimiei wrote:
>>> Hi,
>>>
>>> As I didn't received yet any answer I'm asking also here
>>> (lcg-rollout) maybe I can find someone with a little bit more
>>> experience than me.
>>> Please see the attached e-mail on mpi.
>>>
>>> Thank you in advance,
>>> Cristina
>>>
>>>
>>> -------- Original Message --------
>>> Subject: specifying executable arguments
>>> Resent-Date: Wed, 17 Jun 2009 15:37:30 +0200 (CEST)
>>> Resent-From: <[log in to unmask]>
>>> Date: Wed, 17 Jun 2009 15:37:24 +0200
>>> From: Doina Cristina Aiftimiei <[log in to unmask]>
>>> To: <[log in to unmask]>
>>>
>>>
>>>
>>> Hi,
>>>
>>> I hope this is the right place - if not, please accept my
>>> appologies..and guide me to the right one, if you know.
>>>
>>> I was looking around the various MPI - wiki's, web-pages for more
>>> detailed informations about MPI job submission and I wasn't able to
>>> find what I need - but maybe I didn't look hard enough.
>>>
>>> My problem is that a user wants to submit a mpi job that has also
>>> arguments ( like "mpi_test <some-path/> 1 0 0"). We tried using
>>> the I2G_MPI_APPLICATION_ARG in the mpi-start-wrapper.sh (as found
>>> in a 2006 presentation: "I2G_MPI_APPLICATION_ARGS: Specifies the
>>> parameters of the executable") but the error obtained is:
>>> ./mpi-start-wrapper.sh: line 26: export: `./': not a valid identifier
>>> ./mpi-start-wrapper.sh: line 26: export: `1': not a valid identifier
>>> ./mpi-start-wrapper.sh: line 26: export: `0': not a valid identifier
>>> ./mpi-start-wrapper.sh: line 26: export: `0': not a valid identifier
>>>
>>> (line 26: export I2G_MPI_APPLICATION_ARGS="./ 1 0 0")
>>>
>>> Thank you for the attention,
>>> Cristina
>>> PS: - sorry for an eventual double-posting, but the mail that I send
>>> as a registered person it seems didn't arrive.
>>>
>>
>>
>
>
--
Christophe DIARRA
Institut de Physique Nucleaire
Service Informatique
15 Rue Georges Clemenceau
F91406 ORSAY Cedex
Tel: +33 (0)1 69 15 65 60
Mobile: +33 (0)6 31 26 23 69
Fax: +33 (0)1 69 15 64 70
E-mail: [log in to unmask]
|