<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Tunç Bahçecioğlu &#187; visual studio</title>
	<atom:link href="http://www.tuncbahcecioglu.com/posts/tag/visual-studio/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.tuncbahcecioglu.com</link>
	<description>carpe omnium</description>
	<lastBuildDate>Tue, 26 Oct 2010 13:43:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>VS2010 good (sort of), vs2005 bad</title>
		<link>http://www.tuncbahcecioglu.com/posts/vs2010-good-sort-of-vs2005-bad/</link>
		<comments>http://www.tuncbahcecioglu.com/posts/vs2010-good-sort-of-vs2005-bad/#comments</comments>
		<pubDate>Tue, 26 Oct 2010 13:43:06 +0000</pubDate>
		<dc:creator>tunc</dc:creator>
				<category><![CDATA[coding]]></category>
		<category><![CDATA[2005]]></category>
		<category><![CDATA[2010]]></category>
		<category><![CDATA[Eigen]]></category>
		<category><![CDATA[OpenMP]]></category>
		<category><![CDATA[SSE]]></category>
		<category><![CDATA[SSE2]]></category>
		<category><![CDATA[visual studio]]></category>

		<guid isPermaLink="false">http://www.tuncbahcecioglu.com/posts/vs2010-good-sort-of-vs2005-bad/</guid>
		<description><![CDATA[I multiplied two 1000&#215;1000 float matrices using the Eigen library on VS2005 and VS2010 with different optimizations, here are the results: &#160; VS2005 (s) VS2010 () none 2.873 2.812 OpenMP 1.759 1.671 SSE 3.258 2.911 SSE2 5.057 0.224 OpenMP + SSE 1.807 1.598 OPENMP + SSE2 2.774 0.134 SO, OpenMP support of Eigen works well. [...]]]></description>
			<content:encoded><![CDATA[<p>I multiplied two 1000&#215;1000 float matrices using the Eigen library on VS2005 and VS2010 with different optimizations, here are the results:</p>
<table border="0" cellspacing="0" cellpadding="2" width="400">
<tbody>
<tr>
<td valign="top" width="133">&nbsp;</td>
<td valign="top" width="133">VS2005 (s)</td>
<td valign="top" width="133">VS2010 ()</td>
</tr>
<tr>
<td valign="top" width="133">none</td>
<td valign="top" width="133">2.873</td>
<td valign="top" width="133">2.812</td>
</tr>
<tr>
<td valign="top" width="133">OpenMP</td>
<td valign="top" width="133">1.759</td>
<td valign="top" width="133">1.671</td>
</tr>
<tr>
<td valign="top" width="133">SSE</td>
<td valign="top" width="133">3.258</td>
<td valign="top" width="133">2.911</td>
</tr>
<tr>
<td valign="top" width="133">SSE2</td>
<td valign="top" width="133">5.057</td>
<td valign="top" width="133">0.224</td>
</tr>
<tr>
<td valign="top" width="133">OpenMP + SSE</td>
<td valign="top" width="133">1.807</td>
<td valign="top" width="133">1.598</td>
</tr>
<tr>
<td valign="top" width="133">OPENMP + SSE2</td>
<td valign="top" width="133">2.774</td>
<td valign="top" width="133">0.134</td>
</tr>
</tbody>
</table>
<p><a href="http://www.tuncbahcecioglu.com/pictures/VS-2010-good-sort-of-vs-2005-bad_E814/image.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.tuncbahcecioglu.com/pictures/VS-2010-good-sort-of-vs-2005-bad_E814/image_thumb.png" width="429" height="266" /></a></p>
<h3>SO,</h3>
<ul>
<li>OpenMP support of Eigen works well. </li>
<li>Shouldn’t SSE work for floats ??? </li>
<li>VS2005 is horrible with vectorization optimizations. </li>
<li>OPENMP + SSE2 + VS2010 with Eigen kicks ass!!! </li>
</ul>
<ul class="related_post"><li><a href="http://www.tuncbahcecioglu.com/posts/mpi-debugging-with-visual-studio/" title="MPI Debugging with Visual Studio">MPI Debugging with Visual Studio</a></li><li><a href="http://www.tuncbahcecioglu.com/posts/installing-boost-for-visual-studio/" title="Installing boost for visual studio">Installing boost for visual studio</a></li><li><a href="http://www.tuncbahcecioglu.com/posts/what-i-need-from-delphi-2010/" title="what i need from delphi 2010">what i need from delphi 2010</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.tuncbahcecioglu.com/posts/vs2010-good-sort-of-vs2005-bad/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MPI Debugging with Visual Studio</title>
		<link>http://www.tuncbahcecioglu.com/posts/mpi-debugging-with-visual-studio/</link>
		<comments>http://www.tuncbahcecioglu.com/posts/mpi-debugging-with-visual-studio/#comments</comments>
		<pubDate>Mon, 17 Aug 2009 15:16:40 +0000</pubDate>
		<dc:creator>tunc</dc:creator>
				<category><![CDATA[coding]]></category>
		<category><![CDATA[parallel]]></category>
		<category><![CDATA[debugging]]></category>
		<category><![CDATA[mpi]]></category>
		<category><![CDATA[mpishim]]></category>
		<category><![CDATA[visual studio]]></category>

		<guid isPermaLink="false">http://www.tuncbahcecioglu.com/posts/mpi-debugging-with-visual-studio/</guid>
		<description><![CDATA[Quick article about debugging your parallel applications with Visual Studio Open your project properties, and go to Configuration Properties-&#62;Debugging &#160; All we have to do is to fill 3 textboxes: MPIRun Command is the path + filename of your mpirun applcation(usually mpiexec.exe or mpirun.exe), In my case it is &#34;c:\Program Files\MPICH2\bin\mpiexec.exe&#34; (do not forget the [...]]]></description>
			<content:encoded><![CDATA[<p>Quick article about debugging your parallel applications with Visual Studio</p>
<p>Open your project properties, and go to Configuration Properties-&gt;Debugging</p>
<p>&#160;<a href="http://www.tuncbahcecioglu.com/wp-content/uploads/2009/08/mpi_debugging.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="mpi_debugging" border="0" alt="mpi_debugging" src="http://www.tuncbahcecioglu.com/wp-content/uploads/2009/08/mpi_debugging_thumb.jpg" width="485" height="339" /></a></p>
<p> <span id="more-68"></span>
<p>All we have to do is to fill 3 textboxes:</p>
<ol>
<li><strong>MPIRun Command</strong> is the path + filename of your mpirun applcation(usually mpiexec.exe or mpirun.exe), In my case it is <em><u>&quot;c:\Program Files\MPICH2\bin\mpiexec.exe&quot;</u></em> (do not forget the “”). </li>
<li><strong>MPIRun Arguments</strong> are the arguments we want to pass to the mPIRun command, at very least we have to tell mpi the number processes to spawn, so we use <u><em>–n 2</em> </u>for 2 processes (change 2 as you wish). </li>
<li><strong>MPIShim Loacation </strong>is the path + filename of your mpishim.exe file. Mpishim.exe is diffrent for every release of visual studio and platform you have. For example its location for Visual Studio 2005 for 32bit platforms should be <u><em>“C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\Remote Debugger\x86”</em></u> </li>
</ol>
<p><em><u><a href="http://www.tuncbahcecioglu.com/wp-content/uploads/2009/08/mpi_debugging_filled.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="mpi_debugging_filled" border="0" alt="mpi_debugging_filled" src="http://www.tuncbahcecioglu.com/wp-content/uploads/2009/08/mpi_debugging_filled_thumb.jpg" width="500" height="347" /></a></u></em></p>
<ul class="related_post"><li><a href="http://www.tuncbahcecioglu.com/posts/optimum-design-of-high-rise-steel-buildings-using-an-evolution-strategy-integrated-parallel-algorithm/" title="Optimum Design of High-Rise Steel Buildings using an Evolution Strategy Integrated Parallel Algorithm">Optimum Design of High-Rise Steel Buildings using an Evolution Strategy Integrated Parallel Algorithm</a></li><li><a href="http://www.tuncbahcecioglu.com/posts/delphi-and-mpi-closer-look-2/" title="delphi and mpi, closer look 2">delphi and mpi, closer look 2</a></li><li><a href="http://www.tuncbahcecioglu.com/posts/delphi-and-mpi-closer-look-1/" title="DELPHI and MPI, closer look 1">DELPHI and MPI, closer look 1</a></li><li><a href="http://www.tuncbahcecioglu.com/posts/a-comparative-study-on-two-different-direct-parallel-solution-strategies-for-large-scale-problems/" title="A Comparative Study on Two Different Direct Parallel Solution Strategies for Large-Scale Problems">A Comparative Study on Two Different Direct Parallel Solution Strategies for Large-Scale Problems</a></li><li><a href="http://www.tuncbahcecioglu.com/posts/send-stdstring-with-mpi/" title="send std::string with mpi">send std::string with mpi</a></li><li><a href="http://www.tuncbahcecioglu.com/posts/delphi-and-mpi-in-4-steps/" title="Delphi and mpi in 4 steps">Delphi and mpi in 4 steps</a></li><li><a href="http://www.tuncbahcecioglu.com/posts/vs2010-good-sort-of-vs2005-bad/" title="VS2010 good (sort of), vs2005 bad">VS2010 good (sort of), vs2005 bad</a></li><li><a href="http://www.tuncbahcecioglu.com/posts/installing-boost-for-visual-studio/" title="Installing boost for visual studio">Installing boost for visual studio</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.tuncbahcecioglu.com/posts/mpi-debugging-with-visual-studio/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing boost for visual studio</title>
		<link>http://www.tuncbahcecioglu.com/posts/installing-boost-for-visual-studio/</link>
		<comments>http://www.tuncbahcecioglu.com/posts/installing-boost-for-visual-studio/#comments</comments>
		<pubDate>Mon, 03 Aug 2009 00:06:01 +0000</pubDate>
		<dc:creator>tunc</dc:creator>
				<category><![CDATA[coding]]></category>
		<category><![CDATA[boost]]></category>
		<category><![CDATA[c++]]></category>
		<category><![CDATA[compile]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[visual studio]]></category>

		<guid isPermaLink="false">http://www.tuncbahcecioglu.com/posts/installing-boost-for-visual-studio/</guid>
		<description><![CDATA[Boost is a collection of free libraries for c++, kind of a Swiss knife for the c++ geek. Most of boost is actually header only and don&#8217;t need any installation. To use the small dark part of boost you need to install them, well built them, here is how: Short, Softcore Method: Go to BoostPro [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.boost.org/"><span style="text-decoration: underline;"><span style="color: #0066cc;">Boost </span></span></a>is a collection of free libraries for c++, kind of a Swiss knife for the c++ geek.<br />
Most of boost is actually header only and don&#8217;t need any installation. To use the small dark part of boost<br />
you need to install them, well built them, here is how:</p>
<h1>Short, Softcore Method:</h1>
<p>Go to <a href="http://www.boostpro.com/download"><span style="text-decoration: underline;"><span style="color: #0066cc;">BoostPro Computing</span></span></a> and download a web installer. Follow the installer instructions.<br />
It needs a free registration, and it does not contain some libraries like Boost.Python</p>
<h1>Long, Hardcore Method<span style="font-size: 22px;">:</span></h1>
<p>This is the programmers way., we will built the libraries ourselves.</p>
<p><strong>1.We start by downloading Boost Source code from </strong><a href="http://sourceforge.net/project/showfiles.php?group_id=7586&amp;package_id=8041&amp;release_id=679861"><span style="text-decoration: underline;"><span style="color: #0066cc;">Sourceforge</span></span></a><strong> </strong></p>
<p><span id="more-34"></span><strong>2.Extract the zip file  to a nice </strong><strong>folder, for me it is c:\Program Files\Boost\</strong></p>
<p><strong>3.Build BJam</strong></p>
<p>Bjam is a tool that will help us built BOOST, but we first have to built it:<br />
-Open visual studio Comman Prompt ,<br />
start-&gt;All Programs-&gt;Microsoft Visual Studio 2005-&gt;visual studio tools-&gt;visual studio command prompt<br />
cd C:\Program Files\boost\boost_1_39_0\tools\jam\src&gt;<br />
built.bat<br />
This made the following C:\Program Files\boost\boost_1_39_0\tools\jam\src\bin.ntx86\bjam.exe<br />
Now copy bjam.exe to the root boost directory : C:\Program Files\boost\boost_1_39_0\<br />
<strong></strong></p>
<p><strong>4.Build Boost</strong></p>
<p>from the visual studio command promt go to C:\Program Files\boost\boost_1_39_0\<br />
For a complete set of libraries use the following:<br />
bjam &#8211;toolset=msvc-8.0 &#8211;build-type=complete<br />
If you want a sub set here are your options:<br />
bjam toolset=msvc-8.0 variant=debug threading=multi link=shared<br />
bjam toolset=msvc-8.0 variant=release threading=multi link=static<br />
Now this will take some time&#8230;</p>
<p><strong>5.Enjoy</strong></p>
<p>Your lib directory is C:\Program Files\boost\boost_1_39_0\stage\lib<br />
Yout include directory is C:\Program Files\boost\boost_1_39_0\include</p>
<p>For details of this process you can refer to <a href="http://www.boost.org/doc/libs/1_39_0/more/getting_started/windows.html"><span style="text-decoration: underline;"><span style="color: #0066cc;">Boost getting started web pages</span></span></a></p>
<ul class="related_post"><li><a href="http://www.tuncbahcecioglu.com/posts/pugg/" title="pugg">pugg</a></li><li><a href="http://www.tuncbahcecioglu.com/posts/send-stdstring-with-mpi/" title="send std::string with mpi">send std::string with mpi</a></li><li><a href="http://www.tuncbahcecioglu.com/posts/vs2010-good-sort-of-vs2005-bad/" title="VS2010 good (sort of), vs2005 bad">VS2010 good (sort of), vs2005 bad</a></li><li><a href="http://www.tuncbahcecioglu.com/posts/mpi-debugging-with-visual-studio/" title="MPI Debugging with Visual Studio">MPI Debugging with Visual Studio</a></li><li><a href="http://www.tuncbahcecioglu.com/posts/delphi-and-mpi-closer-look-2/" title="delphi and mpi, closer look 2">delphi and mpi, closer look 2</a></li><li><a href="http://www.tuncbahcecioglu.com/posts/delphi-and-mpi-in-4-steps/" title="Delphi and mpi in 4 steps">Delphi and mpi in 4 steps</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.tuncbahcecioglu.com/posts/installing-boost-for-visual-studio/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

