comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Problems with IDL on Fedora Core 7
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Problems with IDL on Fedora Core 7 [message #55289] Thu, 16 August 2007 12:22 Go to next message
Luiz Angioletti is currently offline  Luiz Angioletti
Messages: 5
Registered: August 2007
Junior Member
Hi there folks,

It has been a while since I've subscripted to this group, and since
then I've had no major contact with IDL besides installation process
and reading the IDL Online Help.

Today I decided to try a few things on IDL and see how it would
work. Seems to me that I've a problem.

I've started with the first example of the IDL online help,
'interactivestretch.pro'. It didn't even compile. The CPU usage went
thru the roof, and then the kernel killed the process.

The code is the following:

------------------------------------------------------------ ----------------------------------
FUNCTION stretchImage, img, value

;Stretch image by input amount
image = img > value
RETURN, image

end

;---Begin $MAIN$ program. ------
;Display the image, solicit threshold value and display new results.

;set up display.
DEVICE, DECOMPOSED = 0, RETAIN = 2
LOADCT, 0

;Access image data and display.
img = READ_PNG(FILEPATH('mineral.png',$
SUBDIRECTORY = ['examples', 'data']))
dims = SIZE(img, /DIMENSIONS)
WINDOW, 0, XSIZE = dims[0], YSIZE = dims[1]
TVSCL, img

; Ask for a threshold value and stretch image.
READ, threshold, PROMPT='Enter numerical value: '
newImg = stretchImage(threshold, img)

;Display the results.
TVSCL, newImg

END
-----------------------------------------------------

I've no idea what happened.

I run Fedora Core 7 on a Pentium4 2.4GHz, 2GB RAM. I had to install
a few things and make a few adjustments to my Fedora so I could run
IDL.


Thanks, and I'm sorry about any ugly English error.


Luiz Angioletti.
Re: Problems with IDL on Fedora Core 7 [message #55363 is a reply to message #55289] Fri, 17 August 2007 07:27 Go to previous messageGo to next message
Wox is currently offline  Wox
Messages: 184
Registered: August 2006
Senior Member
On Thu, 16 Aug 2007 19:22:10 -0000, Luiz Angioletti
<luizfelipeasoares@gmail.com> wrote:

> I run Fedora Core 7 on a Pentium4 2.4GHz, 2GB RAM. I had to install
> a few things and make a few adjustments to my Fedora so I could run
> IDL.

I have no problem with Fedora 7 and Direct Graphics (IDL 6.4) Did the
"few things" you mention have anything to do with video card drivers?
Re: Problems with IDL on Fedora Core 7 [message #55386 is a reply to message #55289] Thu, 16 August 2007 12:45 Go to previous messageGo to next message
Foldy Lajos is currently offline  Foldy Lajos
Messages: 268
Registered: October 2001
Senior Member
On Thu, 16 Aug 2007, Luiz Angioletti wrote:

> I run Fedora Core 7 on a Pentium4 2.4GHz, 2GB RAM. I had to install
> a few things and make a few adjustments to my Fedora so I could run
> IDL.


This tech tip will be useful for Fedora 7 users:

http://www.ittvis.com/services/techtip.asp?ttid=4228

regards,
lajos
Re: Problems with IDL on Fedora Core 7 [message #55486 is a reply to message #55363] Fri, 24 August 2007 11:47 Go to previous messageGo to next message
Luiz Angioletti is currently offline  Luiz Angioletti
Messages: 5
Registered: August 2007
Junior Member
On Aug 17, 11:27 am, Wox <nom...@hotmail.com> wrote:
> On Thu, 16 Aug 2007 19:22:10 -0000, Luiz Angioletti
>
> <luizfelipeasoa...@gmail.com> wrote:
>> I run Fedora Core 7 on a Pentium4 2.4GHz, 2GB RAM. I had to install
>> a few things and make a few adjustments to my Fedora so I could run
>> IDL.
>
> I have no problem with Fedora 7 and Direct Graphics (IDL 6.4) Did the
> "few things" you mention have anything to do with video card drivers?

Actually, I've to install the Nvidia driver. Thx.
Re: Problems with IDL on Fedora Core 7 [message #55538 is a reply to message #55289] Mon, 27 August 2007 08:15 Go to previous messageGo to next message
Luiz Angioletti is currently offline  Luiz Angioletti
Messages: 5
Registered: August 2007
Junior Member
Ok... Update.

I've installed the NVIDIA driver suggested on :
http://www.ittvis.com/services/techtip.asp?ttid=4228

I've already tried all the workarounds for the problem...

Nothing yet.

I really don't wanna have to install FC3 on such a good machine....

Thx.
Re: Problems with IDL on Fedora Core 7 [message #55544 is a reply to message #55486] Mon, 27 August 2007 07:07 Go to previous messageGo to next message
Luiz Angioletti is currently offline  Luiz Angioletti
Messages: 5
Registered: August 2007
Junior Member
Wox,

Since you're not experiencing any troubles, I'd like to know what
were the measures taken when you tried to install IDL 6.4 on FC 7.

I run IDL 6.3, and have to add/update/downgrade the following
packages so I can get started. If you could send me your judgment over
my configuration, I'd appreciate.

compat-libstdc++-8-3.3.4.2.i386.rpm
xorg-x11-deprecated-libs-6.8.1-12.i386.rpm

Plus: Nvidia driver (so far, just the one from livna repositories)


I've experienced a few problems with the 'compiz' feature of FC 7,
and I'll probably reinstall the system on one machine because of that
(that was the conclusion of quite a few posts at one forum over FC7).

Best regards.
Re: Problems with IDL on Fedora Core 7 [message #55741 is a reply to message #55289] Sun, 09 September 2007 10:39 Go to previous messageGo to next message
jkj is currently offline  jkj
Messages: 48
Registered: April 2007
Member
On Sep 9, 2:42 am, Anna Kowalska <ja...@user.jumlers.com> wrote:
> cab anyone help me with this please

The thing I repetitively do on Fedora (5/6/, haven't tried direct
graphics on 7 yet):

rpm -e --nodeps libX11.i386
rpm -i libX11-1.0.3-6.fc6.i386.rpm
export MALLOC_CHECK_=0
export LIBGL_ALWAYS_INDIRECT=1

...of course, all of that came from researching a Tech Tip like the
one you referenced above, so if the above doesn't work for you, I'm
not sure what else to suggest (I downloaded the libX11 RPM from
" http://download.fedora.redhat.com/pub/fedora/linux/core/upda tes/6/
i386/libX11-1.0.3-6.fc6.i386.rpm")

Good luck,
-Kevin
Re: Problems with IDL on Fedora Core 7 [message #55745 is a reply to message #55289] Sun, 09 September 2007 00:42 Go to previous messageGo to next message
Anna Kowalska is currently offline  Anna Kowalska
Messages: 4
Registered: September 2007
Junior Member
cab anyone help me with this please
Re: Problems with IDL on Fedora Core 7 [message #55748 is a reply to message #55289] Sat, 08 September 2007 16:32 Go to previous messageGo to next message
Anna Kowalska is currently offline  Anna Kowalska
Messages: 4
Registered: September 2007
Junior Member
i forgot
my distribution is fedora 7
Re: Problems with IDL on Fedora Core 7 [message #55749 is a reply to message #55538] Sat, 08 September 2007 16:31 Go to previous messageGo to next message
Anna Kowalska is currently offline  Anna Kowalska
Messages: 4
Registered: September 2007
Junior Member
I have similar problem
my laptop: ASUS 3000
graphic card: Intel....so i cannot follow the tips from the web page
http://www.ittvis.com/services/techtip.asp?ttid=4228
(however i tried and it didn't work of course)

so my problem is the following:
Whenever i type in IDL command line TV or TVSCL etc. IDL crushes
and no error appear in the termianal
however PLOT SURFACE FLOW3 work fine
i dono whats going on

please,help i'm desperate :(
Re: Problems with IDL on Fedora Core 7 [message #55750 is a reply to message #55538] Sat, 08 September 2007 16:26 Go to previous messageGo to next message
Anna Kowalska is currently offline  Anna Kowalska
Messages: 4
Registered: September 2007
Junior Member
--
Via: http://www.jumlers.com/comp.lang.idl-pvwave/
Re: Problems with IDL on Fedora Core 7 [message #55849 is a reply to message #55741] Wed, 19 September 2007 07:25 Go to previous message
Luiz Angioletti is currently offline  Luiz Angioletti
Messages: 5
Registered: August 2007
Junior Member
On Sep 9, 2:39 pm, jkj <ke...@vexona.com> wrote:
> On Sep 9, 2:42 am, Anna Kowalska <ja...@user.jumlers.com> wrote:
>
>> cab anyone help me with this please
>
> The thing I repetitively do onFedora(5/6/, haven't tried direct
> graphics on7yet):
>
> rpm -e --nodeps libX11.i386
> rpm -i libX11-1.0.3-6.fc6.i386.rpm
> export MALLOC_CHECK_=0
> export LIBGL_ALWAYS_INDIRECT=1
>
> ...of course, all of that came from researching a Tech Tip like the
> one you referenced above, so if the above doesn't work for you, I'm
> not sure what else to suggest (I downloaded the libX11 RPM from
> " http://download.fedora.redhat.com/pub/fedora/linux/core/upda tes/6/
> i386/libX11-1.0.3-6.fc6.i386.rpm")
>
> Good luck,
> -Kevin

Hi there,

I solved my problem, apparently, upgrading to IDL 6.4. Seems fine.

Best regards.

Luiz.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: NIfTI read and write from IDL?
Next Topic: Re: Running IDL .pro script from another app, using the IDL API

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 15:17:59 PDT 2025

Total time taken to generate the page: 0.00759 seconds