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

Danyang Su danyang.su at gmail.com
Tue Oct 29 18:02:51 CDT 2013


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 <info at mic-tc.ch>
To: 	MICTC <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

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



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20131029/39f3d193/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Petsc-windows-F.zip
Type: application/x-zip-compressed
Size: 22424 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20131029/39f3d193/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Petsc-Windows-C.zip
Type: application/x-zip-compressed
Size: 3015753 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20131029/39f3d193/attachment-0003.bin>


More information about the petsc-users mailing list