<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://www.wiki.mohid.com/index.php?action=history&amp;feed=atom&amp;title=Compiling_with_IFC_11_Delete</id>
		<title>Compiling with IFC 11 Delete - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://www.wiki.mohid.com/index.php?action=history&amp;feed=atom&amp;title=Compiling_with_IFC_11_Delete"/>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Compiling_with_IFC_11_Delete&amp;action=history"/>
		<updated>2026-04-04T20:04:06Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.28.0</generator>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=Compiling_with_IFC_11_Delete&amp;diff=2599&amp;oldid=prev</id>
		<title>Davidbrito: New page: Please follow these instructions step by step and until the end:  == Creating a new project == #Make sure you have installed in your computer Microsoft Visual Studio 2008 and Intel Fortran...</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Compiling_with_IFC_11_Delete&amp;diff=2599&amp;oldid=prev"/>
				<updated>2009-11-06T11:13:00Z</updated>
		
		<summary type="html">&lt;p&gt;New page: Please follow these instructions step by step and until the end:  == Creating a new project == #Make sure you have installed in your computer Microsoft Visual Studio 2008 and Intel Fortran...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Please follow these instructions step by step and until the end:&lt;br /&gt;
&lt;br /&gt;
== Creating a new project ==&lt;br /&gt;
#Make sure you have installed in your computer Microsoft Visual Studio 2008 and Intel Fortran Compiler 11.0. If you don’t have both installed, please install them.&lt;br /&gt;
#Open Microsoft Visual Studio 2008. &lt;br /&gt;
#Select '''&amp;quot;New Project&amp;quot;'''. &lt;br /&gt;
#Select Intel® Visual FORTRAN Projects and '''&amp;quot;Console Application&amp;quot;''' . Select an empty project and name the project, for example, &amp;quot;MohidWater&amp;quot;. Select the location and Click OK.&lt;br /&gt;
#An empty project is created. Get all FORTRAN code files from SourceSafe and add them to the project. Right-click in the Source Files folder (in the project tree), and select &amp;quot;Add...Add Existing Item...&amp;quot;. Add all the files containing the [[modules]].&lt;br /&gt;
#Get all the libraries needed from source safe in Libs\IntelFortran11.x (by F®ank). Note that the Intel compiler use different HDF5 libraries than the Compaq compiler.&lt;br /&gt;
&lt;br /&gt;
== Release and Debug settings ==&lt;br /&gt;
Please follow the steps below and set them EXACTLY as they are presented. Do not make additional changes in the settings unless you’re testing some optimizations. Note that settings under &amp;quot;Debug&amp;quot; and &amp;quot;Release&amp;quot; configurations are slightly different. You can select &amp;quot;Release&amp;quot; configuration and apply this settings first and then do the same for &amp;quot;Debug&amp;quot; configuration or select &amp;quot;All configurations&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
#Now select &amp;quot;Project...Properties&amp;quot; and start editing your compilation settings.&lt;br /&gt;
#In &amp;quot;Fortran...General&amp;quot;, set &amp;quot;Supress Startup Banner&amp;quot; to '''&amp;quot;Yes&amp;quot;''', define the path to the folder where the HDF5 libraries will be placed in the &amp;quot;Additional Include Directories&amp;quot; text box (local folder of Libs\IntelFortran11.x\HDF_1.6.8\Include from source safe). Also set &amp;quot;Optimization&amp;quot; to '''&amp;quot;Maximize Speed plus Higher Level Optimizations&amp;quot;'''.&lt;br /&gt;
#In &amp;quot;Fortran...Optimization&amp;quot; define &amp;quot;I/O Buffering&amp;quot; to '''Yes'''.&lt;br /&gt;
#In &amp;quot;Fortran...Preprocessor&amp;quot; set &amp;quot;Preprocessor Source File&amp;quot; to '''Yes''' and define again, in the Additional Include Directories text box, the path to the folder where the HDF5 libraries will be placed (local folder of Libs\IntelFortran11.x\HDF_1.6.8\Include from source safe).&lt;br /&gt;
#In &amp;quot;Fortran...Diagnostics&amp;quot;, set &amp;quot;Warn For Non-Standard Fortran&amp;quot; to '''&amp;quot;Fortran 95&amp;quot;'''. Also, set the &amp;quot;Warn For Undeclared Symbols&amp;quot; to '''&amp;quot;Yes&amp;quot;''', &amp;quot;Warn For Unused Variables&amp;quot; to '''&amp;quot;Yes&amp;quot;''' and &amp;quot;Warn When Truncating Source Code Line&amp;quot; to '''&amp;quot;Yes&amp;quot;'''.&lt;br /&gt;
#In &amp;quot;Linker...General&amp;quot;, set &amp;quot;Enable Incremental Link&amp;quot; to '''&amp;quot;No&amp;quot;''' and &amp;quot;Supress Startup Banner&amp;quot; to '''&amp;quot;Yes&amp;quot;'''. In the Additional Include Directories text box, set the path to i) the folder where the HDF5 libraries will be placed (local folder of Libs\IntelFortran11.x\HDF_1.6.8\Lib) ii) the folder where the SZlib libraries will be placed (local folder of Libs\IntelFortran11.x\SZlib_2.1\dll) and iii) the folder where the Zlib libraries will be placed (local folder of Libs\IntelFortran11.x\Zlib_1.2\dll). Note that the 3 paths are separated by ''';'''&lt;br /&gt;
#In &amp;quot;Linker.. Input&amp;quot;, write down the names of the libraries in the &amp;quot;Additional Dependencies&amp;quot; text box. The names for the 2008 Visual Studio integration are: &lt;br /&gt;
 '''hdf5.lib  hdf5_fortran.lib hdf5_f90cstub.lib zlib1.lib szlibdll.lib'''&lt;br /&gt;
&lt;br /&gt;
== Specific Debug settings ==&lt;br /&gt;
Select the &amp;quot;Debug&amp;quot; configuration and change the following settings groups:&lt;br /&gt;
#In &amp;quot;Fortran...General&amp;quot;, ser &amp;quot;Debug Information Format&amp;quot; to '''&amp;quot;Full&amp;quot;''' and &amp;quot;Optimization&amp;quot; to '''&amp;quot;Disable&amp;quot;'''.&lt;br /&gt;
#In &amp;quot;Fortran...Optimization&amp;quot;, set &amp;quot;Optimization&amp;quot; to '''&amp;quot;Disable&amp;quot;'''.&lt;br /&gt;
#In &amp;quot;Linker.. Input&amp;quot;, in &amp;quot;Ignore Additional Libraries&amp;quot; write down '''LIBCMT.lib'''&lt;br /&gt;
&lt;br /&gt;
== Build Solution ==&lt;br /&gt;
#Select &amp;quot;Build...Build Solution&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Optional compilation settings ==&lt;br /&gt;
#To perform optional compilation, just add the compilation pre-processor keywords in &amp;quot;Properties...Fortran...PreProcessor&amp;quot;, in the &amp;quot;Preprocessor Definitions&amp;quot; text box.&lt;br /&gt;
&lt;br /&gt;
=== Exclude modules ===&lt;br /&gt;
Some modules can be completely excluded from compilation. If your simulations do not use these modules you can use this pre-processor keywords.&lt;br /&gt;
&lt;br /&gt;
 '''_LAGRANGIAN_'''	   excludes Modules Lagrangian + Jet + Oil&lt;br /&gt;
 '''_AIR_'''	           excludes Modules InterfaceWaterAir + Atmosphere&lt;br /&gt;
 '''_WAVES_'''	           excludes Module Waves&lt;br /&gt;
 '''_SEDIMENT_'''	   excludes Modules SedimentProperties + Consolidation&lt;br /&gt;
&lt;br /&gt;
=== Other options ===&lt;br /&gt;
Other keywords can also be used.&lt;br /&gt;
&lt;br /&gt;
 '''_USE_MPI'''           includes MPI code&lt;br /&gt;
 '''_SHORT_LINE_LENGTH''' sets line_length = 64  (default line_length is 256)&lt;br /&gt;
 '''_LONG_LINE_LENGTH'''  sets line_length = 1024(default line_length is 256)&lt;br /&gt;
 '''_GUI_'''              includes GUI code&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Programming]]&lt;br /&gt;
[[Category:Compiling]]&lt;/div&gt;</summary>
		<author><name>Davidbrito</name></author>	</entry>

	</feed>
<script>
  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
  ga('create', 'UA-56589921-5', 'auto');
  ga('send', 'pageview');
</script>