It's working now. Thanks again. Yours sincerely,
TAY wee-beng On 11/7/2012 11:22 PM, Satish Balay wrote: > I added the patch to both 3.3 and petsc-dev repos. Hopefully thats easier to > use. > > Satish > > On Wed, 11 Jul 2012, Blaise Bourdin wrote: > >> Rectification: clone petsc-3.3, not petsc-dev, of course... >> B >> >>> There is something fishy in your tree or your build: the patch that Satish >>> sent addressed this issue, but it clearly has not been applied to your >>> tree. The patch I had originally sent contained an error. For instance, >>> F90ARRAY4DACCESSFORTRANADDR was replaced by F90ARRAY4dACCESSFORTRANADDR >>> (note the capitalization of the "d"). These are the symbols that are >>> unresolved in your build. >>> >>> >>> >>> How about starting from a clean state: >>> - rename your current petsc-dev tree >>> - clone petsc-dev from the official tree (BTW, do you really need >>> petsc-dev, and not 3.3?) >>> - apply the patch Satish sent you or, quoting Satich >>>>> edit src/sys/f90-src/f90_cwrap.c and replace all occurrences of >>>>> 'F90ARRAY4d' with 'F90ARRAY4D' >>> - run configure with your favorite options, then make >>> >>> This should fix your problem. >>
