[ ESO ] La Silla

EUROPEAN SOUTHERN OBSERVATORY
SciOp
La Silla - Science Operations Department


FEROS on the MPG/ESO-2.20m

DRS Software Maintenance

Development

The MIDAS FEROS-DRS.tgz Software, which provides the MIDAS PRG scripts developed from the locproc scripts distributed with MIDAS, was maintained/developed as follows:

As user e2p2ops@w2p2off:

cd /data/E2P2OPS
mv FEROS-DRS FEROS-DRS.cmm
ln -s /home/e2p2ops/FEROS/FEROS-DRS FEROS-DRS
cd /home/e2p2ops/FEROS/FEROS-DRS

Edit files to implement changes as required. The astro user uses this version of the DRS scripts by appending the MIDAS path variable with the appropriate path (see ~astro/FEROS-DRS/midwork/login.prg).

In case you wish to temporarily revert back to the current CMM version at any point (e.g. you are developing during the daytime, but now it is time to revert back to the "proper" version for the night time):

rm /data/E2P2OPS/FEROS-DRS
ln -s FEROS-DRS.cmm /data/E2P2OPS/FEROS-DRS

Then to continue developing the next day...

rm /data/E2P2OPS/FEROS-DRS
ln -s /home/e2p2ops/FEROS/FEROS-DRS /data/E2P2OPS/FEROS-DRS

CVS Archival

Once you have finished developing:

cd /home/e2p2ops/FEROS/FEROS-DRS
cvs commit
mkArchives
cvs commit
grep "FEROS-DRS.tgz" CVS/Entries

Edit index.html inserting the CVS version information as reported by the grep command above...

cvs commit

CMM Archival

cd ~/CURRENTLY_MOD
cmmModify -l <user> e2p2plferos
cp ~/FEROS/FEROS-DRS.tgz e2p2plferos/config

Edit e2p2plferos/ChangeLog inserting the CVS version information as reported by the grep command above...

cmmCheckForArchive -l <user> e2p2plferos
cmmArchive -l <user> e2p2plferos

Installation

[ -d /data/E2P2OPS/FEROS-DRS.cmm ] && rm -fr /data/E2P2OPS/FEROS-DRS.cmm
[ -e /data/E2P2OPS/FEROS-DRS ] && rm -fr /data/E2P2OPS/FEROS-DRS
cd ~/CURRENTLY_MOD/e2p2plferos/src
make clean all man install
cd /data/E2P2OPS/FEROS-DRS/src
make all install

Update Online version on web server

ssh sciops@epu
cd sciweb/2p2/E2p2M/FEROS/DRS
cvs update



[Observing]  [ESO La Silla]  [The SciOps Home Page]  [ESO]  [Index]  [Search]  [Help]  [News]