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

2010-02-02 Thread Zhifeng Sheng - EWI
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

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

2010-02-02 Thread Satish Balay
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

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

2010-02-02 Thread Satish Balay
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 -

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

2010-02-02 Thread Zhifeng Sheng - EWI
Thanks, this works. Best regards Zhifeng -Original Message- From: petsc-users-boun...@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