Index: /issm/trunk-jpl/src/m/solve/waitonlock.py
===================================================================
--- /issm/trunk-jpl/src/m/solve/waitonlock.py	(revision 17573)
+++ /issm/trunk-jpl/src/m/solve/waitonlock.py	(revision 17574)
@@ -24,5 +24,5 @@
 
 	#waitonlock will work if the lock is on the same machine only: 
-	if not m.strcmpi(socket.gethostname(),cluster):
+	if not m.strcmpi(gethostname(),cluster):
 
 		print 'solution launched on remote cluster. log in to detect job completion.'
