cd /home/user/MD/TaskServer/Tasks/140.123.79.184-32000-task89998
package require starkit
source /home/user/MD/bin/generic/TaskServer.kit
source /home/user/MD/bin/generic/tcllib.kit
lappend auto_path /home/user/MD/TaskServer/Tools
namespace eval ::task {variable id 89998.140.123.79.184-32000}
namespace eval ::JobServer {variable JobServer http://140.123.79.184:32000}
namespace eval ::TaskServer {variable InstallDir /home/user/MD}
array set Options {finishedtasks {} -remote 0 -ntasks 1 -id http://amd-2:23000/taskserver -port 23000 wd /home/user/MD/TaskServer -batch_queue {} -delay 0 interval 60 -core_limit_type 0 -machines {} -ruser {} -rdir {} -css {SmallFontSizePixels 14 FontFamily {"Palatino Linotype", "Book Antiqua", "Palatino", "Georgia", "serif"} BannerHighlightColor #A0B01E AdminBannerColor #0A4A54 BackgroundColor #FFFFFF AdminHighlightColor #3B8993 SmallestFontSizePixels 12 BannerColor #202020 FontColor #202020 TableColor #202020 TaskServerBannerColor #3D2527 FontSizePixels 16} InstallDir /home/user/MD tasks {} -control_type 0 -path {} -queue_type direct -batch_project {} -usehttps 0 -displayloglevel notice -rhost {} -rwdir {} -nprocessors 32 -webmaster Support@MaterialsDesign.com -type {} -loglevel notice}
set Options(taskdir) /home/user/MD/TaskServer/Tasks/140.123.79.184-32000-task89998
set Options(-nprocessors) 1
#
# The MedeA environment
#
set ::MedeA::platform Linux-x86_64
set ::MDPriv {logfile /home/user/MD/TaskServer/logs/amd-2.log}
array set ::MedeA::Directory {bin /home/user/MD/bin/Linux-x86_64 TaskServer /home/user/MD/bin/generic/TaskServer.kit user_medea /home/user/MedeA tcllib /home/user/MD/bin/generic/tcllib.kit generic /home/user/MD/bin/generic flowcharts /home/user/MD/data/Flowcharts.kit tmp /home/user/MedeA/tmp data /home/user/MD/data medealib /home/user/MD/bin/generic/MedeALib.kit binarylib /home/user/MD/bin/Linux-x86_64/Linux-x86_64.kit MedeA /home/user/MedeA root /home/user/MD platform /home/user/MD/bin/Linux-x86_64/Linux-x86_64.kit realbin /home/user/MD/bin/Linux-x86_64 binarykit /home/user/MD/bin/Linux-x86_64/Linux-x86_64.kit forcefields /home/user/MD/data/Forcefields.kit user /home/user}
namespace eval job {
	variable id 2085
	variable url http://140.123.79.184:32000
	variable dir C:/MD/Jobs/dir2000/2085
	variable useSecurity 0
}

	    if {[catch {
		::JobServer::listFiles
	    } msg]} {
		puts "Cannot load JobServer::listFiles -- $msg"
		proc ::JobServer::listFiles {} {
		    puts "\nFiles:"
		    foreach file [lsort [glob -nocomplain *]] {
			if {[catch {file mtime $file} T]} {
			    set T "--- -- --:--:--"
			} else {
			    set T [clock format $T -format "%b %d %T"]
			}
			puts [format "%15d %s %s" [file size $file] $T $file]
		    }
		    puts ""
		}
		::JobServer::listFiles
	    }

	    if {[catch {
		puts "Starting LAMMPS on GPU at [clock format [clock seconds]]"
                if {$::tcl_platform(platform) == "windows"} {
 	 	    package require LAMMPSGPU 3.0
                } else {
 	 	    package require LAMMPS 3.0
                }

		::LAMMPS::execute -out LAMMPS.out

		puts "Finished LAMMPS [clock format [clock seconds]]"
		::JobServer::listFiles
	    } msg]} {
		puts "Error executing LAMMPS on GPU [clock format [clock seconds]]: $msg\n\n$::errorInfo"
		global errorInfo
		puts ""
		puts $errorInfo
		::JobServer::listFiles
		return
	    }
	
	    # Temporarily delete WAVECAR until Job server changes propagate through
	    if {[file exists VASP_WAVECAR.txt] && [file exists WAVECAR]} {
		file delete -force WAVECAR
	    }
	
exit