Re: Background job on remote machine: problems with IDL_IDLBridge [message #87127 is a reply to message #86973] |
Wed, 08 January 2014 23:27   |
borisstrel
Messages: 2 Registered: January 2014
|
Junior Member |
|
|
среда, 18 декабря 2013 г., 15:30:46 UTC+1 пользователь Jim P написал:
> On Wednesday, December 18, 2013 12:38:18 AM UTC-7, Boris wrote:
>
>> пятница, 23 августа 2013 г., 21:51:32 UTC+2 пользователь Chris Torrence написал:
>
>>
>
>>> Hi all,
>
>>
>
>>>
>
>>
>
>>>
>
>>
>
>>>
>
>>
>
>>> Just FYI, for IDL 8.3 (due out in the late fall), the IDL_IDLBridge will no longer require an X server.
>
>>
>
>>>
>
>>
>
>>>
>
>>
>
>>>
>
>>
>
>>> Cheers,
>
>>
>
>>>
>
>>
>
>>> Chris
>
>>
>
>>>
>
>>
>
>>> ExelisVIS
>
>>
>
>>
>
>>
>
>> Hi Chris,
>
>>
>
>>
>
>>
>
>> IDL Version 8.3 (linux x86_64 m64). (c) 2013, Exelis Visual Information Solutions, Inc.
>
>>
>
>>
>
>>
>
>> % Compiled module: BUILD_BRIDGES.
>
>>
>
>> % Loaded DLM: IDL_IDLBRIDGE.
>
>>
>
>> % IDL_IDLBRIDGE Error: WINDOW: Unable to open X Windows display.
>
>>
>
>> Is your DISPLAY environment variable set correctly?
>
>>
>
>>
>
>>
>
>> It does require X-Window.
>
>>
>
>> any comments?
>
>>
>
>>
>
>>
>
>> by the way, I used the trick from Mario - it is appeared that I really started the background calculations, BUT all bridges used the same CPU.
>
>>
>
>> it was about 9% load for each of 10 jobs.
>
>>
>
>> The same task uses 10x100% when X-Window is there.
>
>>
>
>>
>
>>
>
>> Thanks,
>
>>
>
>> Boris.
>
>
>
> Boris,
>
> Are you sure that the routine you're executing from the IDL_IDLBridge object doesn't explicitly create a WINDOW? To simplify debugging, what do you get for output if you call this?
>
>
>
> IDL> b = idl_idlbridge()
>
>
>
> Jim P.
Hi Jim,
you are right.
sorry for confusion.
the Bridge object was created. but sitting up the environment needed X Window for some reason (actually what for?)
IDL> a=obj_new('IDL_IDLBridge')
% Loaded DLM: IDL_IDLBRIDGE.
IDL> a->execute, '@' + pref_get('IDL_STARTUP')
% IDL_IDLBRIDGE Error: WINDOW: Unable to open X Windows display.
Is your DISPLAY environment variable set correctly?
% Execution halted at: $MAIN$
IDL>
this works if DISPLAY is ok.
Boris.
|
|
|