aboutsummaryrefslogtreecommitdiff
path: root/player/player.F90
diff options
context:
space:
mode:
authorJeffrey Armstrong <jeff@approximatrix.com>2021-04-07 14:21:35 -0400
committerJeffrey Armstrong <jeff@approximatrix.com>2021-04-07 14:21:35 -0400
commitc493170e73506e974a0644452fc5a334c08171bc (patch)
tree7cfbbde04f5e3263092118dbabf843fbe68d93ad /player/player.F90
parent1de4bd52574599452f9e92c8e36381a4797563fb (diff)
downloadlevitating-c493170e73506e974a0644452fc5a334c08171bc.tar.gz
levitating-c493170e73506e974a0644452fc5a334c08171bc.zip
Fixed many issues related to reporting status. Initial debugging of titan upload handling.
Diffstat (limited to 'player/player.F90')
-rw-r--r--player/player.F907
1 files changed, 5 insertions, 2 deletions
diff --git a/player/player.F90 b/player/player.F90
index f5e4055..bac6d6f 100644
--- a/player/player.F90
+++ b/player/player.F90
@@ -39,6 +39,7 @@ implicit none
end if
if(work_to_do) then
+ Print *, "Work Available"
job_id = get_job_id_from_checkin(j_checkin)
call get_instruction_name_from_checkin(j_checkin, instruction_name)
@@ -46,6 +47,8 @@ implicit none
instr_json_available = request_json(url, j_instructions)
if(instr_json_available) then
+ Print *, "instructions available"
+
! Task loop
call perform_tasks(j_instructions, job_id)
@@ -55,7 +58,7 @@ implicit none
else
#ifdef GNU
- call sleep(50)
+ call sleep(20)
#endif
end if
@@ -157,7 +160,7 @@ contains
! NOTE: will fail on Windows
if(.not. associated(logfile)) then
allocate(character(len=256) :: logfile)
- logfile = "/tmp/levitating.log"
+ logfile = "/tmp/levitating-player.log"
end if
! Assign this computer an identity if not explicitly specified