Main Page | Report Page

 

  Computers Forum Index » Computer Languages (IDL-PVWAVE) » IDL runtime...

Author Message
Jon Sattelberger...
Posted: Tue Oct 19, 2010 1:36 pm
 
Hello all,

I have a peculiar issue regarding one particular IDL runtime I've
recently created. For what it's worth, I am using the JPEG and
JPEG2000 modules to create a series of images from a list of files.
The runtime starts generating the image files, but after 7 minutes the
runtime just halts the processing of the image data. It will usually
create about 89 J2000 and 178 JPEG (thumbnails and half size
resolution images of J2000) before it just suddenly stops. No pop-up
and no terminal message are generated. It just hangs until it's
manually killed.

In the runtime I've placed the LMGR function in a routine. As far as I
can tell, the runtime tells me it grabbed a license, and it's in
runtime mode. No trial or demo mode. Have anyone ran across this issue
before?

Ah, before I forget, the runtime was compiled on IDL 7.0.6. I've tried
both Mac OS X and Linux (Cent OS). Neither have made a difference. The
machine it runs on has a dedicated runtime license for 7.0.6.

Thank you,
Jonathan
 
Wox...
Posted: Wed Oct 20, 2010 12:54 pm
 
What keywords are you using in calling LMGR?

From the help:
"The fact that the IDL session is running in runtime mode does not
imply that a runtime license is in use."

How did you check whether a license was found when running in runtime
mode?

On Tue, 19 Oct 2010 06:36:10 -0700 (PDT), Jon Sattelberger
<jon.sattelberger at (no spam) gmail.com> wrote:

Quote:
Hello all,

I have a peculiar issue regarding one particular IDL runtime I've
recently created. For what it's worth, I am using the JPEG and
JPEG2000 modules to create a series of images from a list of files.
The runtime starts generating the image files, but after 7 minutes the
runtime just halts the processing of the image data. It will usually
create about 89 J2000 and 178 JPEG (thumbnails and half size
resolution images of J2000) before it just suddenly stops. No pop-up
and no terminal message are generated. It just hangs until it's
manually killed.

In the runtime I've placed the LMGR function in a routine. As far as I
can tell, the runtime tells me it grabbed a license, and it's in
runtime mode. No trial or demo mode. Have anyone ran across this issue
before?

Ah, before I forget, the runtime was compiled on IDL 7.0.6. I've tried
both Mac OS X and Linux (Cent OS). Neither have made a difference. The
machine it runs on has a dedicated runtime license for 7.0.6.

Thank you,
Jonathan

 
Jon Sattelberger...
Posted: Wed Oct 20, 2010 2:14 pm
 
Wox,

Thank you for your reply. Hopefully I answer all of your questions.

Quote:
What keywords are you using in calling LMGR?

I started with DEMO, then the rest below:

IF LMGR(/DEMO) GT 0 THEN PRINT, "This runtime is in demo mode.
Please contact xyz."
IF LMGR(/CLIENTSERVER) GT 0 THEN PRINT, "Obtained client server."
IF LMGR(/EMBEDDED) GT 0 THEN PRINT, "This runtime is in EMBEDDED
mode. Please contact xyz."
IF LMGR(/RUNTIME) GT 0 THEN PRINT, "This runtime is in RUNTIME
mode."
IF LMGR(/STUDENT) GT 0 THEN PRINT, "This runtime is in STUDENT mode.
Please contact xyz."
IF LMGR(/VM) GT 0 THEN PRINT, "This runtime is in VM mode. Please
contact xyz."

R = LMGR(LMHOSTID = HOSTID)
PRINT, "Host ID: " + strtrim(HOSTID,2)
R = LMGR(INSTALL_NUM=INSTALL)
PRINT, "Install number: " + strtrim(INSTALL,2)
R = LMGR(SITE_NOTICE=SITE)
PRINT, "Site notice: " + strtrim(SITE,2)

Quote:

From the help:
"The fact that the IDL session is running in runtime mode does not
imply that a runtime license is in use."

How did you check whether a license was found when running in runtime
mode?

When I would execute the runtime, I would output the information from
the code above first. It would then go about, and start it's image
processing. Then I compared the runtime license number and site notice
(for what it's worth) to the actual runtime license contract on file
with ITT. I then verified it on the license server using, lmstat, that
it is indeed using a runtime license. Everything seemed valid. I
suppose it's just one of those oddities.

Thanks again.
 
Gray...
Posted: Wed Oct 20, 2010 8:19 pm
 
On Oct 20, 10:14 am, Jon Sattelberger <jon.sattelber... at (no spam) gmail.com>
wrote:
Quote:
Wox,

Thank you for your reply. Hopefully I answer all of your questions.

What keywords are you using in calling LMGR?

I started with DEMO, then the rest below:

  IF LMGR(/DEMO) GT 0 THEN PRINT, "This runtime is in demo mode.
Please contact xyz."
  IF LMGR(/CLIENTSERVER) GT 0 THEN PRINT, "Obtained client server."
  IF LMGR(/EMBEDDED) GT 0 THEN PRINT, "This runtime is in EMBEDDED
mode. Please contact xyz."
  IF LMGR(/RUNTIME) GT 0 THEN PRINT, "This runtime is in RUNTIME
mode."
  IF LMGR(/STUDENT) GT 0 THEN PRINT, "This runtime is in STUDENT mode.
Please contact xyz."
  IF LMGR(/VM) GT 0 THEN PRINT, "This runtime is in VM mode. Please
contact xyz."

  R = LMGR(LMHOSTID = HOSTID)
  PRINT, "Host ID: " + strtrim(HOSTID,2)
  R = LMGR(INSTALL_NUM=INSTALL)
  PRINT, "Install number: " + strtrim(INSTALL,2)
  R = LMGR(SITE_NOTICE=SITE)
  PRINT, "Site notice: " + strtrim(SITE,2)



From the help:
"The fact that the IDL session is running in runtime mode does not
imply that a runtime license is in use."

How did you check whether a license was found when running in runtime
mode?

When I would execute the runtime, I would output the information from
the code above first. It would then go about, and start it's image
processing. Then I compared the runtime license number and site notice
(for what it's worth) to the actual runtime license contract on file
with ITT. I then verified it on the license server using, lmstat, that
it is indeed using a runtime license. Everything seemed valid. I
suppose it's just one of those oddities.

Thanks again.

Hi Jon!!

--Gray
 
 
Page 1 of 1    
All times are GMT
The time now is Sun Aug 31, 2014 2:44 am