jonghyunharrylee / pyPCGA

pyPCGA: fast and scalable inverse modeling approach
BSD 3-Clause "New" or "Revised" License
23 stars 15 forks source link

Decide how we want to provide access to the adh executables? #4

Closed mfarthin closed 6 years ago

mfarthin commented 6 years ago

The pre-compiled adh executables in the adh_red_inset application won't run on our blade server. We may want to point users to AdH website for the binary versions they distribute.

I suppose if we distribute in a docker container we would be ok (either just adh as a docker executable or the whole PCGA application).

jonghyunharrylee commented 6 years ago

Yes. That one would work for Ubuntu latest version. Docker should be great. Or, we can have a small script to automatically download precompiled executables. Do you have pymake-like scripts for installation? For maximize performance, automatic compilation might be the best.

mfarthin commented 6 years ago

I haven't looked at setting up any pymake scripts. I have setup a docker though that has pre-compiled stwave and adh executables. We could try running those through a shell script and mapping the output back to the local disk. Maybe the performance wouldn't be that bad

mfarthin commented 6 years ago

Do you have a docker hub id? I haven't looked at it since the summer but I can share the image I had with you.

jonghyunharrylee commented 6 years ago

Mine is "harrylee". I will test the image once I get it.

mfarthin commented 6 years ago

Sounds good. I will add you tomorrow

Sent from my Verizon, Samsung Galaxy smartphone -------- Original message --------From: Harry Lee notifications@github.com Date: 2/8/18 7:47 PM (GMT-06:00) To: jonghyunharrylee/pyPCGA pyPCGA@noreply.github.com Cc: mfarthin mwfarthing@gmail.com, Author author@noreply.github.com Subject: Re: [jonghyunharrylee/pyPCGA] Decide how we want to provide access to the adh executables? (#4) Mine is "harrylee". I will test the image once I get it.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/jonghyunharrylee/pyPCGA","title":"jonghyunharrylee/pyPCGA","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/jonghyunharrylee/pyPCGA"}},"updates":{"snippets":[{"icon":"PERSON","message":"@jonghyunharrylee in #4: Mine is \"harrylee\". I will test the image once I get it. "}],"action":{"name":"View Issue","url":"https://github.com/jonghyunharrylee/pyPCGA/issues/4#issuecomment-364309715"}}}

mfarthin commented 6 years ago

Ok, I added you. Here’s the script I used to run it interactively with x11 as a convenience and the base Dockerfile.

On Feb 8, 2018, at 7:47 PM, Harry Lee notifications@github.com wrote:

Mine is "harrylee". I will test the image once I get it.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jonghyunharrylee/pyPCGA/issues/4#issuecomment-364309715, or mute the thread https://github.com/notifications/unsubscribe-auth/AAmlR8dpprQ9-7rHY2IoCeuCce83Dqvcks5tS6O8gaJpZM4R_QvC.

jonghyunharrylee commented 6 years ago

Thanks! I will test it later and let you know if I have questions.

jonghyunharrylee commented 6 years ago

I am thinking of distributing a docker or singularity container for a general adh application like Savannah but can be the Red River case. Just wonder, am I allowed to distribute a container with stwave and stwave_utils? It seems that this requires ERDC-CHL's approval or one has to purchase commercial one?

mfarthin commented 6 years ago

Distributing the stwave executable should be fine. For stwave utils, I think it would be fine if we just include the code necessary for PCGA. There are other routines in there that aren’t ready for prime time that we might need to have approval for if we released them.

On Aug 8, 2018, at 3:49 AM, Harry Lee notifications@github.com wrote:

I am thinking of distributing a docker or singularity container for a general adh application like Savannah but can be the Red River case. Just wonder, am I allowed to distribute a container with stwave and stwave_utils? It seems that this requires ERDC-CHL's approval or one has to purchase commercial one?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jonghyunharrylee/pyPCGA/issues/4#issuecomment-411257290, or mute the thread https://github.com/notifications/unsubscribe-auth/AAmlRxIasFnV1_fmzTwL3uug0TCVYFaCks5uOkOTgaJpZM4R_QvC.

thesser1 commented 6 years ago

Well, I believe Spicer Bak has moved the test bed codes to a public github (which are a lot of the codes behind the scenes in stwave_utils). We just need to update our setup to use the newly released codes and I think we are good shape.

On Wed, Aug 8, 2018 at 7:10 AM mfarthin notifications@github.com wrote:

Distributing the stwave executable should be fine. For stwave utils, I think it would be fine if we just include the code necessary for PCGA. There are other routines in there that aren’t ready for prime time that we might need to have approval for if we released them.

On Aug 8, 2018, at 3:49 AM, Harry Lee notifications@github.com wrote:

I am thinking of distributing a docker or singularity container for a general adh application like Savannah but can be the Red River case. Just wonder, am I allowed to distribute a container with stwave and stwave_utils? It seems that this requires ERDC-CHL's approval or one has to purchase commercial one?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub < https://github.com/jonghyunharrylee/pyPCGA/issues/4#issuecomment-411257290>, or mute the thread < https://github.com/notifications/unsubscribe-auth/AAmlRxIasFnV1_fmzTwL3uug0TCVYFaCks5uOkOTgaJpZM4R_QvC .

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jonghyunharrylee/pyPCGA/issues/4#issuecomment-411370322, or mute the thread https://github.com/notifications/unsubscribe-auth/ACmnbArjj4Q9CKKNHU-6t8pWyQoeP7zoks5uOscygaJpZM4R_QvC .

jonghyunharrylee commented 6 years ago

Thanks for the reply. I try to prepare stwave-pyPCGA/adh-pyPCGA docker containers soon (hopefully before the paper submissions)