- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am moving to emt64 systems, but have an ia32 compute farm. I would like to
use the ia32 resources that I have in order to do compiles for the emt64
systems that are being added.
Is there a "recipe" for doing such cross compiles for the Intel C and Fortran
compilers? How about for gcc?
Thanks..
Dan..
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I will guess that you are talking about the linux compilers, as the Windows version of this is supposed to work "out of the box."
You would need to make an x86-64 installation of gcc/g++ cross compiler, and make that the active g++ where you install and run the corresponding icc/icpc and ifort. I guess gcc 4.1 would be a reasonable choice. You will need to make a cross gnu binutils (as, ld, et al) and place the same glibc and gcc/g++ x86-64 libraries and headers on both your build and run systems. Several people have built g++ this way, but you will have to research how it's done. You probably don't want to try this until you have learned how to build a standard g++. You should find gcc cross compiler build instructions in a web search. Web pages under gcc.gnu.org would be the most authoritative. I don't think you'll find a pre-built version.
If the Intel em64t compilers refuse to install normally in such an environment, you still have chances. As the Intel compilers are 32-bit applications, in principle it should be possible to copy the em64t compilers (9.1 or 10.0) over to a 32-bit system, after installing on 64-bit.
I doubt the Intel compilers have been tested in a 32- to 64-bit cross compilation situation, and I would be concerned about reliability and lack of bug fixes.
You would need to make an x86-64 installation of gcc/g++ cross compiler, and make that the active g++ where you install and run the corresponding icc/icpc and ifort. I guess gcc 4.1 would be a reasonable choice. You will need to make a cross gnu binutils (as, ld, et al) and place the same glibc and gcc/g++ x86-64 libraries and headers on both your build and run systems. Several people have built g++ this way, but you will have to research how it's done. You probably don't want to try this until you have learned how to build a standard g++. You should find gcc cross compiler build instructions in a web search. Web pages under gcc.gnu.org would be the most authoritative. I don't think you'll find a pre-built version.
If the Intel em64t compilers refuse to install normally in such an environment, you still have chances. As the Intel compilers are 32-bit applications, in principle it should be possible to copy the em64t compilers (9.1 or 10.0) over to a 32-bit system, after installing on 64-bit.
I doubt the Intel compilers have been tested in a 32- to 64-bit cross compilation situation, and I would be concerned about reliability and lack of bug fixes.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page