Question: Installing Galaxy On Sge Cluster - Questions
0
gravatar for mailing list
6.2 years ago by
mailing list840
mailing list840 wrote:
Hi guys, I'm following the instructions here to install Galaxy on our SGE cluster. http://wiki.g2.bx.psu.edu/Admin/Config/Performance/Cluster (I'm aiming for the unified install) Here are a couple of questions I'm hoping someone could clear up for me: How exactly do I use virtual env to make Galaxy install all the Python libraries there instead of on the system? How will Galaxy know to use the virtualenv to run and to use it for grid jobs? Do I need to install all of the dependencies listed on this page: http://wiki.g2.bx.psu.edu/Admin/Tools/Tool%20Dependencies If so what's a good way to make sure they're contained in the galaxy-dist directory and make sure Galaxy and all of the jobs know to find these tools there? Thanks, Greg
galaxy • 1.1k views
ADD COMMENTlink modified 6.2 years ago by Nate Coraor3.2k • written 6.2 years ago by mailing list840
0
gravatar for Nate Coraor
6.2 years ago by
Nate Coraor3.2k
United States
Nate Coraor3.2k wrote:
Hi Greg, You should start at the top level documentation for production servers: http://wiki.g2.bx.psu.edu/Admin/Config/Performance/Production%20Server This includes instructions on how to set up a virtualenv. You can make this the default by setting the $PATH in the Galaxy user's ~/.bash_profile to include the virtualenv's bin directory (at the beginning of $PATH). You only need to install the dependencies for the tools that you plan to use. Setting them up is explained in more detail here: http://wiki.g2.bx.psu.edu/Admin/Config/Tool%20Dependencies --nate
ADD COMMENTlink written 6.2 years ago by Nate Coraor3.2k
This makes sense, but I ultimately want to run the jobs as the logged in user as per this page: http://wiki.g2.bx.psu.edu/Admin/Config/Performance/Cluster#Submitting_ Jobs_as_the_Real_User It wouldn't be feasible to add the virtualenv to every users' path. I'm hoping there's some kind of other way? Thanks again, Greg
ADD REPLYlink written 6.2 years ago by mailing list840
Indeed there is. Have a look at the 'environment_setup_file' option in the config file. --nate
ADD REPLYlink written 6.2 years ago by Nate Coraor3.2k

@Nate, regarding "How will Galaxy know to use the virtualenv", I understand your suggestion "by setting the $PATH in the Galaxy user's ~/.bash_profile to include the virtualenv's bin directory (at the beginning of $PATH)". I noticed that some people use a different approach by adding "source ~/galaxy_env/bin/activate" to ~/.bash_profile. I was wondering if you could please explain the difference. Is one approach more reliable than the other? I'm in the process of installing Galaxy production on Ubuntu 14.04. Thanks!

ADD REPLYlink written 4.4 years ago by fire_water10
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 178 users visited in the last hour