[petsc-users] Unresolved external symbol in PETSc for Windows

MICTC info at mic-tc.ch
Thu Oct 31 09:42:06 CDT 2013


Hi Danyang,

 

I’m including the Fortran Visual Studio 2012 project with fixed compiler
preferences. It is using Intel Parallel Studio XE 2013.

It should work with 2010 also.

 

Regards,

Vladimir

 

From: Danyang Su [mailto:danyang.su at gmail.com] 
Sent: Wednesday, October 30, 2013 00:03
To: petsc-users
Cc: MICTC
Subject: Unresolved external symbol in PETSc for Windows

 

Hi All,

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. 

The development environment is WIN7Pro X64 + Visual Studio.Pro 2010 + Intel
Parallel Studio 2013XE.

The source codes and project file are attached.

Thanks and regards,

Danyang

-------- Original Message -------- 


Subject: 

PETSc for Windows 2.0


Date: 

Tue, 29 Oct 2013 14:22:42 +0100


From: 

MICTC  <mailto:info at mic-tc.ch> <info at mic-tc.ch>


To: 

MICTC  <mailto:info at mic-tc.ch> <info at mic-tc.ch>






Hello,

 

You were previously sent a copy of PETSc for Windows installer.

We have now created a new version which is much improved in many ways.

 

The new version has a new installer with a smaller footprint and it is much
faster when installing and uninstalling.

By default it installs in the folder:

C:\Program Files\PETSc for Windows\

and when it unpacks it weighs about 560MB with all the necessary dlls in the
system folder.

Before it installs it tests if you have necessary MPI libraries installed or
if either Visual Studio 2010 or 2012 are installed.

You can choose if you want to install a Wizard template for both versions or
only for one of your choice.

It aborts the installer if those prerequisites are not met.

 

The uninstaller cleans everything up and it can be found in Add/Remove
Programs.

 

The PETSc is the current version 3.4.2.

 

The new PETSc library is built with latest Intel libraries from Intel
Parallel Studio XE 2013 and this time it comes with Fortran support and its
built with OpenMP libraries.

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.

 

As before, you need to install the MSMPI SDK before using the wizards:

http://www.microsoft.com/en-us/download/details.aspx?id=14737

 

The new installer is located here:

http://www.mic-tc.ch/downloads/PETScForWindows.zip

 

 

If you use the library please write back to us your experiences.

 

 

 

Best Regards,

Vladimir

 

_________________________________________________________________

Vladimir Baros, Projektleiter

Institut für Energietechnik (IET) & Microsoft Technical Computing Innovation
Center

HSR Hochschule für Technik, Rapperswil

Oberseestrasse 10

CH-8640 Rapperswil 

Büro: 21.105 (Eichwies)

Tel: +41 55 2224336

 <mailto:vbaros at hsr.ch> vbaros at hsr.ch | www.mic-tc.ch

 

 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20131031/574be435/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: FortranTest.zip
Type: application/x-zip-compressed
Size: 9770 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20131031/574be435/attachment-0001.bin>


More information about the petsc-users mailing list