Montage
system requirements
http://montage.ipac.caltech.edu/docs says that it has been tested on RedHat and requires about 300MB disk space and gcc 3.4 compiler.
Download and installation
Go to http://montage.ipac.caltech.edu/docs/download.html and agree with license.
On grid2 (NFS server):
# wget http://montage.ipac.caltech.edu/download/Montage_v3.0.tar.gz
# tar -xzvf Montage_v3.0.tar.gz
# mkdir -p /nfs/software/montage
# mv Montage_v3.0 /nfs/software/montage/3.0
# cd /nfs/software/montage/3.0
# make
This may be added on each submit/execution host or to the globus user??
# vi /etc/profile -- insert -- MONTAGE_LOCATION=/nfs/software/montage/3.0 export MONTAGE_LOCATION PATH=$PATH:$MONTAGE_LOCATION/bin
Test
http://montage.ipac.caltech.edu/docs/m101tutorial.html
$ wget http://montage.ipac.caltech.edu/docs/m101Example/tutorial-initial.tar.gz $ tar -xzvf tutorial-initial.tar.gz $ cd m101 (added the MONTAGE_LOCATION to /etc/profile) (added PATH=$PATH:$MONTAGE_LOCATION/bin to /etc/proflie) $ mImgtbl rawdir images-rawdir.tbl [struct stat="OK", count=10, badfits=0] (view images-rawdir.tbl) $ mProjExec -p rawdir images-rawdir.tbl template.hdr projdir stats.tbl [struct stat="OK", count=10, failed=0, nooverlap=0] (inspect images in projdir and the processing time in stats.tbl) $ mImgtbl projdir images.tbl [struct stat="OK", count=10, badfits=0] (Creates metadata table: images.tbl of the images in the projdir) $ mAdd -p projdir images.tbl template.hdr final/m101_uncorrected.fits [struct stat="OK", time=13] (generated an uncorrected mosaic final/m101_uncorrected.fits from progdir) $ mJPEG -gray final/m101_uncorrected.fits 20% 99.98% loglog -out final/m101_uncorrected.jpg [struct stat="OK", min=80.7457, minpercent=20.00, max=180.992, maxpercent=99.98] (generated a gray scale JPEG from final/m101_uncorrected.fits).
$ mOverlaps images.tbl diffs.tbl [struct stat="OK", count=17] (this finds overlapping regions) $ mDiffExec -p projdir diffs.tbl template.hdr diffdir [struct stat="OK", count=17, failed=0] (makes difference images) $ mFitExec diffs.tbl fits.tbl diffdir [struct stat="OK", count=17, failed=0, warning=0, missing=0] (calculate plane-fitting for diff images) $ mBgModel images.tbl fits.tbl corrections.tbl [struct stat="OK"] (cal background correction table) $ mBgExec -p projdir images.tbl corrections.tbl corrdir [struct stat="OK", count=10, nocorrection=0, failed=0] (apply the correction) $ mAdd -p corrdir images.tbl template.hdr final/m101_mosaic.fits [struct stat="OK", time=4] (final output) $ mJPEG -gray final/m101_mosaic.fits 20% 99.98% loglog -out final/m101_mosaic.jpg [struct stat="OK", min=82.3305, minpercent=20.00, max=178.268, maxpercent=99.98] (generate the gray scale jpeg)
Pegasus Worker
On grid2: getting the Pegasus Worker from: http://pegasus.isi.edu/mapper/nightly.php.
No instruction is included regarding how/where to install.
# wget http://pegasus.isi.edu/mapper/download/nightly/pegasus-worker-2.2.0cvs-x86_cent_4.2.tar.gz
# tar -xzvf pegasus-worker-2.2.0cvs-x86_cent_4.2.tar.gz
# chown globus:globus pegasus-2.2.0cvs
# mkdir -/nfs/software/pegasus
# mv pegasus-2.2.0cvs /nfs/software/pegasus/2.0
Maybe globus or condor user needs to know the location? On NFS client who is a Condor Execute node: (grid4.ramscommunity.org):
vi /etc/profile -- insert -- export PEGASUS_HOME=/nfs/software/pegasus/2.0 PATH=$PATH:$PEGASUS_HOME/bin

Add Comment