You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+20-14
Original file line number
Diff line number
Diff line change
@@ -5,21 +5,27 @@ Goal: Provide tools that make it easy to manage and store QWalk runs.
5
5
6
6
# Getting started.
7
7
8
+
Run `setup.py` to fill in the locations of packages you may want to use with autogen, such as Crystal or PySCF.
9
+
- without this step autogen will not be able to run any executibles.
10
+
8
11
Check out the intro folder, which constains a set of jupyter notebooks to help you understand how this package works.
12
+
Alternative python scripts (which are just python downloads of the notebooks) are also there.
9
13
10
14
Working through all the notebooks should only take ~10 minutes.
11
15
12
-
# Object definitions
13
-
14
-
## Level 1: constructing input files and gathering data
15
-
16
-
* The Writer object has all options to set up a job as member variables, and can construct input files for a run given those input files.
17
-
* The Reader object can read the output of a run and report on its completion or lack thereof. This object defines what a successful run is.
18
-
* The Runner object executes a set of runs for a given code on a given computer system.
19
-
20
-
## Level 2: Manager
21
-
22
-
The Manager object consists of at least one Writer, Reader, and Runner. The Manager owns the directory for the time of its execution, that is, until it says it's done.
23
-
A manager may need multiple nextstep() calls before it's done. For example, one might want to run crystal and then properties using a queue to run both.
24
-
25
-
Calling `nextstep` repeatedly will attempt to finish the calculation, one step at a time.
16
+
You can also checkout `tests/simple_test.py` for a more useful template to build scripts from.
17
+
18
+
# Troubleshooting
19
+
20
+
- autogen can't find an executible.
21
+
- Make sure you've run `setup.py`.
22
+
- The notebooks keep saying 'file not found'?
23
+
- If you have any error when running the notebook, try restarting the kernel.
24
+
Sometimes the current state of the kernel is the problem.
25
+
- A manager isn't updating some attributes or is refusing to update some attributes.
26
+
- Be careful! This sometimes means you've changed the input file but the old output is still around.
27
+
This can lead to bad data if not dealt with carefully!
28
+
Check that you didn't change any parameters that affect the accuracy of the calculation.
29
+
If you want to force the change, you can delete the manager, and it'll go through with what you say.
30
+
To be safe, you should probably remove all the output generated by that manager as well.
0 commit comments