Open NicoRenaud opened 4 years ago
As a temporary solution I will leave nstates=MSTATES
in read_data.f90
The first issue encountered with nstates
with h2/qmc_1det/vmc.inp
is in read_determinants
in read_data'f90
where if nstates
is undefined we can't read the det from the file. However nstates
is defined later in read_csf
or by inputcsf
in set_input_data.f90
.
The parser really makes it difficult to disentangle the reading of the dets and of nstates. Since we will replace the parser the best solution is to simply use MSTATE to allocate arrays until we have a better way of reading the input files. I've reverted to use MSTATES
if nstates is not set equal to MSTATES I get a SEGFAULT. The SEG FAULT seems to appear in the sampling (line number might change)
Nothing there depends on MSTATES or nstates so I'm puzzled