f



Intel Fortran, again

I have just had a new Linux system installed (Suse 11.2) and had to
install Intel Fortran once more. In a previous installation under
Suse 10.2, I had to put into the .bashrc file the path statements

source /opt/intel/idb/9.1.036/bin/idbvars.sh
source /opt/intel/fc/9.1.036/bin/ifortvars.sh

and I must do something similar now. But the instructions, for
the Professional Edition 11.1 for Linux, do not mention this.
So, to get going, what must I now insert? I can't find any
README that tells me this. I don't even find the directories
idb/ and fc/ in /opt/intel/.
-- 
Dieter Britz (dieterhansbritz<at>gmail.com)
0
Dieter
11/9/2010 12:57:15 PM
comp.lang.fortran 11941 articles. 1 followers. Post Follow

8 Replies
2322 Views

Similar Articles

[PageSpeed] 10

In article <ibbggr$9ku$3@news.eternal-september.org>,
Dieter Britz  <dieterhansbritz@gmail.com> wrote:
>I have just had a new Linux system installed (Suse 11.2) and had to
>install Intel Fortran once more. In a previous installation under
>Suse 10.2, I had to put into the .bashrc file the path statements
>
>source /opt/intel/idb/9.1.036/bin/idbvars.sh
>source /opt/intel/fc/9.1.036/bin/ifortvars.sh
>
>and I must do something similar now. But the instructions, for
>the Professional Edition 11.1 for Linux, do not mention this.
>So, to get going, what must I now insert? I can't find any
>README that tells me this. I don't even find the directories
>idb/ and fc/ in /opt/intel/.

find / -xdev -name ifort

You may need to search other filesystems as well - you can drop
the -xdev, but I don't recommend it nowadays.


Regards,
Nick Maclaren.
0
nmm1
11/9/2010 1:02:15 PM
On 11/9/2010 4:57 AM, Dieter Britz wrote:
> I have just had a new Linux system installed (Suse 11.2) and had to
> install Intel Fortran once more. In a previous installation under
> Suse 10.2, I had to put into the .bashrc file the path statements
>
> source /opt/intel/idb/9.1.036/bin/idbvars.sh
> source /opt/intel/fc/9.1.036/bin/ifortvars.sh
>
> and I must do something similar now. But the instructions, for
> the Professional Edition 11.1 for Linux, do not mention this.
> So, to get going, what must I now insert? I can't find any
> README that tells me this. I don't even find the directories
> idb/ and fc/ in /opt/intel/.
Look under /opt/intel/Compiler/11..... for the environment source scripts.

-- 
Tim Prince
0
Tim
11/9/2010 1:13:54 PM
On Nov 9, 6:13=A0pm, Tim Prince <tpri...@computer.org> wrote:
> On 11/9/2010 4:57 AM, Dieter Britz wrote:> I have just had a new Linux sy=
stem installed (Suse 11.2) and had to
> > install Intel Fortran once more. In a previous installation under
> > Suse 10.2, I had to put into the .bashrc file the path statements
>
> > source /opt/intel/idb/9.1.036/bin/idbvars.sh
> > source /opt/intel/fc/9.1.036/bin/ifortvars.sh
>

it should be


 source /opt/intel/Compiler/11.1/073/bin/ia32/ifortvars_ia32.sh
or
 source /opt/intel/Compiler/11.1/073/bin/ifortvars.sh ia32

for the latest ifort build in 32bit machine.
note, you *must* specify the build in your ifortvars....otherwise, it
wont work
0
rudra
11/9/2010 2:49:53 PM
On Nov 9, 7:49=A0pm, rudra <bnrj.ru...@gmail.com> wrote:
> On Nov 9, 6:13=A0pm, Tim Prince <tpri...@computer.org> wrote:
>
> > On 11/9/2010 4:57 AM, Dieter Britz wrote:> I have just had a new Linux =
system installed (Suse 11.2) and had to
> > > install Intel Fortran once more. In a previous installation under
> > > Suse 10.2, I had to put into the .bashrc file the path statements
>
> > > source /opt/intel/idb/9.1.036/bin/idbvars.sh
> > > source /opt/intel/fc/9.1.036/bin/ifortvars.sh
>
> it should be
>
> =A0source /opt/intel/Compiler/11.1/073/bin/ia32/ifortvars_ia32.sh
> or
> =A0source /opt/intel/Compiler/11.1/073/bin/ifortvars.sh ia32
>
> for the latest ifort build in 32bit machine.
> note, you *must* specify the build in your ifortvars....otherwise, it
> wont work

but as from your post, have you install it as root? otherwise, it is
in some directory you given at the time of installation...check that
and do
source <your fortran install dir and build>/bin/ia32/ifortvars_ia32.sh
0
rudra
11/9/2010 2:52:25 PM
rudra wrote:

> On Nov 9, 6:13 pm, Tim Prince <tpri...@computer.org> wrote:
>> On 11/9/2010 4:57 AM, Dieter Britz wrote:> I have just had a new Linux
>> system installed (Suse 11.2) and had to
>> > install Intel Fortran once more. In a previous installation under
>> > Suse 10.2, I had to put into the .bashrc file the path statements
>>
>> > source /opt/intel/idb/9.1.036/bin/idbvars.sh
>> > source /opt/intel/fc/9.1.036/bin/ifortvars.sh
>>
> 
> it should be
> 
> 
>  source /opt/intel/Compiler/11.1/073/bin/ia32/ifortvars_ia32.sh
> or
>  source /opt/intel/Compiler/11.1/073/bin/ifortvars.sh ia32
> 
> for the latest ifort build in 32bit machine.
> note, you *must* specify the build in your ifortvars....otherwise, it
> wont work

You mean something apart from what you wrote above, or one of those
two lines? If the former, how do I find out exactly what to put in?
-- 
Dieter Britz (dieterhansbritz<at>gmail.com)
0
Dieter
11/10/2010 8:20:02 AM
On 11/10/2010 12:20 AM, Dieter Britz wrote:
> rudra wrote:
>
>> On Nov 9, 6:13 pm, Tim Prince<tpri...@computer.org>  wrote:
>>> On 11/9/2010 4:57 AM, Dieter Britz wrote:>  I have just had a new Linux
>>> system installed (Suse 11.2) and had to
>>>> install Intel Fortran once more. In a previous installation under
>>>> Suse 10.2, I had to put into the .bashrc file the path statements
>>>
>>>> source /opt/intel/idb/9.1.036/bin/idbvars.sh
>>>> source /opt/intel/fc/9.1.036/bin/ifortvars.sh
>>>
>>
>> it should be
>>
>>
>>   source /opt/intel/Compiler/11.1/073/bin/ia32/ifortvars_ia32.sh
>> or
>>   source /opt/intel/Compiler/11.1/073/bin/ifortvars.sh ia32
>>
>> for the latest ifort build in 32bit machine.
>> note, you *must* specify the build in your ifortvars....otherwise, it
>> wont work
>
> You mean something apart from what you wrote above, or one of those
> two lines? If the former, how do I find out exactly what to put in?
The latest version as of yesterday actually puts the preferred version 
(with ia32 or intel64 as final parameter) up on your screen at the end 
of the installation.

-- 
Tim Prince
0
Tim
11/10/2010 4:09:25 PM
Tim Prince wrote:

> On 11/10/2010 12:20 AM, Dieter Britz wrote:
>> rudra wrote:
>>
>>> On Nov 9, 6:13 pm, Tim Prince<tpri...@computer.org>  wrote:
>>>> On 11/9/2010 4:57 AM, Dieter Britz wrote:>  I have just had a new Linux
>>>> system installed (Suse 11.2) and had to
>>>>> install Intel Fortran once more. In a previous installation under
>>>>> Suse 10.2, I had to put into the .bashrc file the path statements
>>>>
>>>>> source /opt/intel/idb/9.1.036/bin/idbvars.sh
>>>>> source /opt/intel/fc/9.1.036/bin/ifortvars.sh
>>>>
>>>
>>> it should be
>>>
>>>
>>>   source /opt/intel/Compiler/11.1/073/bin/ia32/ifortvars_ia32.sh
>>> or
>>>   source /opt/intel/Compiler/11.1/073/bin/ifortvars.sh ia32
>>>
>>> for the latest ifort build in 32bit machine.
>>> note, you *must* specify the build in your ifortvars....otherwise, it
>>> wont work
>>
>> You mean something apart from what you wrote above, or one of those
>> two lines? If the former, how do I find out exactly what to put in?
> The latest version as of yesterday actually puts the preferred version
> (with ia32 or intel64 as final parameter) up on your screen at the end
> of the installation.
> 

Well, this one didn't. I found two files and inserted this into my .bashrc:

source /opt/intel/Compiler/11.1/073/bin/ifortvars.sh
source /opt/intel/Compiler/11.1/073/bin/ia32/idbvars.sh

assuming that they are what is needed. But no go, ifort is still not
known to man. What do I do now?
-- 
Dieter Britz (dieterhansbritz<at>gmail.com)
0
Dieter
11/15/2010 8:45:26 AM
Most of the information you need is in the other replies.
I've put it all in one place for you.

This is the setup of one of my
open suse 11.2 systems.

inux-g8j0:~ # uname -a
Linux linux-g8j0 2.6.31.14-0.4-default #1 SMP 2010-10-25 08:45:30
+0200 x86_64 x86_64 x86_64 GNU/Linux

/opt is a common place to install 3rd party software.
here is a snapshot of mine.

linux-g8j0:~ # ls /opt
g95  icecream  intel  kde3  sun

g95 is a free fortran compiler for linux. the linux
version also supports coarrays.

sun make available sunstudio (a nice ide for their
fortran and c++ compilers)

linux-g8j0:~ # ls /opt/intel
bin  compilerpro  compilerpro-12.0  compilerpro-12.0.0.025  include
inspector_xe  ipp  lib  licenses  man  mkl  parallel_studio_xe_2011
tbb
linux-g8j0:~ # ls /opt/intel/compilerpro-12.0
Documentation  Samples  bin  debugger  eclipse_support  include  ipp
lib  man  mkl  pkg_bin  tbb
linux-g8j0:~ # ls /opt/intel/compilerpro-12.0/Documentation
en_US

here is the documentation directory for this intel install.

linux-g8j0:~ # ls /opt/intel/compilerpro-12.0/Documentation/en_US/
Release_NotesC.pdf  clicense    compiler_f                 compilerpro-
f_support.txt  documentation_c.htm  flicense  ipp_support.txt
mkl              ssadiag_docs  tbb              tutorials_c
Release_NotesF.pdf  compiler_c  compilerpro-c_support.txt
debugger                   documentation_f.htm  ipp
lgpltext         mkl_support.txt  styles_l.css  tbb_support.txt
tutorials_f

have a look at the fortran relase notes.

the folowing is a file i keep in my root directory.

linux-g8j0:~ # cat intel_setup.txt
source /opt/intel/compilerpro/bin/compilervars.sh intel64
linux-g8j0:~ #

People have provided most of the information that you need
to be able to get the compiler to work.

the key is the

source /opt/intel/compilerpro/bin/compilervars.sh intel64

line.

See the following

inux-g8j0:~ # source /opt/intel/compilerpro/bin/compilervars.sh
intel64
linux-g8j0:~ # ifort test.f90
linux-g8j0:~ # ./a.out
  hello world
linux-g8j0:~ #

it is unlikely that you have a 32 bit processor or os
so the above should work.

hope this helps.

ian chivers

On Nov 15, 8:45=A0am, Dieter Britz <br...@chem.au.dk> wrote:
> Tim Prince wrote:
> > On 11/10/2010 12:20 AM, Dieter Britz wrote:
> >> rudra wrote:
>
> >>> On Nov 9, 6:13 pm, Tim Prince<tpri...@computer.org> =A0wrote:
> >>>> On 11/9/2010 4:57 AM, Dieter Britz wrote:> =A0I have just had a new =
Linux
> >>>> system installed (Suse 11.2) and had to
> >>>>> install Intel Fortran once more. In a previous installation under
> >>>>> Suse 10.2, I had to put into the .bashrc file the path statements
>
> >>>>> source /opt/intel/idb/9.1.036/bin/idbvars.sh
> >>>>> source /opt/intel/fc/9.1.036/bin/ifortvars.sh
>
> >>> it should be
>
> >>> =A0 source /opt/intel/Compiler/11.1/073/bin/ia32/ifortvars_ia32.sh
> >>> or
> >>> =A0 source /opt/intel/Compiler/11.1/073/bin/ifortvars.sh ia32
>
> >>> for the latest ifort build in 32bit machine.
> >>> note, you *must* specify the build in your ifortvars....otherwise, it
> >>> wont work
>
> >> You mean something apart from what you wrote above, or one of those
> >> two lines? If the former, how do I find out exactly what to put in?
> > The latest version as of yesterday actually puts the preferred version
> > (with ia32 or intel64 as final parameter) up on your screen at the end
> > of the installation.
>
> Well, this one didn't. I found two files and inserted this into my .bashr=
c:
>
> source /opt/intel/Compiler/11.1/073/bin/ifortvars.sh
> source /opt/intel/Compiler/11.1/073/bin/ia32/idbvars.sh
>
> assuming that they are what is needed. But no go, ifort is still not
> known to man. What do I do now?
> --
> Dieter Britz (dieterhansbritz<at>gmail.com)- Hide quoted text -
>
> - Show quoted text -

0
Ian
11/16/2010 2:07:52 PM
Reply: