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

Zhifeng Sheng - EWI Z.Sheng at tudelft.nl
Tue Feb 2 10:27:16 CST 2010


Thanks, this works.

Best regards
Zhifeng


-----Original Message-----
From: petsc-users-bounces at mcs.anl.gov on behalf of Satish Balay
Sent: Tue 2-2-2010 16:51
To: PETSc users list
Subject: Re: [petsc-users] Compile Petsc in visual studio 2003 with /MD option
 
I just did a build petsc petsc-3.0.0 with VC6 with:

./configure --with-mpi=0 --download-c-blas-lapack=1 CFLAGS=-MT --with-fc=0 PETSC_ARCH=cygwin-ms-mt

and the build went fine. If you are having issues - you might want to
delete PETSC_DIR/PETSC_ARCH and restart.  [and if you still have
issues - send configure.log, make.log & test.log from
PETSC_DIR/PETSC_ARCH/conf to petsc-maint]

Satish

On Tue, 2 Feb 2010, Satish Balay wrote:

> 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
> > 
> 
> 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20100202/13b3e4bf/attachment-0001.htm>


More information about the petsc-users mailing list