<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
color:black;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body bgcolor=white lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='color:#1F497D'>Hi Danyang,<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>I’m including the Fortran Visual Studio 2012 project with fixed compiler preferences. It is using Intel Parallel Studio XE 2013.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>It should work with 2010 also.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Regards,<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Vladimir<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'> Danyang Su [mailto:danyang.su@gmail.com] <br><b>Sent:</b> Wednesday, October 30, 2013 00:03<br><b>To:</b> petsc-users<br><b>Cc:</b> MICTC<br><b>Subject:</b> Unresolved external symbol in PETSc for Windows<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal style='margin-bottom:12.0pt'>Hi All,<br><br>I am currently testing a PETSc fortran project for Windows. The package I use is "PETSc for Windows 2.0" (see bellow) which can be used on windows without installing CYGWIN on windows. I build a C project using the example ex2.c and it works fine, but when I build the fortran project using the example ex2f.F, I get a lot of LNK2019 error. I have tried different calling convention, but none of them works. I guess the there is something wrong is the fortran project. <br><br>The development environment is WIN7Pro X64 + Visual Studio.Pro 2010 + Intel Parallel Studio 2013XE.<br><br>The source codes and project file are attached.<br><br>Thanks and regards,<br><br>Danyang<o:p></o:p></p><div><p class=MsoNormal>-------- Original Message -------- <o:p></o:p></p><table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0><tr><td nowrap valign=top style='padding:0cm 0cm 0cm 0cm'><p class=MsoNormal align=right style='text-align:right'><b>Subject: </b><b><span style='font-size:12.0pt'><o:p></o:p></span></b></p></td><td style='padding:0cm 0cm 0cm 0cm'><p class=MsoNormal>PETSc for Windows 2.0<span style='font-size:12.0pt'><o:p></o:p></span></p></td></tr><tr><td nowrap valign=top style='padding:0cm 0cm 0cm 0cm'><p class=MsoNormal align=right style='text-align:right'><b>Date: </b><b><span style='font-size:12.0pt'><o:p></o:p></span></b></p></td><td style='padding:0cm 0cm 0cm 0cm'><p class=MsoNormal>Tue, 29 Oct 2013 14:22:42 +0100<span style='font-size:12.0pt'><o:p></o:p></span></p></td></tr><tr><td nowrap valign=top style='padding:0cm 0cm 0cm 0cm'><p class=MsoNormal align=right style='text-align:right'><b>From: </b><b><span style='font-size:12.0pt'><o:p></o:p></span></b></p></td><td style='padding:0cm 0cm 0cm 0cm'><p class=MsoNormal>MICTC <a href="mailto:info@mic-tc.ch"><info@mic-tc.ch></a><span style='font-size:12.0pt'><o:p></o:p></span></p></td></tr><tr><td nowrap valign=top style='padding:0cm 0cm 0cm 0cm'><p class=MsoNormal align=right style='text-align:right'><b>To: </b><b><span style='font-size:12.0pt'><o:p></o:p></span></b></p></td><td style='padding:0cm 0cm 0cm 0cm'><p class=MsoNormal>MICTC <a href="mailto:info@mic-tc.ch"><info@mic-tc.ch></a><span style='font-size:12.0pt'><o:p></o:p></span></p></td></tr></table><p class=MsoNormal><br><br><br><span style='font-size:12.0pt'><o:p></o:p></span></p><p class=MsoNormal>Hello,<o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal>You were previously sent a copy of PETSc for Windows installer.<o:p></o:p></p><p class=MsoNormal>We have now created a new version which is much improved in many ways.<o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal>The new version has a new installer with a smaller footprint and it is much faster when installing and uninstalling.<o:p></o:p></p><p class=MsoNormal>By default it installs in the folder:<o:p></o:p></p><p class=MsoNormal><b>C:\Program Files\PETSc for Windows\</b><o:p></o:p></p><p class=MsoNormal>and when it unpacks it weighs about <b>560MB </b>with all the necessary dlls in the system folder.<o:p></o:p></p><p class=MsoNormal>Before it installs it tests if you have necessary MPI libraries installed or if either Visual Studio 2010 or 2012 are installed.<o:p></o:p></p><p class=MsoNormal>You can choose if you want to install a Wizard template for both versions or only for one of your choice.<o:p></o:p></p><p class=MsoNormal>It aborts the installer if those prerequisites are not met.<o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal>The uninstaller cleans everything up and it can be found in <b>Add/Remove Programs</b>.<o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal>The PETSc is the current version <b>3.4.2</b>.<o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal>The new PETSc library is built with latest Intel libraries from <b>Intel Parallel Studio XE 2013</b> and this time it comes with <b>Fortran</b> support and its built with <b>OpenMP</b> libraries.<o:p></o:p></p><p class=MsoNormal>It also comes with dlls optimized for different CPUs so the speed should be great whether you use old Intel or Core i5, i7 or Xeon brand.<o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal>As before, you need to install the MSMPI SDK before using the wizards:<o:p></o:p></p><p class=MsoNormal><a href="http://www.microsoft.com/en-us/download/details.aspx?id=14737">http://www.microsoft.com/en-us/download/details.aspx?id=14737</a><o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal>The new installer is located here:<o:p></o:p></p><p class=MsoNormal><a href="http://www.mic-tc.ch/downloads/PETScForWindows.zip">http://www.mic-tc.ch/downloads/PETScForWindows.zip</a><o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal>If you use the library please write back to us your experiences.<o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal>Best Regards,<o:p></o:p></p><p class=MsoNormal>Vladimir<o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal><b><span lang=DE-CH style='font-size:10.0pt'>_________________________________________________________________</span></b><o:p></o:p></p><p class=MsoNormal><b><span lang=DE-CH style='font-size:10.0pt'>Vladimir Baros, </span></b><b><span lang=DE-CH style='font-size:10.0pt;letter-spacing:-.1pt;mso-fareast-language:DE-CH'>Projektleiter</span></b><o:p></o:p></p><p class=MsoNormal><b><span lang=DE-CH style='font-size:10.0pt;color:#002060'>Institut für Energietechnik (IET) & Microsoft Technical Computing Innovation Center</span></b><o:p></o:p></p><p class=MsoNormal><b><span lang=DE-CH style='font-size:10.0pt;color:#002060'>HSR Hochschule für Technik, Rapperswil</span></b><o:p></o:p></p><p class=MsoNormal><span lang=DE-CH style='font-size:10.0pt'>Oberseestrasse 10</span><o:p></o:p></p><p class=MsoNormal><span lang=DE-CH style='font-size:10.0pt'>CH-8640 Rapperswil </span><o:p></o:p></p><p class=MsoNormal><b><span lang=DE-CH style='font-size:10.0pt'>Büro:</span></b><span lang=DE-CH style='font-size:10.0pt'> 21.105 (Eichwies)</span><o:p></o:p></p><p class=MsoNormal><b><span lang=DE-CH style='font-size:10.0pt'>Tel:</span></b><span lang=DE-CH style='font-size:10.0pt'> +41 55 2224336</span><o:p></o:p></p><p class=MsoNormal><b><span style='font-size:10.0pt;color:#002060'><a href="mailto:vbaros@hsr.ch"><span lang=DE-CH>vbaros@hsr.ch</span></a> </span></b><b><span lang=DE-CH style='font-size:10.0pt'>|</span></b><span lang=DE-CH style='font-size:10.0pt'> </span><b><span style='font-size:10.0pt;color:#002060'><a href="www.mictc.hsr.ch"><span lang=DE-CH>www.mic-tc.ch</span></a></span></b><o:p></o:p></p><p class=MsoNormal><span lang=DE-CH> </span><o:p></o:p></p><p class=MsoNormal><span lang=DE-CH> </span><o:p></o:p></p><p class=MsoNormal><span style='font-size:12.0pt'><o:p> </o:p></span></p></div><p class=MsoNormal><span style='font-size:12.0pt'><o:p> </o:p></span></p></div></body></html>