Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29249 Discussions

How to install intel fortran compiler to Cygwin ?

frainbbs
Beginner
3,039 Views
I did it like this:
At the page http://software.intel.com/en-us/articles/non-commercial-software-download/ ,I download the file named Intel Fortran Compiler Professional Edition for Linux , which verson is the latest 11.1.046 (l_cprof_p_11.1.046)
1. tar -zxvf l_cprof_p_11.1.046.tgz
2. cd l_cprof_p_11.1.046
3../install.sh

But something has happened like this :
Fairy@OFFICE /home/intel/l_cprof_p_11.1.046
$ ./install.sh
./install.sh: line 261: /sbin/ldconfig: No such file or directory
/home/intel/l_cprof_p_11.1.046/./pset/32/install.32: /home/intel/l_cprof_p_11.1.046/./pset/32/install.32: cannot execute binary file
./install.sh: line 303: /tmp/intel.pset.strings.Fairy.OFFICE: No such file or directory
ps: unknown option -- C
Usage: ps [-aefls] [-u UID] [-p PID]
Report process status

-a, --all show processes of all users
-e, --everyone show processes of all users
-f, --full show process uids, ppids
-h, --help output usage information and exit
-l, --long show process uids, ppids, pgids, winpids
-p, --process show information for specified PID
-s, --summary show process summary
-u, --user list processes owned by UID
-v, --version output version information and exit
-W, --windows show windows as well as cygwin processes
With no options, ps outputs the long format by default


I don't know how to do the next.
I think the Cygwin doesn't has" /sbin/ldconfig "
And how to process this? " /tmp/intel.pset.strings.Fairy.OFFICE "

And I don't know how processthe license "NCOM_L_CMP_FOR_NB3L-BGKBG76B.lic" , I put it unde l_cprof_p_11.1.046

Who can help me ? Thank you.


0 Kudos
1 Solution
Kevin_D_Intel
Employee
3,039 Views

Sounds like you are trying to install the Intel Fortran compiler for Linux under cygwin on Windows, and that won't work. The Linux compiler is for Linux only. Only the Intel Visual Fortran compiler for Windows can be used under cygwin. This earlier thread (here) contains lots of details/discussion.

View solution in original post

0 Kudos
4 Replies
Kevin_D_Intel
Employee
3,040 Views

Sounds like you are trying to install the Intel Fortran compiler for Linux under cygwin on Windows, and that won't work. The Linux compiler is for Linux only. Only the Intel Visual Fortran compiler for Windows can be used under cygwin. This earlier thread (here) contains lots of details/discussion.
0 Kudos
frainbbs
Beginner
3,039 Views

Sounds like you are trying to install the Intel Fortran compiler for Linux under cygwin on Windows, and that won't work. The Linux compiler is for Linux only. Only the Intel Visual Fortran compiler for Windows can be used under cygwin. This earlier thread (here) contains lots of details/discussion.

Yes! Thank you very much!
0 Kudos
frainbbs
Beginner
3,039 Views

Fairy@OFFICE /test_ifort
$ ls
one.f90

Fairy@OFFICE /test_ifort
$ ifort
Intel Visual Fortran Compiler Professional for applications running on IA-32, Version 11.1 Build 20090624 Package ID: w_cprof_p_11.1.038
Copyright (C) 1985-2009 Intel Corporation. All rights reserved.
30 DAY EVALUATION LICENSE

ifort: NOTE: The evaluation period for this product ends on 16-sep-2009 UTC.
ifort: command line error: no files specified; for help type "ifort /help"

Fairy@OFFICE /test_ifort
$ ifort one.f90
Intel Visual Fortran Compiler Professional for applications running on IA-32, Version 11.1 Build 20090624 Package ID: w_cprof_p_11.1.038
Copyright (C) 1985-2009 Intel Corporation. All rights reserved.

link: invalid option -- o
Try `link --help' for more information.

Fairy@OFFICE /test_ifort
$


link: invalid option -- o How to process??

0 Kudos
TimP
Honored Contributor III
3,039 Views
Quoting - frainbbs

Fairy@OFFICE /test_ifort
$ ls
one.f90


$ ifort one.f90
Intel Visual Fortran Compiler Professional for applications running on IA-32, Version 11.1 Build 20090624 Package ID: w_cprof_p_11.1.038
Copyright (C) 1985-2009 Intel Corporation. All rights reserved.

link: invalid option -- o
Try `link --help' for more information.

This is the effect of not specifying the path to Microsoft link in ifort.cfg. Example contents of ifort.cfg (for VS2008) (in the same folder as ifort.exe):

-Qlocation,link,"C:Program FilesMicrosoft Visual Studio 9.0VCbin"
-assume:minus0,protect_parens,buffered_io,byterecl
-Qprec-div -Qprec-sqrt

If you have installed cygwin which (you should) you would likely see
$ which link
/usr/bin/link
$ link --version
link (GNU coreutils) 7.0
Copyright (C) 2008 Free Software Foundation, Inc.
.....

Remember that link in cygwin is an entirely different command from what it is in Microsoft development tools. If you never use gnu link, you could remove it from /usr/bin, in which case you may not require the entry in ifort.cfg.
If you want to try linking with cygwin gnu ld, it's possible for 32-bit .obj, but ifort won't generate the options in posix format, so you will have the hassle of specifying libraries in a directory path including spaces.

Note that this thread is about ifort for Windows, so doesn't belong here in the linux forum.
0 Kudos
Reply