#933 closed defect (fixed)
warptool gets called without -uri argument by IPP but it doesn't like that
| Reported by: | Owned by: | Paul Price | |
|---|---|---|---|
| Priority: | high | Milestone: | |
| Component: | misc | Version: | 2.2 |
| Severity: | critical | Keywords: | |
| Cc: |
Description
This is something I already emailed Paul about, but the error persists: I defined some warp runs in the same way as before and get the following error:
* stdout *
Starting script /home/panstarrs/ipp/psconfig/ipp-2.2.lin64/bin/warp_skycell.pl on ipp001
Running -scmap -warp_id 7 -skycell_id skycell.0472834 -tess_id Skycells...
warpSkyCellMap MULTI
warpSkyCellMap METADATA
warp_id STR 7
cam_id STR 1
skycell_id STR skycell.0472834
tess_id STR Skycells
class_id STR 6
fault S16 0
uri STR /data/ipp001.0/jester/stripe82/coadd/run_ipp/1056-0192.1/1056-0192.1.ch.1.6.ch.fits
chip_path_base STR /data/ipp001.0/jester/stripe82/coadd/run_ipp/1056-0192.1/1056-0192.1.ch.1
cam_path_base STR /data/ipp001.0/jester/stripe82/coadd/run_ipp/1056-0192.1/1056-0192.1.cm.1
END
Running -camera SDSSmosaic -dump-recipe PSWARP -...
GRID.NX S32 128 # Iso-astrom grid size in x (pixels)
GRID.NY S32 128 # Iso-astrom grid size in y (pixels)
INTERPOLATION.MODE STR LANCZOS3 # Interpolation mode to use
MASK.IN STR BAD,SAT # Mask for input data
MASK.POOR STR SUSPECT # Mask for "poor" warped data
MASK.BAD STR BLANK # Mask for bad warped data
POOR.FRAC F32 0.01 # Max fraction of bad flux for a "poor" warped pixel
ASTROM.ACCEPT BOOL T # Accept astrometric solution unconditionally?
ASTROM.SOURCE STR NULL # Source file rule for astrometry, or NULL
ASTROM.DEPTH STR SPLIT # Source file rule for astrometry, or NULL
Running -list Skycells.skycell.0472834.wrp7.image.list.1wlv -masklist Skycells.skycell.0472834.wrp7.mask.list.vUes -weightlist Skycells.skycell.0472834.wrp7.weight.list.pZgE /data/ipp001.0/jester/stripe82/coadd/run_ipp/tess_Skycells/sky_skycell.0472834/Skycells.skycell.0472834.wrp7 /data/ipp001.0/jester/stripe82/coadd/run_ipp/tess_Skycells/sky_skycell.0472834/skycell.0472834 -stats /data/ipp001.0/jester/stripe82/coadd/run_ipp/tess_Skycells/sky_skycell.0472834/Skycells.skycell.0472834.wrp7.stats -recipe PPSTATS WARPSTATS...
Running -addwarped -warp_id 7 -skycell_id skycell.0472834 -tess_id Skycells -code 127...
* stderr *
/home/panstarrs/ipp/psconfig/ipp-2.2.lin64/bin/pswarp: symbol lookup error: /home/panstarrs/ipp/psconfig/ipp-2.2.lin64/bin/pswarp: undefined symbol: pmModelGroupInit
Unable to perform pswarp: 127 at /home/panstarrs/ipp/psconfig/ipp-2.2.lin64/bin/warp_skycell.pl line 217.
argument -uri is required
Usage: /home/panstarrs/ipp/psconfig/ipp-2.2.lin64/bin/warptool -addwarped [<options>]
-addwarped:
-warp_id define warptool ID (required) (found)
-skycell_id define skycell ID (required) (found)
-tess_id define tessellation ID (required) (found)
-uri define URI of file (required)
-path_base define base output location (required)
-bg define exposure background
-bg_stdev define exposure background stdev
-pixel_fill define %% of live pixels
-code set fault code (found)
-> warptoolConfig (warptoolConfig.c:228): unknown psLib error
option parsing failed
-> main (warptool.c:65): (null)
failed to configure
failure for: warp_skycell.pl --warp_id 7 --skycell_id skycell.0472834 --tess_id Skycells --camera SDSSmosaic --workdir /data/ipp001.0/jester/stripe82/coadd/run_ipp/
job exit status: 127
job host: ipp001
job dtime: 1.428017
Paul said:
I fixed some of this --- allow "warptool -addwarped" to be called
without a URI (which it does when there is an error). The main problem
is that your "warptool -scmap" returned no output, which I believe is
due to the task already having run (successfully). This is a known bug,
due to some sort of problem in pantasks which we haven't gotten to
tracking down yet.
Except now it seems to happen for every single call to warp_skycell.pl.
The warp runs I defined are in db jester, with warp ids 7-10, and using cam id 1-4 as input, with command like
(ipp001:stripe82/coadd/input) jester% warptool -runone -mode warp -workdir /data/ipp001.0/jester/stripe82/coadd/run_ipp/ -cam_id 1
warp_id S64 7
mode STR warp
state STR reg
workdir STR /data/ipp001.0/jester/stripe82/coadd/run_ipp/
dvodb STR NULL
registered UTC 2007-09-01T01:58:55Z
Change History (2)
comment:1 by , 19 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
comment:2 by , 19 years ago
| Component: | ippTasks → software |
|---|

pswarp failed because of symbol relocation errors --- Gene needs to rebuild pswarp.
This caused an error which the script attempted to put in the database, using warptool with a '-code'; however the uri wasn't provided, which causes warptool to fail, which causes the script to die. I've fixed warptool so that it doesn't need the uri to add the error code.
Gene has recompiled pswarp, and now I understand the problem is fixed.