Re: [petsc-users] petsc on windows

2019-08-30 Thread Sam Guo via petsc-users
LLs in PATH > > Or use --with-shared-libraries=0 > > Satish > > On Thu, 29 Aug 2019, Sam Guo via petsc-users wrote: > > > When I use intel mpi, configuration, compile and test all work fine but I > > cannot use dll in my application. > > > > On Thu, Aug 29, 2

Re: [petsc-users] petsc on windows

2019-08-29 Thread Sam Guo via petsc-users
/petscvariables: PCC_LINKER_FLAGS =-MD -wd4996 -Z7 /home/xianzhongg/dev/star/lib/win64/intel18.3vc14/lib/StarMpiWrapper.lib On Thu, Aug 29, 2019 at 3:28 PM Balay, Satish wrote: > On Thu, 29 Aug 2019, Sam Guo via petsc-users wrote: > > > I can link when I add my wrapper to > >

Re: [petsc-users] petsc on windows

2019-08-29 Thread Sam Guo via petsc-users
test.exe : fatal error LNK1120: > 2 unresolved externals > > The link is definitely failing. Does it work if you do it by hand? > > Thanks, > > Matt > > >> Regarding our dup, our wrapper does support it. In fact, everything works >> fine on Linux. I suspe

Re: [petsc-users] petsc on windows

2019-08-29 Thread Sam Guo via petsc-users
, Aug 29, 2019 at 3:39 PM Matthew Knepley wrote: > On Thu, Aug 29, 2019 at 3:33 PM Sam Guo via petsc-users < > petsc-users@mcs.anl.gov> wrote: > >> Dear PETSc dev team, >>I am looking some tips porting petsc to windows. We have our mpi >> wrapper (so we can s

[petsc-users] petsc on windows

2019-08-29 Thread Sam Guo via petsc-users
Dear PETSc dev team, I am looking some tips porting petsc to windows. We have our mpi wrapper (so we can switch different mpi). I configure petsc using --with-mpi-lib and --with-mpi-include ./configure --with-cc="win32fe cl" --with-fc=0 --download-f2cblaslapack