Skip to main content
Question

Setting up bsdpy


Forum|alt.badge.img+15

I am having a hard time setting up bsdpy using the commands located on Github. This is making me feel like a novice but I'll admit I don't have a lot of Github experience. I cut and paste every command without issue, but when I get to the final command I get an error:

Could not open requirements file: [Errno 2] No such file or directory: 'requirements.txt

Thoughts? I can't use Docker because I am being required to use RHEL 6 and an older kernel that doesn't appear to be compatible with Docker.

Also, is this command still correct if everything has been moved to Github as an alert of the previous site mentions?

git clone https://bitbucket.org/bruienne/bsdpy.git

7 replies

Forum|alt.badge.img+15
  • Author
  • Contributor
  • 256 replies
  • July 14, 2016

I guess part of what I don't understand is, after cloning that directory and going into it, there isn't a "requirements.txt" file anywhere in that folder.


Forum|alt.badge.img+16
  • Honored Contributor
  • 403 replies
  • July 15, 2016

Two things: he's hosting the most up to date repos on github instead of bitbucket now: https://github.com/bruienne/bsdpy/

The branch he recommends you use is the API branch is what the Docker version is using and has the requirements file needed for the dependencies:
https://github.com/bruienne/bsdpy/tree/api?files=1


Forum|alt.badge.img+15
  • Author
  • Contributor
  • 256 replies
  • July 15, 2016

I'm using the info referenced on github. That's what I said in the first sentence. That's why I'm confused by the final command I pasted above. So, should the "git clone" command be something different, like:

git clone https://github.com/bruienne/bsdpy/tree/api?files=1

I thought the "git clone" commands had to reference a URL ending in .git.


Forum|alt.badge.img+16
  • Honored Contributor
  • 403 replies
  • July 15, 2016

@bmarks was reading too fast on my phone on the train and saw your link to the old repo which is why I said that.

The link on that github was just to show you the branch that had the files you needed.

In the repository you already cloned, just cd into the directory and do a

git checkout api

To switch to the correct branch.


Forum|alt.badge.img+15
  • Author
  • Contributor
  • 256 replies
  • July 15, 2016

Huzzah! Thank you. I knew this was going to be something simple. I don't really have any Github experience.


Forum|alt.badge.img+15
  • Author
  • Contributor
  • 256 replies
  • July 18, 2016

Alright, now I'm stumped again. I'm having a hard time reading these setup instructions and determining how to change the default directory. I see where it says what the default is, and then I see a bunch of debug logs, but I can't decipher how to change the directory. Due to security requirements out of my control, I need the NBI directory to be "/u01/nbi/" instead of just "/nbi/" at the root of the volume.


Forum|alt.badge.img+1
  • New Contributor
  • 3 replies
  • July 19, 2016

To change the directory you would need to specify --path /u01/nbi when launching BSDPy. There is however a problem in the code that prevents using a directory more than one level deep. I have a pull request opened for this that has not merged yet : https://github.com/bruienne/bsdpy/pull/4


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings