14.08.2013 Views

Tutorial slides (PDF) - Clemson University

Tutorial slides (PDF) - Clemson University

Tutorial slides (PDF) - Clemson University

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Python Interface in BLACS and ScaLAPACK<br />

% Note that we choose to return Py_None, instead of empty array.<br />

if ((b_locM == 0) | (b_locN == 0))<br />

{<br />

Py_DECREF(b_obj);<br />

Py_RETURN_NONE;<br />

}<br />

PyObject* value = PyBuildValue("O",b_obj);<br />

Py_DECREF(b_obj);<br />

return value;<br />

} % end of scalapack_redist<br />

More information at:<br />

https://trac.fysik.dtu.dk/projects/gpaw/browser/trunk/c/blacs.c

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!