Do you get these errors with PETSc f90 examples? what 'USE statement' do you have in your code?
I guess you'll have to check your code to see how you are using f90 modules/includes. If you can get a minimal compileable code that can reproduce this error - send us the code so that we can reproduce the issue Satish On Thu, 9 Apr 2009, Wee-Beng TAY wrote: > Hi, > > I just built petsc-3.0.0-p4 with mpich and after that, I reinstalled my > windows xp and installed mpich in the same directory. I'm using CVF > > Now, I found that when I'm trying to compile my code, I got the error: > > :\cygwin\codes\MPICH\SDK\include\mpif.h(105) : Error: The attributes of this > name conflict with those made accessible by a USE statement. > [MPI_STATUS_SIZE] > INTEGER MPI_STATUS_IGNORE(MPI_STATUS_SIZE) > --------------------------------^ > E:\cygwin\codes\MPICH\SDK\include\mpif.h(106) : Error: The attributes of this > name conflict with those made accessible by a USE statement. > [MPI_STATUS_SIZE] > INTEGER MPI_STATUSES_IGNORE(MPI_STATUS_SIZE) > ----------------------------------^ > E:\cygwin\codes\petsc-3.0.0-p4\include/finclude/petsc.h(154) : Error: The > attributes of this name conflict with those made accessible by a USE > statement. [MPI_DOUBLE_PRECISION] > parameter(MPIU_SCALAR = MPI_DOUBLE_PRECISION) > ------------------------------^ > Error executing df.exe. > > flux_area.obj - 3 error(s), 0 warning(s) > > My include option is : > > Debug/;$(PETSC_DIR);$(PETSC_DIR)\$(PETSC_ARCH)\;$(PETSC_DIR)\$(PETSC_ARCH)\include;$(PETSC_DIR)\include;E:\cygwin\codes\MPICH\SDK\include > > > Interestingly, when I change my PETSC_DIR to petsc-dev, which correspond to an > old build of petsc-2.3.3-p13, there is no problem. > > May I know what's wrong? Btw, I've converted my mpif.h from using "C" as > comments to "!". > > Thank you very much and have a nice day! > > Yours sincerely, > > Wee-Beng Tay > > > > > >
