HopkinsIDD / flepiMoP

The Flexible Epidemic Modeling Pipeline
https://flepimop.org
GNU General Public License v3.0
9 stars 4 forks source link

[Bug]: error source hpc_install_or_update.sh longleaf #356

Closed anjalika-nande closed 51 minutes ago

anjalika-nande commented 3 hours ago

Label

bug

Priority Label

high priority

Describe the bug/issue

Hi @TimothyWillard , I'm trying to set up longleaf and when I run the line source hpc_install_or_update.sh longleaf it asks if I want to install flepiMoP and if I say yes then it gives the following error and logs me out of longleaf. Guessing it has to do with the github access key or something but not sure where to input this?

Did not find flepiMoP at /work/users/a/n/anande/flepiMoP, do you want to clone the repo? (y/n) y Cloning on your behalf. Cloning into '/work/users/a/n/anande/flepiMoP'... Warning: Permanently added 'github.com' (ECDSA) to the list of known hosts. git@github.com: Permission denied (publickey). fatal: Could not read from remote repository.

Please make sure you have the correct access rights and the repository exists. Connection to longleaf.unc.edu closed.

To Reproduce

No response

Environment, if relevant

No response

pearsonca commented 3 hours ago

I think this can be a future PR against the install script. I suspect best we can do here is catch the error and translate it to a more informative message (likely akin to: "Did you add your id_rsa.pub to github => settings => etc?". Maybe emit the public key for easy copy-paste?)

TimothyWillard commented 3 hours ago

This is still in development in GH-329. And I think these steps that you are using are out of date. What you must do to use in the meantime is clone the flepiMoP repository yourself, switch to the correct branch, and then run the script as an executable (although, I expect these to change again soon). I suspect this has more to do with your git setup on longleaf then the script itself. Could you try cloning another git repository to see what happens? Can you try following the steps described here: https://github.com/ACCIDDA/ACCIDDA-KeyDocAndDiscussion/wiki/HPC-Setup.

anjalika-nande commented 3 hours ago

yep, following those steps now!

anjalika-nande commented 2 hours ago

I did the key generation and now it does try to pull flepi but I get this error:

EnvironmentFileNotFound: '/work/users/a/n/anande/flepiMoP/environment.yml' file not found

TimothyWillard commented 2 hours ago

Yeah, that sounds like the error I expected. To use this installation script right now you have to clone the flepiMoP repository yourself, switch to the correct branch, and then run the script as an executable. Although, I think that will change today as we are in the process of merging that PR.

anjalika-nande commented 2 hours ago

okay, thanks!