[petsc-dev] status of DLL on windows

Chetan Jhurani chetan.jhurani at gmail.com
Mon May 6 12:29:17 CDT 2013


Hi,

What is the current status of building PETSc DLL on Windows?

Can a DLL be generated via old (non-CMake) configure with some
extra flags?

I couldn't find something quickly via Google and I thought
I'll ask.  Specifically, I see this code in petscsys.h.

#if defined(_WIN32) && defined(PETSC_USE_SHARED_LIBRARIES) /* For Win32 shared libraries */
#  define PETSC_DLLEXPORT __declspec(dllexport)
#  define PETSC_DLLIMPORT __declspec(dllimport)

Is this being used?

Thanks,

Chetan





More information about the petsc-dev mailing list