LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 02-15-2005, 04:21 AM   #1
swalexx
LQ Newbie
 
Registered: Dec 2004
Location: south west wales
Posts: 10

Rep: Reputation: 0
intel compilers on AMD


hello,
I would like some advice on how to get the linux fortran and C++ to work, i have an AMD opteron and linux kernel 2.6, my linux system is 64 bit.



they both install fine but neither compiles, im not to hot at any of this stuff as i am still learning. When it istall it install the IA-32 version but i think it should install the itanium version?

if this is the problem how do i fix it? or the more likely proplem is that my stab in the dark is a long way off and its something totally different?
 
Old 02-15-2005, 05:01 AM   #2
Marius2
Member
 
Registered: Jan 2004
Location: Munich
Distribution: SuSE 9.2, 10.2, 10.3, knoppix
Posts: 274

Rep: Reputation: 30
No, Itanium is neither IA-32 nor IA-64 compatible, so it won't work on your machine. I believe IA-32 should work on your Opteron (as it's backward compatible), but IA-64 would be faster. I have no idea however how to install the 64 bit version.
 
Old 02-15-2005, 05:59 AM   #3
Marius2
Member
 
Registered: Jan 2004
Location: Munich
Distribution: SuSE 9.2, 10.2, 10.3, knoppix
Posts: 274

Rep: Reputation: 30
BTW could you be more specific? How do you install them - via a setup tool (which linux distribution do you use?) or are you trying to compile the compilers' source code (which is most likely unecessary). Or does "doesn't compile" refer to compiling a programs' source code? If so, what exactly happens?
 
Old 02-16-2005, 07:03 AM   #4
swalexx
LQ Newbie
 
Registered: Dec 2004
Location: south west wales
Posts: 10

Original Poster
Rep: Reputation: 0
i was using the setup tool that comes with the compiler it works in the command line.

i have installed tried compiling in the directory that it was in /opt/intel_fc_80 that didnt work cant remember the error,

so i tried to add the directory /opt/intel_fc_80/bin to my path using the following

export PATH=$PATH:/opt/intel_fc_80/bin:.

which seems to have worked as it is now there when i echo $PATH so now when i go to compile a test file i get this error

$ ifort test.f90 -o test
ifort: error: could not find directory in which g++ resides

i'm lost please help
 
Old 02-16-2005, 08:46 AM   #5
Marius2
Member
 
Registered: Jan 2004
Location: Munich
Distribution: SuSE 9.2, 10.2, 10.3, knoppix
Posts: 274

Rep: Reputation: 30
May I suggest that you download the gcc .rpm or whatever package manager your distribution uses and install that instead? This would save you a lot of trouble.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Intel or AMD? Toonses82 Linux - Hardware 7 11-01-2005 08:10 PM
Intel or AMD? hjl Linux - Hardware 1 03-03-2005 08:26 AM
AMD vs. Intel Orion224 Linux - Hardware 14 06-02-2002 09:55 AM
AMD vs Intel [cacheflow] General 11 04-19-2002 11:46 AM
AMD or Intel ugge Linux - General 6 06-29-2001 12:19 AM


All times are GMT -5. The time now is 09:25 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration