On 6/7/2012 5:48 PM, Barry Smith wrote: > Blaise, > > Thanks. > > Satish, > > If they look good could you apply them to 3.3 and dev? > > Thanks > > Barry
Hi, I downloaded petsc-dev a few days ago and applied both patches using "patch -v ..." in both linux and windows vs2008 It worked great in linux However, when I compile and link in vs2008, it gives the error: / 1>Compiling manifest to resources... 1>Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1 1>Copyright (C) Microsoft Corporation. All rights reserved. 1>Linking... 1>libpetsc.lib(f90_cwrap.o) : error LNK2019: unresolved external symbol F90ARRAY4dCREATESCALAR referenced in function F90Array4dCreate 1>libpetsc.lib(f90_cwrap.o) : error LNK2019: unresolved external symbol F90ARRAY4dACCESSFORTRANADDR referenced in function F90Array4dAccess 1>libpetsc.lib(f90_cwrap.o) : error LNK2019: unresolved external symbol F90ARRAY4dACCESSINT referenced in function F90Array4dAccess 1>libpetsc.lib(f90_cwrap.o) : error LNK2019: unresolved external symbol F90ARRAY4dACCESSREAL referenced in function F90Array4dAccess 1>libpetsc.lib(f90_cwrap.o) : error LNK2019: unresolved external symbol F90ARRAY4dACCESSSCALAR referenced in function F90Array4dAccess 1>libpetsc.lib(f90_cwrap.o) : error LNK2019: unresolved external symbol F90ARRAY4dDESTROYSCALAR referenced in function F90Array4dDestroy 1>c:\obj_tmp\ibm2d_high_Re_staggered_old\Debug/ibm2d_high_Re_staggered.exe : fatal error LNK1120: 6 unresolved externals/ I wonder if it's fixed in the new petsc-dev. Thanks > > On Jul 6, 2012, at 6:30 AM, Blaise Bourdin wrote: > >> Hi, >> >> I have added the creation, destruction and accessor functions for 4d vectors >> in F90. The accessor was missing and needed for DMDAVecGetArrayF90 with a 3d >> DMDA and >1 dof. As far as I can test, ex11f90 in DM should now completely >> work with the intel compilers. >> >> Some of the functions are probably not used (F90Array4dAccessReal, >> F90Array4dAccessInt, F90Array4dAccessFortranAddr, for instance), but I added >> them anyway. Let me know if you want me to submit a patch without them. >> >> Regards, >> >> Blaise >> <DMDAVecRestoreArrayF90-2.patch> >> >> >> -- >> Department of Mathematics and Center for Computation & Technology >> Louisiana State University, Baton Rouge, LA 70803, USA >> Tel. +1 (225) 578 1612, Fax +1 (225) 578 4276 >> http://www.math.lsu.edu/~bourdin >> >> >> >> >> >> >> -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120711/2b38f398/attachment.html>
