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

Gnina installation on HPC #238

Open
maciejwisniewski-drugdiscovery opened this issue Dec 7, 2023 · 6 comments
Open

Gnina installation on HPC #238

maciejwisniewski-drugdiscovery opened this issue Dec 7, 2023 · 6 comments

Comments

@maciejwisniewski-drugdiscovery

Issue summary

Hi, I'am trying to install gnina on HPC and i occured following problem during cmake/make step. I installed obabel elsewhere due to lack of root access on the cluster an I think that's the main problem, but i have no idea how to handle it.

Steps to reproduce

git clone https://github.com/openbabel/openbabel.git
cd openbabel
git checkout openbabel-3-1-1 
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/home2/sfglab/mwisniewski/Software/openbabel -DWITH_MAEPARSER=OFF -DWITH_COORDGEN=OFF -DPYTHON_BINDINGS=ON -DRUN_SWIG=ON ..
make
make install

export OpenBabel3_DIR=/home2/sfglab/mwisniewski/Software/openbabel

git clone https://github.com/gnina/gnina.git
cd gnina
mkdir build
cd build
~/Software/cmake/bin/cmake -DCMAKE_INSTALL_PREFIX=/home2/sfglab/mwisniewski/Software/gnina  ..
make
make install

Outputs from gnina cmake and make attached
cmake.txt
make.txt

@dkoes
Copy link
Contributor

dkoes commented Dec 7, 2023

Try passing -DOpenBabel3_DIR=/home2/sfglab/mwisniewski/Software/openbabel to cmake instead of setting an environment variable.

@maciejwisniewski-drugdiscovery
Copy link
Author

still it doesnt work ;/

@RMeli
Copy link
Member

RMeli commented Dec 11, 2023

If your HPC systems supports Spack, you might give #184 a try.

spack install gnina

might work (it does work for me, on multiple systems I have access to).

@dkoes
Copy link
Contributor

dkoes commented Dec 11, 2023

Does the pre-built executable not work?

@maciejwisniewski-drugdiscovery
Copy link
Author

my HPC doesnt support Spack and pre-built executable doesnt work

@dkoes
Copy link
Contributor

dkoes commented Dec 13, 2023

What happens when you try to run the prebuilt executable?

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

3 participants