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

Redistributable Libraries and/or static compilation

Gabriel_Toro
Beginner
1,515 Views

Hi,

I need to send a co-worker the redistributable libraries for the latest Fortran compiler. Where can I find those (in my computer or on-line)?

Also, does the recipient have to do anything else (move dll's to same directory as exe, define an environment variable)?

As an alternative, is there an easy way to link everything statically? This is a simple Fortran console application that does not call any special numerical packages.

Sorry if this has been asked before, but I could not find an up-to-date answers and the documentation has become too complicated for me (and/or I am getting old).

Thanks,

Gabriel

0 Kudos
8 Replies
TimP
Honored Contributor III
1,515 Views

At https://registrationcenter.inbtel.com, as well as in your compiler installation e.g. ....\Composer XE 2015\redist\ there should be a redistributable library available for each version of the compiler.  It should work with the needed dlls placed in the folder with the .exe or in a folder added to PATH.   Dependency Walker should help you determine which .dll your application uses, if you are interested.  Note there would be both an \intel64\ (X64) and and \ia32\ (32-bit mode) folder under redist.

Switching your build to /MT will use static versions of most of the libraries, exception being OpenMP libiomp5.  If you use MKL, consult the MKL link advisor on how to link the static libraries.

The ifort default switched from /MT to /MD around 14.0 and caught me by surprise too.

0 Kudos
Steven_L_Intel1
Employee
1,515 Views

The redistributable package provided is an executable installer - the end user runs it. If you have your own installer we provided a Windows merge module for your use.

We changed to default DLL linking to match what Microsoft does.

0 Kudos
Gabriel_Toro
Beginner
1,515 Views

Thanks Tim and Steve for your responses, but:

  • The only things I find in  ....\Composer XE 2015\redist\ are several dll's and an msm file. I was expecting to find msi or executables. As I understand it, the msm is used for the creation of an msi file, but I was trying not to create an msi. I just wanted to send my executable and a link to the self-installing redistributables (as I think it worked in the past). 
  • I also checked in  https://registrationcenter.intel.com and cannot find anything about redistributables.

I would appreciate any suggestions and clarifications.

Thanks,

Gabriel

0 Kudos
Steven_L_Intel1
Employee
1,515 Views

The installer is downloadable from the same page where you'll find the compiler (Parallel Studio XE 2015). Look under "Related files". You will find both a .exe and a .msi.zip.

0 Kudos
Gabriel_Toro
Beginner
1,515 Views

Steve,

 

Thank you for your response. Can you point me to the URL? I just don't see it in https://registrationcenter.intel.com/regcenter/Download.aspx?productid=2315&pass=yes

BTW, I found the following after doing dir /s  w_ccompxe_*.msi from my root directory: 


 Directory of C:\Users\this_userAppData\Local\Microsoft\Windows\INetCache\IE\6CS2GCN4

04/30/2015  05:39 PM         9,842,688 w_ccompxe_redist_intel64_2015.3.208[1].msi
               1 File(s)      9,842,688 bytes

 Directory of C:\Users\this_user\AppData\Local\Microsoft\Windows\INetCache\IE\G9VW85RS

04/30/2015  05:39 PM         7,266,304 w_ccompxe_redist_ia32_2015.3.208[1].msi
               1 File(s)      7,266,304 bytes
 

Is this what I want? So it looks they were there all along, but pretty well hidden in temporary files.

Thanks,

Gabriel

 

 

Thanks,

Gabriel 

0 Kudos
Gabriel_Toro
Beginner
1,515 Views

Steve,

 

I finally found the files in

https://registrationcenter.intel.com/regcenter/Download.aspx?productid=1792&sn=&pass=yes

Thanks for your help,

Gabriel

0 Kudos
Yu__Tao
Beginner
1,515 Views

Gabriel,

Alternatively, you can determine which .dll your application uses by e.g. Dependency Walker, and distribute them together with your .exe or .dll kit, which can save the end user's time to install the redistribution package.

Tao 

0 Kudos
Steven_L_Intel1
Employee
1,515 Views

Just keep in mind that if your application is a DLL, the redistributable DLLs have to go in a folder that is included in PATH. The installer we provide does that.

0 Kudos
Reply