Re: LINUX SPAWN C-program and CPU status [message #35226] |
Tue, 27 May 2003 07:21 |
Nigel Wade
Messages: 286 Registered: March 1998
|
Senior Member |
|
|
David Oesch wrote:
> Hi outthere,
>
> We are using IDL on LINUX REDHAT9 and encounter the following problem
> when we call a C- program using the SPAWN command in idl: The CPU load
> of the C-program is only 30% while at the same time the system idle
> process covers up with 65% (65% of the cpu is not used...)
> If calling the same C-program directly in a bash shell and not from IDL,
> the CPU load of the C-Program goes up to 99%...and the program is REALLY
> faster....
>
> Any ideas?
>
> Cheers
>
Just a wild guess, but does setting the environment variable
LD_ASSUME_KERNEL=2.2.5 or LD_ASSUME_KERNEL=2.4.1 before running idl help at
all?
--
Nigel Wade, System Administrator, Space Plasma Physics Group,
University of Leicester, Leicester, LE1 7RH, UK
E-mail : nmw@ion.le.ac.uk
Phone : +44 (0)116 2523548, Fax : +44 (0)116 2523555
|
|
|