Hi Gilles 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/... Should I add export PATH=/usr/local/mpich2-1.0.5 to the script? I'm gonna try. What about the ldd message? Thanks El 13/06/2014 9:26, Gilles Gouaillardet escribi�:
hummm
this is likely due to the environment not being set within cron.
can you run the following script from both shell and crontab and look for the differences ?
pwd > log.hostname 2>&1 which mpirun >> log.hostname 2>&1 ldd `which mpirun` >> log.hostname 2>&1 ulimit -a >> log.hostname 2>&1 mpirun -n 40 hostname >> log.hostname 2>&1
Cheers,
Gilles _______________________________________________ discuss mailing list [email protected] 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: [email protected] 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).