aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner2021-11-02 09:45:29 +0000
committerShepherd2021-11-02 09:45:29 +0000
commitdb4ae18acb66d4be55cb22cb4ec1883bfdf17e0d (patch)
tree384f773a1a01af182651355a77b076abacfb103c
parent1566d9cdc9902bf573cea42b3ac8558c37f2c841 (diff)
downloadgn-shepherd-services-db4ae18acb66d4be55cb22cb4ec1883bfdf17e0d.tar.gz
genecup: update service.
-rw-r--r--genecup-channels.scm16
-rwxr-xr-xrun_genecup.sh11
2 files changed, 25 insertions, 2 deletions
diff --git a/genecup-channels.scm b/genecup-channels.scm
new file mode 100644
index 0000000..955738b
--- /dev/null
+++ b/genecup-channels.scm
@@ -0,0 +1,16 @@
+(list
+ (channel
+ (name 'gn-bioinformatics)
+ (url "http://git.genenetwork.org/guix-bioinformatics/guix-bioinformatics")
+ (commit
+ "90b466488a778cfea3693fb2157c58377849f4a6"))
+ (channel
+ (name 'guix)
+ (url "https://git.savannah.gnu.org/git/guix.git")
+ (commit
+ "2ca982ff41270288913ad6b7d5d9e1cad87b06d9")
+ (introduction
+ (make-channel-introduction
+ "9edb3f66fd807b096b48283debdcddccfea34bad"
+ (openpgp-fingerprint
+ "BBB0 2DDF 2CEA F6A8 0D1D E643 A2A0 6DF2 A33A 54FA")))))
diff --git a/run_genecup.sh b/run_genecup.sh
index 12f2169..ab5d67c 100755
--- a/run_genecup.sh
+++ b/run_genecup.sh
@@ -1,6 +1,13 @@
#!/bin/sh
-cd $(/home/shepherd/guix-profiles/genecup/bin/guix build -L /home/shepherd/guix-past/modules -L /home/shepherd/guix-bioinformatics genecup-with-tensorflow-native)
+
export EDIRECT_PUBMED_MASTER=/export2/PubMed
export PERL_LWP_SSL_CA_FILE=/etc/ssl/certs/ca-certificates.crt
export TMPDIR=/export/ratspub/tmp
-/home/shepherd/guix-profiles/genecup/bin/guix environment -L /home/shepherd/guix-past/modules -L /home/shepherd/guix-bioinformatics --ad-hoc genecup-with-tensorflow-native -- ./server.py
+
+# This version for the genecup guix profile which includes guix-bioinformatics, using genecup-channels.scm.
+/home/shepherd/guix-profiles/genecup/bin/guix environment --no-grafts genecup-with-tensorflow-native -- /home/shepherd/guix-profiles/genecup/bin/guix build --no-grafts genecup-with-tensorflow-native --cores=4
+cd $(/home/shepherd/guix-profiles/genecup/bin/guix build genecup-with-tensorflow-native)
+/home/shepherd/guix-profiles/genecup/bin/guix environment --ad-hoc genecup-with-tensorflow-native -- ./server.py
+
+#cd $(/home/shepherd/guix-profiles/genecup/bin/guix build -L /home/shepherd/guix-past/modules -L /home/shepherd/guix-bioinformatics genecup-with-tensorflow-native)
+#/home/shepherd/guix-profiles/genecup/bin/guix environment -L /home/shepherd/guix-past/modules -L /home/shepherd/guix-bioinformatics --ad-hoc genecup-with-tensorflow-native -- ./server.py