Open kwkbtr opened 4 years ago
pyscf.gto.mole.Mole.build method has parse_arg option, which specifies whether pyscf should parse command line arguments or not:
pyscf.gto.mole.Mole.build
parse_arg
https://sunqm.github.io/pyscf/gto.html#pyscf.gto.mole.Mole.build
The default value of the option is True and it sometimes results in a conflict with command line arguments parsed by a user script. cf. pyscf/pyscf#470
True
I think the root problem is on pyscf side (they should set the default value to False), but I think it is good to specify the argument explicitly in OpenFermion-PySCF; for example here: https://github.com/quantumlib/OpenFermion-PySCF/blob/b1081b90a372afc68ee8b265d7585afdcbe94c7b/openfermionpyscf/_run_pyscf.py#L43
False
pyscf.gto.mole.Mole.build
method hasparse_arg
option, which specifies whether pyscf should parse command line arguments or not:https://sunqm.github.io/pyscf/gto.html#pyscf.gto.mole.Mole.build
The default value of the option is
True
and it sometimes results in a conflict with command line arguments parsed by a user script. cf. pyscf/pyscf#470I think the root problem is on pyscf side (they should set the default value to
False
), but I think it is good to specify the argument explicitly in OpenFermion-PySCF; for example here: https://github.com/quantumlib/OpenFermion-PySCF/blob/b1081b90a372afc68ee8b265d7585afdcbe94c7b/openfermionpyscf/_run_pyscf.py#L43