I have been testing python 3 compatibility of an implementation of the EPIC code which uses bifrost to perform direct imaging from the EPIC Astronomy group.
Here the current software versions installed for ctypes, bifrost, and lsl (a full environment snapshot is listed below). I have run bifrost off of the latest master a53b35bb7d6507f9fb0564800f504040a2248bfa
Running the EPIC code results in a ctypes error during a ring resize call in bifrost. I am definitely open to the idea my environment was configured incorrectly but this seemed like the best place to get help.
(epic_py3) mkolopanis@intrepid [10:42:13] [~/src/LWA_EPIC/LWA] [script_consolidation *]
-> % python LWA_bifrost.py --offline --tbnfile=/data5/LWA_SV_data/data_raw/TBN/Jupiter/058161_000086727 --imagesize 64 --imageres 1.79057 --nts 512 --channels 4 --accumulate 50 --ints_per_file 40 --out_dir py3_test/no_dft/
Exception in thread Thread-1:
Traceback (most recent call last):
File "/home/mkolopanis/src/anaconda/envs/epic_py3/lib/python3.6/threading.py", line 916, in _bootstrap_inner
self.run()
File "/home/mkolopanis/src/anaconda/envs/epic_py3/lib/python3.6/threading.py", line 864, in run
self._target(*self._args, **self._kwargs)
File "LWA_bifrost.py", line 286, in main
self.oring.resize(ogulp_size, buffer_factor=10)
File "/home/mkolopanis/src/anaconda/envs/epic_py3/lib/python3.6/site-packages/bifrost-0.9.0-py3.6.egg/bifrost/ring.py", line 75, in resize
nringlet) )
ctypes.ArgumentError: argument 2: <class 'TypeError'>: wrong type
^C2020-10-06 17:42:44 [WARNING ] Received signal 2 SIGINT
[1] 19264 killed python LWA_bifrost.py --offline --imagesize 64 --imageres 1.79057 --nts 512
I have been testing python 3 compatibility of an implementation of the EPIC code which uses bifrost to perform direct imaging from the EPIC Astronomy group.
Here the current software versions installed for ctypes, bifrost, and lsl (a full environment snapshot is listed below). I have run bifrost off of the latest master a53b35bb7d6507f9fb0564800f504040a2248bfa
Running the EPIC code results in a ctypes error during a ring resize call in bifrost. I am definitely open to the idea my environment was configured incorrectly but this seemed like the best place to get help.
full environment state