Frequently asked questions (FAQs)
Q: I am getting the following error: pymongo.errors.DocumentTooLarge: 'findAndModify' command document too large. What can I do?
A: You can change the default setup for background I/O.
Q: I cannot find a model in the database, what can I do?
A: You can use tags and then search the database for known tags, metadata and data.
Q: The statements in the model are evaluated in an order that is non-intuitive. I wish certain statements to be evaluated now and other statements - only later.
A: You can consider using the --on-demand option to either texts session or texts script. Read more here.
Q: Slurm does not accept batch jobs with --account but texts adds my username as the default account.
A: Open an ipython session and run the following code:
from virtmat.middleware.resconfig import get_default_resconfig, get_resconfig_loc
cfg = get_default_resconfig()
cfg.default_worker.accounts.append(None)
cfg.default_worker.default_account = None
cfg.to_file(get_resconfig_loc())
Then run texts again. Then use the variable update (using :=) to inforce re-evaluation of the resources. A simple %rerun var will not be sufficient.