LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: Sam Steingold (sds_at_[hidden])
Date: 2007-07-02 14:24:24


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

mpiexec assumes that "." (whatever it is?) is writable.

2007-07-02 Sam Steingold <sds_at_[hidden]>

        * mpiexec: create temp file in /tmp, not "."
        because the latter may not be writable

- --- /home/sds/mpiexec 2005-03-08 16:55:36.000000000 -0500
+++ /usr/bin/mpiexec 2007-07-02 13:41:09.000000000 -0400
@@ -110,7 +110,7 @@

 # Create temp file for appschema (UNLINK makes sure file is deleted on exit

- -($as_fh, $as_fn) = tempfile("lam_appschema_XXXXXX");
+($as_fh, $as_fn) = tempfile("/tmp/lam_appschema_XXXXXX");
 if ( $debug_mode ne "" ) {
     print "mpiexec: Temporary file $as_fn created " .
           "(will be used as app schema file for mpirun)\n";
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGiULYPp1Qsf2qnMcRAug5AKCc5q1QYGPWx39eATTUKnJ0KOGFwwCgkvXX
TKb/bhiqUTBuHC93RC4ENBo=
=gM7w
-----END PGP SIGNATURE-----