<?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 how define make file macros for ifort in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/how-define-make-file-macros-for-ifort/m-p/751924#M8089</link>
    <description>The customizations for your compiler, OS, etc. are to be made in the file Makefile.machine. This file is used by an "include" directive in the makefile. As distributed, the options in the file are appropriate for the NAG compiler, not IFort.&lt;BR /&gt;</description>
    <pubDate>Fri, 07 Jan 2011 13:18:52 GMT</pubDate>
    <dc:creator>mecej4</dc:creator>
    <dc:date>2011-01-07T13:18:52Z</dc:date>
    <item>
      <title>how define make file macros for ifort</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/how-define-make-file-macros-for-ifort/m-p/751919#M8084</link>
      <description>Hi Dears&lt;BR /&gt;&lt;BR /&gt;I have problem with define this make file for ifort 11.1 prof , I have dell labtop dual core ispiron 6400, fedora os.&lt;BR /&gt;&lt;BR /&gt;plesae say to me how define variable :&lt;BR /&gt;&lt;BR /&gt;------------------------------------------------------------------&lt;BR /&gt;#####################################################&lt;BR /&gt;#&lt;BR /&gt;# Makefile.generic : Compiler options for generic computers&lt;BR /&gt;# The present file is invoked by Makefile&lt;BR /&gt;#&lt;BR /&gt;#####################################################&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# Compiler and flag for f90&lt;BR /&gt;F90=FC&lt;BR /&gt;FLAGS90= -c -mips4 -O3 -INLINE&lt;BR /&gt;&lt;BR /&gt;# Preprocessor and flags&lt;BR /&gt;CPP=FC -E -cpp -macro_expand&lt;BR /&gt;MACHINE_CPFLAGS=&lt;BR /&gt;&lt;BR /&gt;# Additional platform specific options for preprocessor (syntax: -Doption)&lt;BR /&gt;MACHINE_CPFLAGS=&lt;BR /&gt;&lt;BR /&gt;# Extra modules for specific platform&lt;BR /&gt;EXTRAS= sys_generic.o timer.o&lt;BR /&gt;&lt;BR /&gt;--------------------------------------------------&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;PS :&lt;BR /&gt;&lt;BR /&gt;if I change "f90" with "ifort" but I get this error:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;You just type make: let us check if target variable is set..&lt;BR /&gt;FC -E -cpp -macro_expand -DSERIAL -DDEBUG -DSTRESS -DNOENEAT -DPUBFFT -DSPLINE -DCOMM_LAYER=SERIAL_layer constant_mod.F90 | sed '/^#/D' &amp;gt; constant_mod.tmp.f90&lt;BR /&gt;/bin/sh: FC: command not found&lt;BR /&gt;c -mips4 -O3 -INLINE constant_mod.tmp.f90&lt;BR /&gt;make: c: Command not found&lt;BR /&gt;make: [constant_mod.o] Error 127 (ignored)&lt;BR /&gt;mv constant_mod.tmp.o constant_mod.o&lt;BR /&gt;mv: cannot stat `constant_mod.tmp.o': No such file or directory&lt;BR /&gt;make: *** [constant_mod.o] Error 1&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;thanks for attention&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 07 Jan 2011 08:00:37 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/how-define-make-file-macros-for-ifort/m-p/751919#M8084</guid>
      <dc:creator>hamid_mosaddeghi</dc:creator>
      <dc:date>2011-01-07T08:00:37Z</dc:date>
    </item>
    <item>
      <title>how define make file macros for ifort</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/how-define-make-file-macros-for-ifort/m-p/751920#M8085</link>
      <description>You should not need to edit the makefile. An alternative is to add "F90=ifort" to the 'make' command line. For example, assuming there's an "all" target, the command line might look like this: &lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;make all F90=ifort&lt;BR /&gt;&lt;/STRONG&gt;&lt;BR /&gt;If you want to edit the makefile , then you changethe line&lt;BR /&gt;&lt;BR /&gt;&lt;P&gt;&lt;STRONG&gt;F90=FC&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;to be &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;F90=ifort&lt;BR /&gt;&lt;/STRONG&gt;&lt;BR /&gt;That expands $(F90) uses in the makefile with &lt;STRONG&gt;ifort&lt;/STRONG&gt;.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jan 2011 08:58:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/how-define-make-file-macros-for-ifort/m-p/751920#M8085</guid>
      <dc:creator>Kevin_D_Intel</dc:creator>
      <dc:date>2011-01-07T08:58:20Z</dc:date>
    </item>
    <item>
      <title>how define make file macros for ifort</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/how-define-make-file-macros-for-ifort/m-p/751921#M8086</link>
      <description>Hi Dear Davis&lt;BR /&gt;&lt;BR /&gt;after type "make all F90=ifort" iget this error, I put tail of error:&lt;BR /&gt;&lt;BR /&gt;-----------------------------------&lt;BR /&gt;&lt;BR /&gt;mv srfco3_sw_prot.tmp.o srfco3_sw_prot.o&lt;BR /&gt;f90 -E -cpp -macro_expand -DSERIAL -DDEBUG -DSTRESS -DNOENEAT -DPUBFFT -DSPLINE -DCOMM_LAYER=SERIAL_layer srfco3_prot.F90 | sed '/^#/D' &amp;gt; srfco3_prot.tmp.f90&lt;BR /&gt;/bin/sh: f90: command not found&lt;BR /&gt;ifort -c -mips4 -O3 -INLINE srfco3_prot.tmp.f90&lt;BR /&gt;ifort: command line warning #10159: invalid argument for option '-m'&lt;BR /&gt;: remark #5133: The input stream is empty&lt;BR /&gt;&lt;BR /&gt;mv srfco3_prot.tmp.o srfco3_prot.o&lt;BR /&gt;cc -c -DSERIAL -DDEBUG -DSTRESS -DNOENEAT -DPUBFFT -DSPLINE -DCOMM_LAYER=SERIAL_layer sys_generic.c&lt;BR /&gt;cc -c -DSERIAL -DDEBUG -DSTRESS -DNOENEAT -DPUBFFT -DSPLINE -DCOMM_LAYER=SERIAL_layer timer.c&lt;BR /&gt;f77 dblstr.f &lt;BR /&gt;make: execvp: f77: Permission denied ----------&amp;gt; as root make: f77: Command not found&lt;BR /&gt;make: *** [dblstr.o] Error 127&lt;BR /&gt;&lt;BR /&gt;----------------------------------------------&lt;BR /&gt;&lt;BR /&gt;what's your idea?</description>
      <pubDate>Fri, 07 Jan 2011 10:36:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/how-define-make-file-macros-for-ifort/m-p/751921#M8086</guid>
      <dc:creator>hamid_mosaddeghi</dc:creator>
      <dc:date>2011-01-07T10:36:10Z</dc:date>
    </item>
    <item>
      <title>how define make file macros for ifort</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/how-define-make-file-macros-for-ifort/m-p/751922#M8087</link>
      <description>&lt;P&gt;There's a few issues there. FLAGS90 does not contain valid ifort options. The make tried to execute 'f77' which isn't available but I assume ifort would be wanted for that too and CPP appears to have substituted FC with f90 somehow. I need to see the makefile.&lt;BR /&gt;&lt;BR /&gt;Please attach the makefile to this thread so I can better advise on using ifort.&lt;BR /&gt;&lt;BR /&gt;See&lt;A target="_blank" href="http://software.intel.com/en-us/articles/how-to-attach-file-insert-code-into-forum-post/"&gt;Attaching or Including Files in a Post &lt;/A&gt;for instructions.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jan 2011 10:58:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/how-define-make-file-macros-for-ifort/m-p/751922#M8087</guid>
      <dc:creator>Kevin_D_Intel</dc:creator>
      <dc:date>2011-01-07T10:58:46Z</dc:date>
    </item>
    <item>
      <title>how define make file macros for ifort</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/how-define-make-file-macros-for-ifort/m-p/751923#M8088</link>
      <description>Hi &lt;BR /&gt;&lt;BR /&gt;I attach code that be compile&lt;BR /&gt;&lt;BR /&gt;you see source folder, I need use Makefile.generic for compile (i think other makefile don't work for me ).&lt;BR /&gt;&lt;BR /&gt;thanks for attention.&lt;BR /&gt;</description>
      <pubDate>Fri, 07 Jan 2011 11:55:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/how-define-make-file-macros-for-ifort/m-p/751923#M8088</guid>
      <dc:creator>hamid_mosaddeghi</dc:creator>
      <dc:date>2011-01-07T11:55:33Z</dc:date>
    </item>
    <item>
      <title>how define make file macros for ifort</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/how-define-make-file-macros-for-ifort/m-p/751924#M8089</link>
      <description>The customizations for your compiler, OS, etc. are to be made in the file Makefile.machine. This file is used by an "include" directive in the makefile. As distributed, the options in the file are appropriate for the NAG compiler, not IFort.&lt;BR /&gt;</description>
      <pubDate>Fri, 07 Jan 2011 13:18:52 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/how-define-make-file-macros-for-ifort/m-p/751924#M8089</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2011-01-07T13:18:52Z</dc:date>
    </item>
    <item>
      <title>how define make file macros for ifort</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/how-define-make-file-macros-for-ifort/m-p/751925#M8090</link>
      <description>&lt;P&gt;Ok. First, edit &lt;STRONG&gt;Makefile&lt;/STRONG&gt;and change line 92 to add "intel" as is shown below.&lt;BR /&gt;&lt;BR /&gt;TARGET= &lt;STRONG&gt;intel&lt;/STRONG&gt;pgi pgi_mpi t3e sp3 o2k generic compaq nag absoft qsw qsw_mpi&lt;BR /&gt;&lt;BR /&gt;Next, download and place a copy of the attached &lt;STRONG&gt;Makefile.intel &lt;/STRONG&gt;into the "dlprotein-2.1r2/source" directory and then execute the following commands:&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;make intel&lt;BR /&gt;make&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;That should produce an executable for you using ifort and the GNU C compiler (cc).&lt;BR /&gt;&lt;BR /&gt;Just to add, cpp was found at /usr/bin/cpp on my system. It may be under /usr/lib/ccp. This app has apparently never been ported to ifort, soyou or the providers will have to judge the correctness of the results.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jan 2011 13:23:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/how-define-make-file-macros-for-ifort/m-p/751925#M8090</guid>
      <dc:creator>Kevin_D_Intel</dc:creator>
      <dc:date>2011-01-07T13:23:20Z</dc:date>
    </item>
    <item>
      <title>how define make file macros for ifort</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/how-define-make-file-macros-for-ifort/m-p/751926#M8091</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;I very glad, because with your method I am able to compile it &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;special thanks</description>
      <pubDate>Fri, 07 Jan 2011 14:38:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/how-define-make-file-macros-for-ifort/m-p/751926#M8091</guid>
      <dc:creator>hamid_mosaddeghi</dc:creator>
      <dc:date>2011-01-07T14:38:21Z</dc:date>
    </item>
  </channel>
</rss>

