Skip to content

Commit e3c902f

Browse files
authored
Update README
1 parent d1c7f3a commit e3c902f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

PYTHON/README

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ There is one example in the directory.
2020
1. pddrive.py:
2121
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)
2222
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
2425
(The above use 2 MPIs.)
2526
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
2627

0 commit comments

Comments
 (0)