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

Porting to Linux

David_J_2
ビギナー
1,280件の閲覧回数
I have lots of code that I need to port to Linux. I would prefer to use 11.1. Is it possible to build all the .lib, .dll and .exe from my windows platform and just transfer to a linux platform? Will the IVF for Windows and Linux and Max/OS version do that? I started looking a the various versions but really couldn't tell what will do what.

Thanks,

Dave
0 件の賞賛
3 返答(返信)
mecej4
名誉コントリビューター III
1,280件の閲覧回数
You can port at the source level. If your code calls, for example, graphics libraries, you will need to make sure that there exist Linux versions.

Files of type .OBJ, .DLL, .EXE are not portable. Third party libraries such as IMSL are not portable at the object level.

You may run Windows .EXEs using virtualization or with Wine under Linux, but there are lots of reasons not to do this frequently.

The basic truth: Linux is not Windows. Windows is not Linux.
David_J_2
ビギナー
1,280件の閲覧回数

I understand that windows files are not linux files. But that doesn't mean that they can't be built on a windows machine does it? For example, what exactly does "Intel Cluster XE for Windows and Linux" do? From the name it would appear that you can build for both platforms with one package. I'm hoping someone that knows all these various packages can help me out.

Maybe I should add that my source has both c and fortran sources.

Steven_L_Intel1
従業員
1,280件の閲覧回数
The compilers are distinct and you can't cross-build for Linux on Windows, unless you somehow manage to install the Linux compiler in a Linux-emulated environment on Windows. If you are referring to Intel Cluster Studio, it is a bundle of several products, not an "all-in-one" compiler.
返信