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: PYTHON/README
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,8 @@ There is one example in the directory.
20
20
1. pddrive.py:
21
21
This example will generate a random SPD matrix, perform the factorization and computes the log-determinant (and compare it with log-determinant from numpy.linalg.slogdet)
22
22
To run the code, type:
23
-
python pddrive.py -c 2 -r 1
23
+
export SUPERLU_PYTHON_LIB_PATH=[PATH to the superlu_dist_python library]
24
+
mpirun -n 2 python pddrive.py -c 2 -r 1
24
25
(The above use 2 MPIs.)
25
26
Note that if a 64-bit integer interface is needed (assuming -DXSDK_INDEX_SIZE=64 has been used to compile the code), set INT64 = 1 in pddrive.py
0 commit comments