<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Problem with compilation in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Problem-with-compilation/m-p/759932#M15419</link>
    <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/446527"&gt;kseagull&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;
&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
Thank you very much.
&lt;DIV&gt;Now, Everything is compiled. (I used ifort -c -module /src/module *.f)
&lt;DIV&gt;Following the instruction i should "link all", what does it mean and how I can do it? Should I link all files with/and modules as well?&lt;/DIV&gt;
&lt;DIV&gt;Thank you in advance.&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
The ifort command can:&lt;BR /&gt;1) just compile the code if the -c option is used (like you do above). -c says "compile ONLY, no link"&lt;BR /&gt;2) compile and link the code: ifort -module /src/module *.f&lt;BR /&gt;3) link the code:  ifort *.o&lt;BR /&gt;&lt;BR /&gt;You can add the option -o to change the name of the executable file. Right now your code creates a file "a.out" that can be run.&lt;BR /&gt;&lt;BR /&gt;If you want to name the executable program something else, let's say "fred.exe" you could use this command:&lt;BR /&gt;&lt;BR /&gt;ifort -module /src/module *.f -o fred.exe&lt;BR /&gt;&lt;BR /&gt;then run fred.exe:&lt;BR /&gt;&lt;BR /&gt;./fred.exe&lt;BR /&gt;</description>
    <pubDate>Wed, 07 Oct 2009 23:29:29 GMT</pubDate>
    <dc:creator>Ron_Green</dc:creator>
    <dc:date>2009-10-07T23:29:29Z</dc:date>
    <item>
      <title>Problem with compilation</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Problem-with-compilation/m-p/759929#M15416</link>
      <description>Hello,
&lt;DIV&gt;&lt;SPAN style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;I am a user of Snow Leopard 10.6.1, Xcode 3.2,&lt;SPAN style="font-size: 14px; font-weight: bold;"&gt;&lt;SPAN style="font-size: 11px; font-weight: normal;"&gt;Intel Fortran Intel 64 Compiler Professional for applications running on Intel 64, Version 11.1  Build 20090827 Package ID: m_cprof_p_11.1.067.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;SPAN style="font-size: 14px; font-weight: bold;"&gt;&lt;SPAN style="font-size: 11px; font-weight: normal;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;SPAN style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;I am trying to compile one program for physical calculations and I met the problem. The structure of my Program the following: folder "src" -&amp;gt; "unix" (*.f), "module"(*.f), "include"(*.h)&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;Following the instruction (which is really very poor), firstly I've compiled all files in /src/module with success. It was created the files *.mod and *.o in the folder "module". Then I should compile all files in src/unix (it works) and /src and here I have the problem:&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;This is example when I start from the first fileaamain.f(I attached it):&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;
&lt;DIV&gt;ifort -c aamain.f&lt;/DIV&gt;
&lt;DIV&gt;aamain.f(2): error #7002: Error in opening the compiled module file. Check INCLUDE paths.  [BEAMCM]&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN style="white-space: pre;"&gt; &lt;/SPAN&gt;USE BEAMCM&lt;/DIV&gt;
&lt;DIV&gt;------------^&lt;/DIV&gt;
&lt;DIV&gt;aamain.f(3): error #7002: Error in opening the compiled module file. Check INCLUDE paths.  [BBCOM]&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN style="white-space: pre;"&gt; &lt;/SPAN&gt;USE BBCOM&lt;/DIV&gt;
&lt;DIV&gt;------------^&lt;/DIV&gt;
&lt;DIV&gt;aamain.f(4): error #7002: Error in opening the compiled module file. Check INCLUDE paths.  [LASRDATA]&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN style="white-space: pre;"&gt; &lt;/SPAN&gt;USE LASRDATA&lt;/DIV&gt;
&lt;DIV&gt;------------^&lt;/DIV&gt;
&lt;DIV&gt;include/lasrcm.h(4): error #6756: A COMMON block data object must not be an automatic object.  [LRLSR]&lt;/DIV&gt;
&lt;DIV&gt;INTEGER LRLSR(MLSR),LTRLSR(MLSR),LTPAR(MLSR),LSPAR(MLSR),NLSR&lt;/DIV&gt;
&lt;DIV&gt;--------------^&lt;/DIV&gt;
&lt;DIV&gt;include/lasrcm.h(4): error #6591: An automatic object is invalid in a main program.  [LRLSR]&lt;/DIV&gt;
&lt;DIV&gt;INTEGER LRLSR(MLSR),LTRLSR(MLSR),LTPAR(MLSR),LSPAR(MLSR),NLSR&lt;/DIV&gt;
&lt;DIV&gt;--------------^&lt;/DIV&gt;
&lt;DIV&gt;include/lasrcm.h(4): error #6279: A specification expression object must be a dummy argument, a COMMON block object, or an object accessible through host or use association  [MLSR]&lt;/DIV&gt;
&lt;DIV&gt;INTEGER LRLSR(MLSR),LTRLSR(MLSR),LTPAR(MLSR),LSPAR(MLSR),NLSR&lt;/DIV&gt;
&lt;DIV&gt;--------------------^&lt;/DIV&gt;
&lt;DIV&gt;include/lasrcm.h(4): error #6756: A COMMON block data object must not be an automatic object.  [LTRLSR]&lt;/DIV&gt;
&lt;DIV&gt;INTEGER LRLSR(MLSR),LTRLSR(MLSR),LTPAR(MLSR),LSPAR(MLSR),NLSR&lt;/DIV&gt;
&lt;DIV&gt;--------------------------^&lt;/DIV&gt;
&lt;DIV&gt;include/lasrcm.h(4): error #6591: An automatic object is invalid in a main program.  [LTRLSR]&lt;/DIV&gt;
&lt;DIV&gt;INTEGER LRLSR(MLSR),LTRLSR(MLSR),LTPAR(MLSR),LSPAR(MLSR),NLSR&lt;/DIV&gt;
&lt;DIV&gt;--------------------------^&lt;/DIV&gt;
&lt;DIV&gt;include/lasrcm.h(4): error #6756: A COMMON block data object must not be an automatic object.  [LTPAR]&lt;/DIV&gt;
&lt;DIV&gt;INTEGER LRLSR(MLSR),LTRLSR(MLSR),LTPAR(MLSR),LSPAR(MLSR),NLSR&lt;/DIV&gt;
&lt;DIV&gt;---------------------------------------^&lt;/DIV&gt;
&lt;DIV&gt;include/lasrcm.h(4): error #6591: An automatic object is invalid in a main program.  [LTPAR]&lt;/DIV&gt;
&lt;DIV&gt;INTEGER LRLSR(MLSR),LTRLSR(MLSR),LTPAR(MLSR),LSPAR(MLSR),NLSR&lt;/DIV&gt;
&lt;DIV&gt;---------------------------------------^&lt;/DIV&gt;
&lt;DIV&gt;include/lasrcm.h(4): error #6756: A COMMON block data object must not be an automatic object.  [LSPAR]&lt;/DIV&gt;
&lt;DIV&gt;INTEGER LRLSR(MLSR),LTRLSR(MLSR),LTPAR(MLSR),LSPAR(MLSR),NLSR&lt;/DIV&gt;
&lt;DIV&gt;---------------------------------------------------^&lt;/DIV&gt;
&lt;DIV&gt;include/lasrcm.h(4): error #6591: An automatic object is invalid in a main program.  [LSPAR]&lt;/DIV&gt;
&lt;DIV&gt;INTEGER LRLSR(MLSR),LTRLSR(MLSR),LTPAR(MLSR),LSPAR(MLSR),NLSR&lt;/DIV&gt;
&lt;DIV&gt;---------------------------------------------------^&lt;/DIV&gt;
&lt;DIV&gt;include/lasrcm.h(5): error #6756: A COMMON block data object must not be an automatic object.  [WLLSR]&lt;/DIV&gt;
&lt;DIV&gt;REAL*8 WLLSR(MLSR),OMGLSR(MLSR),PLSR(MLSR),TXYSLS(0:3,MLSR),&lt;/DIV&gt;
&lt;DIV&gt;-------------^&lt;/DIV&gt;
&lt;DIV&gt;include/lasrcm.h(5): error #6591: An automatic object is invalid in a main program.  [WLLSR]&lt;/DIV&gt;
&lt;DIV&gt;REAL*8 WLLSR(MLSR),OMGLSR(MLSR),PLSR(MLSR),TXYSLS(0:3,MLSR),&lt;/DIV&gt;
&lt;DIV&gt;-------------^&lt;/DIV&gt;
&lt;DIV&gt;include/lasrcm.h(5): error #6756: A COMMON block data object must not be an automatic object.  [OMGLSR]&lt;/DIV&gt;
&lt;DIV&gt;REAL*8 WLLSR(MLSR),OMGLSR(MLSR),PLSR(MLSR),TXYSLS(0:3,MLSR),&lt;/DIV&gt;
&lt;DIV&gt;-------------------------^&lt;/DIV&gt;
&lt;DIV&gt;include/lasrcm.h(5): error #6591: An automatic object is invalid in a main program.  [OMGLSR]&lt;/DIV&gt;
&lt;DIV&gt;REAL*8 WLLSR(MLSR),OMGLSR(MLSR),PLSR(MLSR),TXYSLS(0:3,MLSR),&lt;/DIV&gt;
&lt;DIV&gt;-------------------------^&lt;/DIV&gt;
&lt;DIV&gt;include/lasrcm.h(5): error #6756: A COMMON block data object must not be an automatic object.  [PLSR]&lt;/DIV&gt;
&lt;DIV&gt;REAL*8 WLLSR(MLSR),OMGLSR(MLSR),PLSR(MLSR),TXYSLS(0:3,MLSR),&lt;/DIV&gt;
&lt;DIV&gt;--------------------------------------^&lt;/DIV&gt;
&lt;DIV&gt;include/lasrcm.h(5): error #6591: An automatic object is invalid in a main program.  [PLSR]&lt;/DIV&gt;
&lt;DIV&gt;REAL*8 WLLSR(MLSR),OMGLSR(MLSR),PLSR(MLSR),TXYSLS(0:3,MLSR),&lt;/DIV&gt;
&lt;DIV&gt;--------------------------------------^&lt;/DIV&gt;
&lt;DIV&gt;include/lasrcm.h(5): error #6756: A COMMON block data object must not be an automatic object.  [TXYSLS]&lt;/DIV&gt;
&lt;DIV&gt;REAL*8 WLLSR(MLSR),OMGLSR(MLSR),PLSR(MLSR),TXYSLS(0:3,MLSR),&lt;/DIV&gt;
&lt;DIV&gt;-------------------------------------------------^&lt;/DIV&gt;
&lt;DIV&gt;include/lasrcm.h(5): error #6591: An automatic object is invalid in a main program.  [TXYSLS]&lt;/DIV&gt;
&lt;DIV&gt;REAL*8 WLLSR(MLSR),OMGLSR(MLSR),PLSR(MLSR),TXYSLS(0:3,MLSR),&lt;/DIV&gt;
&lt;DIV&gt;-------------------------------------------------^&lt;/DIV&gt;
&lt;DIV&gt;include/lasrcm.h(6): error #6756: A COMMON block data object must not be an automatic object.  [EVLSR]&lt;/DIV&gt;
&lt;DIV&gt;% EVLSR(3,3,MLSR),TPAR(3,MLSR),&lt;/DIV&gt;
&lt;DIV&gt;--------^&lt;/DIV&gt;
&lt;DIV&gt;include/lasrcm.h(6): error #6591: An automatic object is invalid in a main program.  [EVLSR]&lt;/DIV&gt;
&lt;DIV&gt;% EVLSR(3,3,MLSR),TPAR(3,MLSR),&lt;/DIV&gt;
&lt;DIV&gt;--------^&lt;/DIV&gt;
&lt;DIV&gt;include/lasrcm.h(6): error #6756: A COMMON block data object must not be an automatic object.  [TPAR]&lt;/DIV&gt;
&lt;DIV&gt;% EVLSR(3,3,MLSR),TPAR(3,MLSR),&lt;/DIV&gt;
&lt;DIV&gt;------------------------^&lt;/DIV&gt;
&lt;DIV&gt;include/lasrcm.h(6): error #6591: An automatic object is invalid in a main program.  [TPAR]&lt;/DIV&gt;
&lt;DIV&gt;% EVLSR(3,3,MLSR),TPAR(3,MLSR),&lt;/DIV&gt;
&lt;DIV&gt;------------------------^&lt;/DIV&gt;
&lt;DIV&gt;include/lasrcm.h(7): error #6756: A COMMON block data object must not be an automatic object.  [SPAR]&lt;/DIV&gt;
&lt;DIV&gt;% SPAR(6,MLSR),TDL(2,MLSR),ZETAMAX(MLSR),&lt;/DIV&gt;
&lt;DIV&gt;--------^&lt;/DIV&gt;
&lt;DIV&gt;include/lasrcm.h(7): error #6591: An automatic object is invalid in a main program.  [SPAR]&lt;/DIV&gt;
&lt;DIV&gt;% SPAR(6,MLSR),TDL(2,MLSR),ZETAMAX(MLSR),&lt;/DIV&gt;
&lt;DIV&gt;--------^&lt;/DIV&gt;
&lt;DIV&gt;include/lasrcm.h(7): error #6756: A COMMON block data object must not be an automatic object.  [TDL]&lt;/DIV&gt;
&lt;DIV&gt;% SPAR(6,MLSR),TDL(2,MLSR),ZETAMAX(MLSR),&lt;/DIV&gt;
&lt;DIV&gt;---------------------^&lt;/DIV&gt;
&lt;DIV&gt;include/lasrcm.h(7): error #6591: An automatic object is invalid in a main program.  [TDL]&lt;/DIV&gt;
&lt;DIV&gt;% SPAR(6,MLSR),TDL(2,MLSR),ZETAMAX(MLSR),&lt;/DIV&gt;
&lt;DIV&gt;---------------------^&lt;/DIV&gt;
&lt;DIV&gt;include/lasrcm.h(7): error #6756: A COMMON block data object must not be an automatic object.  [ZETAMAX]&lt;/DIV&gt;
&lt;DIV&gt;% SPAR(6,MLSR),TDL(2,MLSR),ZETAMAX(MLSR),&lt;/DIV&gt;
&lt;DIV&gt;---------------------------------^&lt;/DIV&gt;
&lt;DIV&gt;include/lasrcm.h(7): error #6591: An automatic object is invalid in a main program.  [ZETAMAX]&lt;/DIV&gt;
&lt;DIV&gt;% SPAR(6,MLSR),TDL(2,MLSR),ZETAMAX(MLSR),&lt;/DIV&gt;
&lt;DIV&gt;---------------------------------^&lt;/DIV&gt;
&lt;DIV&gt;(367): catastrophic error: Too many errors, exiting&lt;/DIV&gt;
&lt;DIV&gt;compilation aborted for aamain.f (code 1)&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV&gt;It is my first experience and I can not understand what's wrong, why it can't find the module? How I can check that INCLUDE path is correct?&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;Thank you very much for help.&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Wed, 07 Oct 2009 22:06:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Problem-with-compilation/m-p/759929#M15416</guid>
      <dc:creator>kseagull</dc:creator>
      <dc:date>2009-10-07T22:06:40Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with compilation</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Problem-with-compilation/m-p/759930#M15417</link>
      <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
&lt;P&gt;&lt;BR /&gt;You should add option:&lt;BR /&gt;&lt;BR /&gt;-module /src/module&lt;/P&gt;
&lt;P&gt;This compiler option tells the compiler where to find your compiled .mod file&lt;BR /&gt;&lt;BR /&gt;ron&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Oct 2009 22:35:28 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Problem-with-compilation/m-p/759930#M15417</guid>
      <dc:creator>Ron_Green</dc:creator>
      <dc:date>2009-10-07T22:35:28Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with compilation</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Problem-with-compilation/m-p/759931#M15418</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/160574"&gt;Ronald W. Green (Intel)&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;
&lt;P&gt;&lt;BR /&gt;You should add option:&lt;BR /&gt;&lt;BR /&gt;-module /src/module&lt;/P&gt;
&lt;P&gt;This compiler option tells the compiler where to find your compiled .mod file&lt;BR /&gt;&lt;BR /&gt;ron&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
Thank you very much.
&lt;DIV&gt;Now, Everything is compiled. (I used ifort -c -module /src/module *.f)
&lt;DIV&gt;Following the instruction i should "link all", what does it mean and how I can do it? Should I link all files with/and modules as well?&lt;/DIV&gt;
&lt;DIV&gt;Thank you in advance.&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Wed, 07 Oct 2009 23:14:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Problem-with-compilation/m-p/759931#M15418</guid>
      <dc:creator>kseagull</dc:creator>
      <dc:date>2009-10-07T23:14:16Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with compilation</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Problem-with-compilation/m-p/759932#M15419</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/446527"&gt;kseagull&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;
&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
Thank you very much.
&lt;DIV&gt;Now, Everything is compiled. (I used ifort -c -module /src/module *.f)
&lt;DIV&gt;Following the instruction i should "link all", what does it mean and how I can do it? Should I link all files with/and modules as well?&lt;/DIV&gt;
&lt;DIV&gt;Thank you in advance.&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
The ifort command can:&lt;BR /&gt;1) just compile the code if the -c option is used (like you do above). -c says "compile ONLY, no link"&lt;BR /&gt;2) compile and link the code: ifort -module /src/module *.f&lt;BR /&gt;3) link the code:  ifort *.o&lt;BR /&gt;&lt;BR /&gt;You can add the option -o to change the name of the executable file. Right now your code creates a file "a.out" that can be run.&lt;BR /&gt;&lt;BR /&gt;If you want to name the executable program something else, let's say "fred.exe" you could use this command:&lt;BR /&gt;&lt;BR /&gt;ifort -module /src/module *.f -o fred.exe&lt;BR /&gt;&lt;BR /&gt;then run fred.exe:&lt;BR /&gt;&lt;BR /&gt;./fred.exe&lt;BR /&gt;</description>
      <pubDate>Wed, 07 Oct 2009 23:29:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Problem-with-compilation/m-p/759932#M15419</guid>
      <dc:creator>Ron_Green</dc:creator>
      <dc:date>2009-10-07T23:29:29Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with compilation</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Problem-with-compilation/m-p/759933#M15420</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/160574"&gt;Ronald W. Green (Intel)&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;
&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
The ifort command can:&lt;BR /&gt;1) just compile the code if the -c option is used (like you do above). -c says "compile ONLY, no link"&lt;BR /&gt;2) compile and link the code: ifort -module /src/module *.f&lt;BR /&gt;3) link the code:  ifort *.o&lt;BR /&gt;&lt;BR /&gt;You can add the option -o to change the name of the executable file. Right now your code creates a file "a.out" that can be run.&lt;BR /&gt;&lt;BR /&gt;If you want to name the executable program something else, let's say "fred.exe" you could use this command:&lt;BR /&gt;&lt;BR /&gt;ifort -module /src/module *.f -o fred.exe&lt;BR /&gt;&lt;BR /&gt;then run fred.exe:&lt;BR /&gt;&lt;BR /&gt;./fred.exe&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
Thanks a lot.&lt;BR /&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;I appreciate greatly your patience and help.&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 08 Oct 2009 00:05:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Problem-with-compilation/m-p/759933#M15420</guid>
      <dc:creator>kseagull</dc:creator>
      <dc:date>2009-10-08T00:05:13Z</dc:date>
    </item>
  </channel>
</rss>

