I cannot seem to find the problem. In siesta-3.2-pl3 the code which writes
the DIM file is (as you say) binary, and is performed in plcharge.F
In Denchar the file which reads it is local_reinit.f and that also assumes
it to be in binary format. So no mismatch here.

I just checked in siesta-3.1 and that one has the same way (everything in
binary).

Are you by any chance using a very old version of denchar?
And if not, are you sure the problem is the DIM file?

Kind regards Nick


2013/9/26 Ian Shuttleworth <[email protected]>

>  Siesterers
>
> I am trying to use DENCHAR within SIESTA-3.2-pl3
>
> Denchar is rejecting the DIM file generated by the SIESTA code
> generated in the same distribution
>
> Looking at the DIM file, format is binary, and inspection of DENCHAR
> seems to require non-binary format. This is a new problem, I used
> DENCHAR successfully in earlier versions. DIM files previously were
> plain text.
>
> Has anyone else encountered this problem? Any ideas for a fix?
>

Responder a