<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
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<br>
<br>
<div class="moz-forward-container">-------- Original Message
--------
<table class="moz-email-headers-table" cellpadding="0"
cellspacing="0" border="0">
<tbody>
<tr>
<th align="RIGHT" nowrap="nowrap" valign="BASELINE">Subject:
</th>
<td>PETSc for Windows 2.0</td>
</tr>
<tr>
<th align="RIGHT" nowrap="nowrap" valign="BASELINE">Date: </th>
<td>Tue, 29 Oct 2013 14:22:42 +0100</td>
</tr>
<tr>
<th align="RIGHT" nowrap="nowrap" valign="BASELINE">From: </th>
<td>MICTC <a class="moz-txt-link-rfc2396E" href="mailto:info@mic-tc.ch"><info@mic-tc.ch></a></td>
</tr>
<tr>
<th align="RIGHT" nowrap="nowrap" valign="BASELINE">To: </th>
<td>MICTC <a class="moz-txt-link-rfc2396E" href="mailto:info@mic-tc.ch"><info@mic-tc.ch></a></td>
</tr>
</tbody>
</table>
<br>
<br>
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<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;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
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-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";}
@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]-->
<div class="WordSection1">
<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\<o:p></o:p></b></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 moz-do-not-send="true"
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 moz-do-not-send="true"
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
style="font-size:10.0pt;color:black" lang="DE-CH">_________________________________________________________________<o:p></o:p></span></b></p>
<p class="MsoNormal"><b><span
style="font-size:10.0pt;color:black" lang="DE-CH">Vladimir
Baros, </span></b><b><span
style="font-size:10.0pt;color:black;letter-spacing:-.1pt;mso-fareast-language:DE-CH"
lang="DE-CH">Projektleiter</span></b><b><span
style="font-size:10.0pt;color:black" lang="DE-CH"><o:p></o:p></span></b></p>
<p class="MsoNormal"><b><span
style="font-size:10.0pt;color:#002060" lang="DE-CH">Institut
für Energietechnik (IET) & Microsoft Technical
Computing Innovation Center<o:p></o:p></span></b></p>
<p class="MsoNormal"><b><span
style="font-size:10.0pt;color:#002060" lang="DE-CH">HSR
Hochschule für Technik, Rapperswil<o:p></o:p></span></b></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:black"
lang="DE-CH"> Oberseestrasse 10<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:black"
lang="DE-CH"> CH-8640 Rapperswil <o:p></o:p></span></p>
<p class="MsoNormal"><b><span
style="font-size:10.0pt;color:black" lang="DE-CH">Büro:</span></b><span
style="font-size:10.0pt;color:black" lang="DE-CH"> 21.105
(Eichwies)<o:p></o:p></span></p>
<p class="MsoNormal"><b><span
style="font-size:10.0pt;color:black" lang="DE-CH">Tel:</span></b><span
style="font-size:10.0pt;color:black" lang="DE-CH"> +41 55
2224336<o:p></o:p></span></p>
<p class="MsoNormal"><b><span
style="font-size:10.0pt;color:#002060"><a
moz-do-not-send="true" href="mailto:vbaros@hsr.ch"><span
lang="DE-CH">vbaros@hsr.ch</span></a></span></b><b><span
style="font-size:10.0pt;color:#002060"> </span></b><b><span
style="font-size:10.0pt;color:black" lang="DE-CH">|</span></b><span
style="font-size:10.0pt;color:black" lang="DE-CH"> </span><b><span
style="font-size:10.0pt;color:#002060"><a
moz-do-not-send="true" href="www.mictc.hsr.ch"><span
style="color:blue" lang="DE-CH">www.mic-tc.ch</span></a></span></b><b><span
style="font-size:10.0pt;color:#002060" lang="DE-CH"><o:p></o:p></span></b></p>
<p class="MsoNormal"><span lang="DE-CH"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="DE-CH"><o:p> </o:p></span></p>
</div>
<br>
</div>
<br>
</body>
</html>