You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running the following code for a basic future fails when batch_type is set to "condor"
importndcctools.taskvineasvinedefmy_sum(x, y):
returnx+ym=vine.FuturesExecutor(manager_name='my_manager', batch_type="condor")
a=m.submit(my_sum, 3, 4)
b=m.submit(my_sum, 5, 2)
c=m.submit(my_sum, a, b) # note that the futures a and b are# passed as any other argument.print(c.result())
This did work on the local machine, but when condor was specified, it did not seem to complete execution on the crcfe01 machine. In addition, according to vine_status, a and b were completed but c never did. The same was true for a reduction i tested, which completed 10 tasks but not the final task (which combined the 10 results).
The following code also failed nondeterministically in two ways
(cctools-dev) [kxue2@crcfe02 taskvine_tests]$ python3 single_future.py
b''
Traceback (most recent call last):
File "/afs/crc.nd.edu/user/k/kxue2/taskvine_tests/single_future.py", line 11, in<module>print(a.result())
^^^^^^^^^^
File "/afs/crc.nd.edu/user/k/kxue2/miniconda3/envs/cctools-dev/lib/python3.12/site-packages/ndcctools/taskvine/futures.py", line 399, in result
raise result
File "/afs/crc.nd.edu/user/k/kxue2/miniconda3/envs/cctools-dev/lib/python3.12/site-packages/ndcctools/taskvine/futures.py", line 523, in output
self._output = cloudpickle.loads(self._output_file.contents())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
EOFError: Ran out of input
Does not terminate
The text was updated successfully, but these errors were encountered:
Running the following code for a basic future fails when batch_type is set to "condor"
This did work on the local machine, but when condor was specified, it did not seem to complete execution on the crcfe01 machine. In addition, according to vine_status, a and b were completed but c never did. The same was true for a reduction i tested, which completed 10 tasks but not the final task (which combined the 10 results).
The following code also failed nondeterministically in two ways
Does not terminate
The text was updated successfully, but these errors were encountered: