Browse Source

genecup: update service.

master
Efraim Flashner 9 months ago
committed by Shepherd
parent
commit
db4ae18acb
  1. 16
      genecup-channels.scm
  2. 11
      run_genecup.sh

16
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")))))

11
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

Loading…
Cancel
Save