Matrix operations 2

Andrey andrey.l... at gmail.com
Thu Feb 3 13:53:15 UTC 2011


Thanks a lot,

I found that ks_matrix has not initialized, so errors appear.

Are there any routines  that allow to print simple types arrays like
REAL(dp), DIMENSION(:), POINTER
The cp_dbcsr_print was designed for structures having cp_dbcsr_p_type.

Best Regards,
Andrey

On Feb 2, 11:02 pm, Urban Borštnik <urban.b... at gmail.com> wrote:
> Hello,
>
> On Wed, 2011-02-02 at 09:58 -0800, Andrey wrote:
> > [...]
> > 1) How can I output the ks_matrix and rho_ao matrices to analyse them?
>
> You can use the cp_dbcsr_print subroutine, e.g.,
> CALL cp_dbcsr_print (matrix_a, matlab_format=.TRUE.,&
>                variable_name="matrix_a", error=error)
>
> > 2) What type of error may lead to such sort of crash?
>
> I do not know in this case.  Do you have a more specific trace of where
> the segfault occurs?  Does it always occur?
>
> Best regards,
> Urban


More information about the CP2K-user mailing list