aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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