[mpich-discuss] mpirun not running in batch mode.
Francisco Pastor
paco at ceam.es
Fri Jun 13 02:28:53 CDT 2014
Hi Gilles
As I'm using mpich2-1.0.5 I just need an mpd.hosts file in the directory
I'm running the executable. Yesterday I installed mpich3.1 and compiled
my application but running issued an error about a shared library so I
went back to mpich2. Maybe I should upgrade.
Going back to mpich2, yes I can run
mpirun -n 40 hostname > log.hostname
both from shell and at, yielding names of the five nodes.
But if run from crontab log.hostname is empty (0 size). Maybe the
problem is crontab and not application related.
Yes, I can ssh passwordless between every node in the cluster
Yes, I run /home/meteo/RAMS/SCRIPTS/RAMS_operatiu.bash and "mpirun -n
40 ./rams60" from the shell and output is fine, running rams60 processes
in all nodes.
Thanks for your interest and help
El 13/06/2014 4:01, Gilles Gouaillardet escribió:
> Francisco,
>
> this is fine, i just wanted to double check you were not using a
> machinefile the wrong way.
>
> your initial request was :
>> If the script that runs the model is scheduled with cron it just
>> starts processes on the main node but not in the rest of the cluster
>> nodes.
> and from what i can read, you are not using any machinefile.
> how do you expect your job run on all the cluster nodes if you do not
> have a machinefile ?
>
> can you run
> $ruta_mpi/mpirun -n 40 hostname
> both from shell and crontab
>
> which nodes are used in both cases ?
>
>
> by the way, can you ssh passwordless on all the nodes from where the
> cron is ran ?
> passwordless means you do not need to enter any password and/or
> passphrase nor "save" your passphase via ssh-agent.
>
> and could you confirm
> /home/meteo/RAMS/SCRIPTS/RAMS_operatiu.bash < /dev/null
>
> works fine from the shell ?
>
> Cheers,
>
> Gilles
>
> On 2014/06/12 21:37, Francisco Pastor wrote:
>> RAMSIN.operatiu is not machinefile. It is a configuration file read by
>> ./rams60.
>>
>> May this be causing a conflict? Does mpirun try to read RAMSIN.operatiu?
>>
> _______________________________________________
> 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).
More information about the discuss
mailing list