khanna-lab / cadre

Other
0 stars 0 forks source link

Code is breaking #106

Closed khanna7 closed 1 year ago

khanna7 commented 1 year ago
OpenCL: Failed to get number of platforms with clGetPlatformIDs(): -1001
CUDA: Failed to get number of devices with cudaGetDeviceCount(): CUDA driver version is insufficient for CUDA runtime versio
n
Traceback (most recent call last):
  File "/gpfs/runtime/opt/python/3.9.0/lib/python3.9/runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/gpfs/runtime/opt/python/3.9.0/lib/python3.9/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/gpfs/home/akhann16/code/cadre/python/pycadre/__main__.py", line 21, in <module>
    main()
  File "/gpfs/home/akhann16/code/cadre/python/pycadre/__main__.py", line 14, in main
    model = cadre_model.Model(params=params_list, comm=MPI.COMM_WORLD)
  File "/gpfs/home/akhann16/code/cadre/python/pycadre/cadre_model.py", line 48, in __init__
    self.network = ErdosReyniNetwork(self.comm, load_params.params_list["EDGE_PROB"])
AttributeError: 'Model' object has no attribute 'comm'