hkaiser changed the topic of #ste||ar to: STE||AR: Systems Technology, Emergent Parallelism, and Algorithm Research | stellar-group.org | HPX: A cure for performance impaired parallel applications | github.com/STEllAR-GROUP/hpx | This channel is logged: irclog.cct.lsu.edu
<jedi18[m]> Thank you! Btw I've rebased the PRs
K-ballo has joined #ste||ar
<dkaratza[m]> ms: Hey, I just downloaded the docker image and installed hpx. So, since I am new to docker, I was wondering how I can use my editor to view a code file inside the docker image.
<dkaratza[m]> While building hpx, I came up with a few ideas (in quick start guide) and I would like to try them in order to see how they render
<ms[m]> dkaratza: you can, kind of
<ms[m]> I recommend you use the `-v` option to docker run
<ms[m]> with that you can say e.g. `-v=$PWD:/hpx` and $PWD or whatever you choose will be mounted at /hpx inside the container
<ms[m]> then you can edit files normally outside the container and the changes will be visible inside the container as well
<ms[m]> one thing to note is that if you put your build directory inside that mounted directory they'll be owned by root also outside the container
<dkaratza[m]> alright, since I built hpx inside the docker image, shouldn't I save this image first so that I don't lose my changes?
<dkaratza[m]> also, this option -v=$PWD:/hpx won't work for me, since I built hpx inside the docker image, right?
<ms[m]> I'd recommend starting over with a new build directory (e.g. build under the source directory)
<ms[m]> then the state of the build will be saved even if you shut down the container
<ms[m]> if you're going to be making frequent changes to the actual packages inside the image it's better to create a new image, but I'd imagine you won't need that too much right now
<ms[m]> the -v won't help after the fact (as far as I know, there might be some docker trickery that lets you do that, but nothing I know of)
<dkaratza[m]> I cloned the hpx inside the docker image
<dkaratza[m]> why creating the build directory under the hpx source would preserve the changes?
<gnikunj[m]> dkaratza: I think he meant with -v flag
<ms[m]> Ah, indeed, what gnikunj said
<ms[m]> It's easier if you also clone hpx on the host system and then mount that inside the container
K-ballo has quit [Ping timeout: 252 seconds]
K-ballo has joined #ste||ar