From fe2d644507548dcbaaf8d675d2e5c96795101d70 Mon Sep 17 00:00:00 2001 From: Pjotr Prins Date: Sun, 3 Dec 2023 09:39:57 -0600 Subject: Move xapian files --- topics/xapian/xapian-indexing-on-tux01.gmi | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 topics/xapian/xapian-indexing-on-tux01.gmi (limited to 'topics/xapian/xapian-indexing-on-tux01.gmi') diff --git a/topics/xapian/xapian-indexing-on-tux01.gmi b/topics/xapian/xapian-indexing-on-tux01.gmi new file mode 100644 index 0000000..71a4843 --- /dev/null +++ b/topics/xapian/xapian-indexing-on-tux01.gmi @@ -0,0 +1,17 @@ +How to run the Xapian indexing script + +Change to Arun's user: +su aruni + +Remove old xapian directory + contents: +sudo -u aruni rm -r /export/data/genenetwork/xapian + +Run guix shell: +/home/zas1024/opt/guix/bin/guix shell --container --network --share=/export/data/genenetwork/ --development --file=guix.scm + +Run the indexer script: +env PYTHONPATH=. python3 scripts/index-genenetwork /export/data/genenetwork/xapian mysql://webqtlout:webqtlout@127.0.0.1:3306/db_webqtl + +OR Put the following in a shell script and run as Arun + +rm -r /export/data/genenetwork/xapian && /home/zas1024/opt/guix/bin/guix shell --container --network --share=/export/data/genenetwork/ --development --file=guix.scm -- env PYTHONPATH=. python3 scripts/index-genenetwork /export/data/genenetwork/xapian mysql://webqtlout:webqtlout@127.0.0.1:3306/db_webqtl -- cgit v1.2.3