Hello. I was trying to run openmc-onix coupling example on device. But it is showing CRAM CALLED
--------------------------------------------------------------------------- TypeError Traceback (most recent call last) Cell In[19], line 1 ----> 1 SA.burn() File ~/ONIX/onix/standalone.py:229, in Stand_alone.burn(self) 227 self._step_normalization(s) 228 print ((‘\n\n\n=== Salameche Burn {}===\n\n\n’.format(s))) → 229 salameche.burn_step(system, s, ‘stand alone’) 231 # To develop. Basially update bu against time when doing constant flux 232 #sequence.dynamic_system_time_bu_conversion(system) 235 system._gen_output_summary_folder() File ~/ONIX/onix/salameche/burn.py:60, in burn_step(system, s, mode) 58 bucell._set_folder() 59 bucell._print_xs_lib() —> 60 burn_cell(bucell, s, mode, reac_rank) 61 bucell._change_isotope_density(s) 62 bucell._change_total_density(s) File ~/ONIX/onix/salameche/burn.py:108, in burn_cell(bucell, s, mode, reac_rank) 106 if flux_approximation == ‘iv’: 107 for i in range(microsteps_number): → 108 N = burn_microstep(bucell, B, C, N, s, i, microsteps_number, mode, reac_rank) 109 elif flux_approximation == ‘pc’: 110 for i in range(microsteps_number): File ~/ONIX/onix/salameche/burn.py:194, in burn_microstep(bucell, B, C, N, s, ss, ssn, mode, reac_rank) 188 #A = B1e-24flux 189 # print((‘current flux’, flux)) 190 # print((‘current time_subintvl’, time_substep)) 192 At = A*time_substep → 194 N = cram.CRAM16(At, N) 195 #N = py_pade.pade(At, N) 197 cram.CRAM_density_check(bucell, N) File ~/ONIX/onix/salameche/cram.py:51, in CRAM16(At, N_0) 49 term1 = At - theta[i]np.identity(np.shape(At)[0]) 50 term2 = alpha[i]N_0 —> 51 _N += np.linalg.solve(term1,term2) 53 N = 2_N.real 54 N = N + alpha_0N_0 File ~/anaconda3/envs/openmc-env/lib/python3.12/site-packages/numpy/linalg/_linalg.py:401, in solve(a, b) 399 _assert_stacked_square(a) 400 b, wrap = _makearray(b) → 401 t, result_t = _commonType(a, b) 403 # We use the b = (…, M,) logic, only if the number of extra dimensions 404 # match exactly 405 if b.ndim == 1: File ~/anaconda3/envs/openmc-env/lib/python3.12/site-packages/numpy/linalg/_linalg.py:162, in _commonType(*arrays) 159 result_type = double 160 elif rt is None: 161 # unsupported inexact scalar → 162 raise TypeError(“array type %s is unsupported in linalg” % 163 (a.dtype.name,)) 164 else: 165 result_type = double TypeError: array type complex256 is unsupported in linalg
How can I solve this?