Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 68015

Summary: ifc-8.1.018.ebuild (New Package)
Product: Gentoo Linux Reporter: Konstantinos Pachnis <kostasp>
Component: New packagesAssignee: Danny van Dyk (RETIRED) <kugelfang>
Status: RESOLVED WONTFIX    
Severity: enhancement CC: bicatali, eckert.thomas, kostasp, nll, tove, xtv
Priority: High Keywords: EBUILD
Version: 2004.2   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 68117    
Bug Blocks:    
Attachments: ifc-8.1.018.ebuild (New Package)
Sets various variables required to run the compiler
Sets various variables required to run the compiler
ifc ebuild
Runs the compiler
Runs the compiler (ifort driver)
Set various variables for the compiler
Runs the compiler
Runs the compiler (ifort driver)
Environment variables
IFC 8.1 ebuild
efc script (ia64)
ifort script (ia64)
IFC 8.1 ebuild
IFC 8.1 ebuild (new ifc)
Runs the compiler
Runs the compiler (ifort driver)
efc script (ia64)
ifort script (ia64)
Environment variables
ebuild for ifc-8.1.021 (added amd64 stuff)

Description Konstantinos Pachnis 2004-10-18 07:56:20 UTC
Hi !

Please find attached ifc-8.1.018.ebuild and necessary configuration files.
ifc is the Intel Fortran Compiler. The ebuild is for the new version 8.1.

Konstantinos
Comment 1 Konstantinos Pachnis 2004-10-18 08:00:46 UTC
Created attachment 42101 [details]
ifc-8.1.018.ebuild (New Package)
Comment 2 Konstantinos Pachnis 2004-10-18 08:05:50 UTC
Created attachment 42103 [details]
Sets various variables required to run the compiler

Goes in ifc/files/8.1.018
Comment 3 Konstantinos Pachnis 2004-10-18 08:07:00 UTC
Created attachment 42104 [details]
Sets various variables required to run the compiler

Goes in ifc/files/8.1.018
Comment 4 Konstantinos Pachnis 2004-10-18 08:10:55 UTC
The files from the icc package version 8.0.055 05icc-ifc and iccifc.conf required to set various compiler variables and settings.
Comment 5 Thomas Eckert 2004-10-21 04:29:37 UTC
this works fine for me on 2 gentoo-installations of slightly different update
status.
Comment 6 Konstantinos Pachnis 2004-10-31 04:30:49 UTC
Created attachment 42997 [details]
ifc ebuild

The new ebuild installs the fortran compiler using the default directory
structure  as the intell installer. This is because if you have both icc 8.1
and ifc 8.1 under the same directory (i.e compiler80) removing one of the two
will remove libraries required by both compilers. Also some docs common to both
compilers will be removed. 
Installing both compilers under the same directory replaces readme files under
the doc directory. The icc provides a readme.txt under $ICC/doc for the icc,
installing ifc will replace this file with the one provided by ifc.
Both icc and ifc use the same version of idb (intel debuger, 8.0). Both
compiler installers install idb. If you remove one of the two compilers it will
remove the debuger as well so you will have to reinstall the debuger. This can
be done reinstalling the compiler you want to keep.
Finally in your PATH and MANPATH environment variables will be a duplicate
value of the debuger installtion path.
Comment 7 Konstantinos Pachnis 2004-10-31 04:32:49 UTC
Created attachment 42998 [details]
Runs the compiler

Removed license and library path
Comment 8 Konstantinos Pachnis 2004-10-31 04:33:50 UTC
Created attachment 42999 [details]
Runs the compiler (ifort driver)

Removed license and library path
Comment 9 Konstantinos Pachnis 2004-10-31 04:34:20 UTC
Created attachment 43000 [details]
Set various variables for the compiler
Comment 10 Konstantinos Pachnis 2004-10-31 04:35:55 UTC
ifc, ifort and 05ifc need to be places under <portage-dir>/dev-lang/ifc/files/8.1.018
Comment 11 Konstantinos Pachnis 2004-11-19 07:28:19 UTC
Created attachment 44279 [details]
Runs the compiler

set compiler variables at run time (intel default)
Comment 12 Konstantinos Pachnis 2004-11-19 07:29:05 UTC
Created attachment 44281 [details]
Runs the compiler (ifort driver)

set compiler variables at run-time (intel default)
Comment 13 Konstantinos Pachnis 2004-11-19 07:30:18 UTC
Created attachment 44282 [details]
Environment variables

Remove so variables. Provided now by the ifc and ifort scripts.
Comment 14 Konstantinos Pachnis 2004-11-19 07:31:50 UTC
Having both icc and ifc (8.1) installed there are duplicate values in the path,rootpath and manpath environment variables (idb stuff).
Comment 15 Konstantinos Pachnis 2004-12-07 19:39:17 UTC
Created attachment 45484 [details]
IFC 8.1 ebuild

Install efc and ifort for ia64 architecture
Comment 16 Konstantinos Pachnis 2004-12-07 19:40:32 UTC
Created attachment 45485 [details]
efc script (ia64)
Comment 17 Konstantinos Pachnis 2004-12-07 19:40:51 UTC
Created attachment 45486 [details]
ifort script (ia64)
Comment 18 Konstantinos Pachnis 2004-12-07 19:42:33 UTC
I have added the scripts required for ia64 architecture. Please note that the files for the x86 should be placed under 
<port_overlay_dir>/dev-lang/ifc/files/8.1.018/x86
and for the ia64 architecture under 
<port_overlay_dir>/dev-lang/ifc/files/8.1.018/ia64

Hope is gonna work.
Thanks
Comment 19 Konstantinos Pachnis 2004-12-15 07:38:04 UTC
Created attachment 46037 [details]
IFC 8.1 ebuild

Set installation path /opt/inte_fc_80 (default)
Comment 20 Konstantinos Pachnis 2004-12-15 07:38:53 UTC
Created attachment 46038 [details]
IFC 8.1 ebuild (new ifc)
Comment 21 Konstantinos Pachnis 2004-12-15 07:39:57 UTC
Created attachment 46039 [details]
Runs the compiler
Comment 22 Konstantinos Pachnis 2004-12-15 07:40:18 UTC
Created attachment 46040 [details]
Runs the compiler (ifort driver)
Comment 23 Konstantinos Pachnis 2004-12-15 07:40:41 UTC
Created attachment 46041 [details]
efc script (ia64)
Comment 24 Konstantinos Pachnis 2004-12-15 07:41:00 UTC
Created attachment 46042 [details]
ifort script (ia64)
Comment 25 Konstantinos Pachnis 2004-12-15 07:41:25 UTC
Created attachment 46043 [details]
Environment variables
Comment 26 Markus Luisser 2005-01-15 10:07:38 UTC
works like a charm for me - thx :)
Comment 27 Sébastien Fabbro (RETIRED) gentoo-dev 2005-03-01 11:51:43 UTC
Created attachment 52405 [details]
ebuild for ifc-8.1.021 (added amd64 stuff)

From AMD web site
http://www.amd.com/us-en/assets/content_type/white_papers_and_tech_docs/32035.pdf
:

"Intel provides C, C++, and Fortran compilers for EM64T and compatible
architecture-based systems running the Linux operating systems. The current
version (as of December 2004) is 8.1."

So I tried with replacing the ia64 with amd64, by
modifying slightly the ebuild to test. Failure. Did anyone try?
Comment 28 Trevor Forbes 2005-05-28 23:46:04 UTC
Can we have this updated to 8.1.024 and released? The stable version is broken IMHO
See Bug 68117 also for icc dependancy
Comment 29 Nicolas 2005-05-31 03:35:01 UTC
(In reply to comment #10)
> ifc, ifort and 05ifc need to be places under
<portage-dir>/dev-lang/ifc/files/8.1.018

Hello! Sorry if it's a stupid question with an obvious answer, but: where are
these files? I've tried to emerge this ebuild (on a x86), but it fails as it
cannot stat `/usr/portage/dev-lang/ifc/files/8.1.021/05ifc': No such file or
directory

Thanks for your help! 

[More details here: http://forums.gentoo.org/viewtopic-p-2455785.html#2455785 ]
Comment 30 Konstantinos Pachnis 2005-05-31 06:25:26 UTC
There are two ebuilds for two different versions. If you have the ebuild for
ifort version 8.1.021 you should create a directory 8.1.021. All the files
should be placed under a directory with the version number of the package.
Comment 31 Nicolas 2005-05-31 08:43:14 UTC
OK, thanks, I see now: what I did not understand is that the attachments at the
top were the actual files that needed to be placed in the files/8.1.021
directory... In particular it was not obvious to me as it should have been that
the attachment 'Environment variables' was the actual 05ifc file that the ebuild
was asking for.
I eventually managed to get the emerge working.
Now, if I try to run the compiler on a test program, here is what I get:
1) $ /opt/intel_fc_80/bin/ifort test.f
/opt/intel_fc_80/bin/ifort: line 7: INSTALLDIR: No such file or directory
/opt/intel_fc_80/bin/ifort: line 15: INSTALLDIR: No such file or directory
/opt/intel_fc_80/bin/ifort: line 23: INSTALLDIR: No such file or directory
/opt/intel_fc_80/bin/ifort: line 31: INSTALLDIR: No such file or directory

2) $ /opt/intel_fc_80/bin/ifc test.f
/opt/intel_fc_80/bin/ifc: line 7: INSTALLDIR: No such file or directory
/opt/intel_fc_80/bin/ifc: line 15: INSTALLDIR: No such file or directory
/opt/intel_fc_80/bin/ifc: line 23: INSTALLDIR: No such file or directory
/opt/intel_fc_80/bin/ifc: line 31: INSTALLDIR: No such file or directory

3) $ /opt/intel_fc_80/bin/ifcbin test.f
ifcbin: warning: The Intel Fortran driver is now named ifort.  You can suppress
this message with '-quiet'
/opt/intel_fc_80/bin/ifort: line 7: INSTALLDIR: No such file or directory
/opt/intel_fc_80/bin/ifort: line 15: INSTALLDIR: No such file or directory
/opt/intel_fc_80/bin/ifort: line 23: INSTALLDIR: No such file or directory
/opt/intel_fc_80/bin/ifort: line 31: INSTALLDIR: No such file or directory

4) The only one that works is $ /opt/intel_fc_80/bin/ifortbin test.f

Thanks a lot anyway, I can say that it works for me too!
Comment 32 Konstantinos Pachnis 2005-05-31 13:18:34 UTC
There two more files required to run the compiler. If you have a look at the
attachments there are two files to run the compiler (Runs the compiler), you
need both. If you have a ia64 or amd64 you need the two with ia64 in parantheses.
Download these two and place them under the 8.1.021/x86 for ia32 and amd32
architectures and 8.1.021/ia64 for ia64 and amd64 architectures. The installer
will do the rest. I will soon upload a new ebuild to install the new version of
intel fortran and remove the need for files to run the compiler. 
Comment 33 Zugang Mao 2005-06-08 01:23:39 UTC
I got this error, any idea? thanks!

emerge ifc-8.1.021.ebuild
emerging by path implies --oneshot... adding --oneshot to options.

*** emerging by path is broken and may not always work!!!

Calculating dependencies
*** You are emerging a masked package. It is MUCH better to use
*** /etc/portage/package.* to accomplish this. See portage(5) man
*** page for details.
>>> Waiting 10 seconds before starting...
>>> (Control-C to abort)...
Continuing... in: 10 9 8 7 6 5 4 3 2 1
 ...done!
>>> emerge (1 of 1) dev-lang/ifc-8.1.021 to /
mv: cannot stat `/var/tmp/portage/ifc-8.1.021/temp/environment': No such file or
directory
!!! Security Violation: A file exists that is not in the manifest.
!!! File: files/8.1.021/05ifc
Comment 34 Danny van Dyk (RETIRED) gentoo-dev 2005-09-02 16:41:55 UTC
ifc-8.1.02[67] and ifc-9.0.02[16] are in the tree currently. No need for 8.1.018..
WONTFIX.