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
Created attachment 42101 [details] ifc-8.1.018.ebuild (New Package)
Created attachment 42103 [details] Sets various variables required to run the compiler Goes in ifc/files/8.1.018
Created attachment 42104 [details] Sets various variables required to run the compiler Goes in ifc/files/8.1.018
The files from the icc package version 8.0.055 05icc-ifc and iccifc.conf required to set various compiler variables and settings.
this works fine for me on 2 gentoo-installations of slightly different update status.
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.
Created attachment 42998 [details] Runs the compiler Removed license and library path
Created attachment 42999 [details] Runs the compiler (ifort driver) Removed license and library path
Created attachment 43000 [details] Set various variables for the compiler
ifc, ifort and 05ifc need to be places under <portage-dir>/dev-lang/ifc/files/8.1.018
Created attachment 44279 [details] Runs the compiler set compiler variables at run time (intel default)
Created attachment 44281 [details] Runs the compiler (ifort driver) set compiler variables at run-time (intel default)
Created attachment 44282 [details] Environment variables Remove so variables. Provided now by the ifc and ifort scripts.
Having both icc and ifc (8.1) installed there are duplicate values in the path,rootpath and manpath environment variables (idb stuff).
Created attachment 45484 [details] IFC 8.1 ebuild Install efc and ifort for ia64 architecture
Created attachment 45485 [details] efc script (ia64)
Created attachment 45486 [details] ifort script (ia64)
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
Created attachment 46037 [details] IFC 8.1 ebuild Set installation path /opt/inte_fc_80 (default)
Created attachment 46038 [details] IFC 8.1 ebuild (new ifc)
Created attachment 46039 [details] Runs the compiler
Created attachment 46040 [details] Runs the compiler (ifort driver)
Created attachment 46041 [details] efc script (ia64)
Created attachment 46042 [details] ifort script (ia64)
Created attachment 46043 [details] Environment variables
works like a charm for me - thx :)
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?
Can we have this updated to 8.1.024 and released? The stable version is broken IMHO See Bug 68117 also for icc dependancy
(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 ]
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.
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!
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.
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
ifc-8.1.02[67] and ifc-9.0.02[16] are in the tree currently. No need for 8.1.018.. WONTFIX.