[Swift-commit] r5023 - trunk/libexec

wozniak at ci.uchicago.edu wozniak at ci.uchicago.edu
Mon Aug 29 21:19:40 CDT 2011


Author: wozniak
Date: 2011-08-29 21:19:40 -0500 (Mon, 29 Aug 2011)
New Revision: 5023

Modified:
   trunk/libexec/_swiftwrap
Log:
Minor fix for MPI jobs


Modified: trunk/libexec/_swiftwrap
===================================================================
--- trunk/libexec/_swiftwrap	2011-08-30 00:23:33 UTC (rev 5022)
+++ trunk/libexec/_swiftwrap	2011-08-30 02:19:40 UTC (rev 5023)
@@ -232,6 +232,8 @@
 if [ -z $MPI_RANK ]; then
 	INFOFILE="$INFODIR/${ID}-info"
 else
+	# Just touch this file so the *.k stuff does not fail
+	[[ $MPI_RANK == 0 ]] && touch $INFODIR/${ID}-info
 	INFOFILE="$INFODIR/${ID}-${MPI_RANK}-info"
 fi
 rm -f $INFOFILE




More information about the Swift-commit mailing list