[mpich-discuss] mpirun not running in batch mode.

Francisco Pastor paco at ceam.es
Fri Jun 13 06:25:36 CDT 2014


Gilles,

This is running for the hostname script (giving exactly the same log for 
shell and crontab) but adding these two lines does not work for my 
original script.

Here is the output of my process:

Log of /usr/local/mpich2-1.0.5p4/bin/mpirun -n 40 ./rams60

  in main        1024
  numarg:           0
par init numargs: 1 ./rams60 1024 0
par init args: 0 argvp[i] ./rams60
par init RAMS_MPI defined
  in main        1024
  numarg:           0
par init numargs: 1 ./rams60 1024 0
par init args: 0 argvp[i] ./rams60
par init RAMS_MPI defined
  in main        1024
  numarg:           0
par init numargs: 1 ./rams60 1024 0
par init args: 0 argvp[i] ./rams60
par init RAMS_MPI defined

It starts three rams60 processes in the main node (ventus) and no 
processess in the rest of nodes (ventus2-5)

meteo at ventus:~/RAMS/RUN$ ps -ef | grep rams
meteo    11064 10476  0 13:01 ?        00:00:00 python2 
/usr/local/mpich2-1.0.5p4/bin/mpirun -n 40 ./rams60
meteo    11068 11066  0 13:01 ?        00:00:00 ./rams60
meteo    11069 11067  0 13:01 ?        00:00:00 ./rams60
meteo    11070 11065  0 13:01 ?        00:00:00 ./rams60
meteo    11362  9342  0 13:06 pts/7    00:00:00 grep --color=auto rams

These are RAMS compile options in case the problem is application related:

MPI_PATH=/usr/local/mpich2-1.0.5p4
PAR_INCS=-I$(MPI_PATH)/src/include
PAR_LIBS=-L$(MPI_PATH)/lib/ -lmpich
PAR_DEFS=-DRAMS_MPI

Thanks

El 13/06/2014 11:39, Gilles Gouaillardet escribió:
> Francisco,
>
> i cannot access to the vernote.com web site :-(
>
> anyway, you can try to add the following two lines :
>
> export PATH=/usr/local/mpich2-1.0.5/bin:$PATH
> export LD_LIBRARY_PATH=/usr/local/mpich2-1.0.5/lib:$LD_LIBRARY_PATH
>
> at the beginning of your cron script and try again
>
> Cheers,
>
> Gilles
>
> On 2014/06/13 18:44, Francisco Pastor wrote:
>> I tried what you said and it seems you are right about environment. In
>> the case run from crontab there is an error message telling mpirun is
>> not found and a warning:
>>
>> "ldd: faltan los ficheros de argumentos /(missing argument files)"/
>>
>> You can see full output of shell, at and crontab in:
>>
>>   https://www.evernote.com/shard/s162/sh/641d8db6-9252-49f5-b7d7-3592e0591c2f/f0bccdd25e1b5ac444879b6212f34912
>>
>>
>> Should I add export PATH=/usr/local/mpich2-1.0.5 to the script? I'm
>> gonna try. What about the ldd message?
> _______________________________________________
> discuss mailing list     discuss at mpich.org
> To manage subscription options or unsubscribe:
> https://lists.mpich.org/mailman/listinfo/discuss
>
>

-- 
-----------
Dr. Francisco Pastor
Meteorology department, Instituto Universitario CEAM-UMH
http://www.ceam.es
-----------
Mendeley profile: http://www.mendeley.com/profiles/francisco-pastor1/
Google Scholar: http://scholar.google.com/citations?user=V3mmCdkAAAAJ&hl=es
Researcher ID: http://www.researcherid.com/rid/B-8331-2008
Cosis profile: http://www.cosis.net/profile/francisco.pastor
-----------
mail: paco at ceam.es
skype: paco.pastor.guzman
-----------
Parque Tecnologico, C/ Charles R. Darwin, 14
46980 PATERNA (Valencia), Spain
Tlf. 96 131 82 27 - Fax. 96 131 81 90


---------------------------------------------------------------------
Este mensaje y los ficheros anexos son confidenciales. Los mismos contienen información reservada de la empresa que no puede ser difundida. Si usted ha recibido este correo por error, tenga la amabilidad de eliminarlo de su sistema y avisar al remitente mediante reenvío a su dirección electrónica; no deberá copiar el mensaje ni divulgar su contenido a ninguna persona.

Su dirección de correo electrónico junto a sus datos personales forman parte de un fichero titularidad de la Fundación de la Comunidad Valenciana Centro de Estudios Ambientales del Mediterráneo - CEAM, con CIF: G-46957213, cuya finalidad es la de mantener el contacto con Ud. De acuerdo con la Ley Orgánica 15/1999, usted puede ejercitar sus derechos de acceso, rectificación, cancelación y, en su caso, oposición enviando una solicitud por escrito, acompañada de una fotocopia de su DNI dirigida a: Fundación de la Comunidad Valenciana Centro de Estudios Ambientales del Mediterráneo - CEAM. C/ Charles R. Darwin, 14. Parque Tecnológico.46980 PATERNA (Valencia).

This message and the attached files are confidential. They contain reserved information belonging to our centre and are not to be broadcast. If you have received this email by mistake, please delete it from your system and alert the sender by returning it to his/her email address. You must not copy or divulge the contents of the message to anyone.

Your email address and personal data are included in a file belonging to the Fundación de la Comunidad Valenciana Centro de Estudios Ambientales del Mediterráneo - CEAM, con CIF: G-46957213. The purpose of this file is to allow us to keep in contact with you. In accordance with Organic Law 15/1999, you are permitted to access, rectify, cancel or oppose the contents of this file by submitting a written request, accompanied by a photocopy of your DNI, to: Fundación de la Comunidad Valenciana Centro de Estudios Ambientales del Mediterráneo - CEAM. C/ Charles R. Darwin, 14. Parque Tecnológico.46980 PATERNA (Valencia).



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mpich.org/pipermail/discuss/attachments/20140613/798889d6/attachment.html>


More information about the discuss mailing list