[petsc-users] Compile Petsc in visual studio 2003 with /MD option

Satish Balay balay at mcs.anl.gov
Tue Feb 2 09:20:53 CST 2010


Please do not cross post to multiple lists.

If you have installation issues - send the relavent configure.log to
petsc-maint at mcs.anl.gov

You should be able to specify 'CFLAGS=-MT' option to configure and
both PETSc and f2cblaslapack should use it. [assuimg you are using
--with-mpi=0]

Satish

On Tue, 2 Feb 2010, Zhifeng Sheng - EWI wrote:

> Dear all
> 
> I followed the Petsc installation instructions under windows and it works fine. But I have a problem with the /MT option. This option is set for Petsc build and also for the blas-c-lapack. We could modify the compiling option of the petsc package but not for the blas-c-lapack. It seems that the option is hard wired into the "win32fe" tool. Does anyone know how I can change the option from /MT to /MD?
> 
> 
> Thanks and best regards
> Zhifeng
> 



More information about the petsc-users mailing list