nthallen / monarch

Monarch Data Acquisition System
0 stars 1 forks source link

rethink distribution #65

Open nthallen opened 4 years ago

nthallen commented 4 years ago

In our homogeneous QNX system, distribute could just loop through EXP_NODES and make distribution. Now we have the added complication that EXP_NODES may represent multiple architectures. Note that so far we support:

Ideally, we could have out-of-tree builds with appgen setting up everything in build dirs.

nthallen commented 4 years ago

As things currently stand, independent builds for different architectures will cause command clients connecting across architectures to fail, since the server and client must be compiled from the same source file, which is generated from the .cmd inputs. I see a couple options:

The latter solution has been implemented sometime prior to today, 2/8/20

nthallen commented 4 years ago

For distribution via scp, need to resolve how permissions will work. If we distribute to flight@$FlightNode and expect to use ssh keys, then /home/flight cannot be g+w. That complicates various operations, like moving flight.sh.log into a run or setting up a new experiment. What are the alternatives?