List Info

Thread: LAM: mpiexec bug: assumes that "." is writable




LAM: mpiexec bug: assumes that "." is writable
country flaguser name
United States
2007-07-02 13:24:24
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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

2007-07-02  Sam Steingold  <sdsgnu.org>

	* 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


iD8DBQFGiULYPp1Qsf2qnMcRAug5AKCc5q1QYGPWx39eATTUKnJ0KOGFwwCg
kvXX
TKb/bhiqUTBuHC93RC4ENBo=
=gM7w
-----END PGP SIGNATURE-----
_______________________________________________
This list is archived at http://www.l
am-mpi.org/MailArchives/lam/

Re: LAM: mpiexec bug: assumes that "." is writable
country flaguser name
United States
2007-07-02 22:49:26
On Jul 2, 2007, at 2:24 PM, Sam Steingold wrote:

> mpiexec assumes that "." (whatever it is?) is
writable.
>
> 2007-07-02  Sam Steingold  <sdsgnu.org>
>
> 	* mpiexec: create temp file in /tmp, not
"."
> 	because the latter may not be writable

Ah, you are right.  I've committed a slightly different
patch that  
pays attention to $TMPDIR, since we try to do so throughout
the  
source code.

Thanks for bringing this to our attention,

Brian

-- 
   Brian Barrett
   LAM/MPI Developer
   Make today a LAM/MPI day!


_______________________________________________
This list is archived at http://www.l
am-mpi.org/MailArchives/lam/

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )