Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trying to run the conda environment on the cluster (PBS Pro) #4

Open
JGBurgess1 opened this issue May 9, 2024 · 1 comment
Open

Comments

@JGBurgess1
Copy link

Hello!
Thanks for making the tutorials available!

I'm trying to make a pipeline in python that will make use of MGL Tools as part of the process.
I'm trying to:
(A) Model mutations in a protein
(B) Energy minimize the protein
(A and B in schrodinger).
(C) Prepare the protein in MGL Tools (to add gasteiger charges)
(D) Dock ligands to the mutated proteins using Autodock Vina.

So far, I've managed (A) and (B).
But for C, I'm trying to use the code you have from this tutorial, where you install the conda package of MGLTools in your conda envrionment.
I was able to do that.

However, when I try to run a job on the cluster (PBS Pro), I'm not able to access my conda environment that I created.
Therefore, I can't run the python scripts from MGL Tools.

Any thoughts/ advice?

Regards

Jeremy Burgess

@JGBurgess1
Copy link
Author

JGBurgess1 commented May 9, 2024

Here's the code I'm

` module purge
module load chpc/BIOMODULES openmpi
module load chpc/python/anaconda/3-2021.11

echo $(module list)

source conda

conda init bash
conda list

eval "$(conda shell.bash hook)"
/apps/chpc/chem/anaconda3-2021.11/bin/conda activate open_docking_env

cd /mnt/lustre/users/jburgess1/mutation_tests/chatgpt/April/

NP=$(cat ${PBS_NODEFILE} | wc -l )
mpirun --mca btl '^openib' -np $NP --machinefile $PBS_NODEFILE python 4_Mpi_Initialize_MGL_TOOLS.py

conda deactivate `

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant