[petsc-users] SNESSetConvergenceTest
Dharmendar Reddy
dharmareddy84 at gmail.com
Tue Apr 1 17:17:16 CDT 2014
Hello Jed,
Can you please help me fix this issue.
Thanks
Reddy
On Thu, Mar 20, 2014 at 3:52 PM, Dharmendar Reddy
<dharmareddy84 at gmail.com> wrote:
> Hello Jed,
> Were you able to look into this issue ?
>
> Thanks
> Reddy
>
> On Tue, Feb 25, 2014 at 9:36 PM, Jed Brown <jed at jedbrown.org> wrote:
>> Dharmendar Reddy <dharmareddy84 at gmail.com> writes:
>>> Hello Jed,
>>> Sorry for the compilation issues, I do not have access
>>> to a machine with petsc and gfortran > 4.7 to fix the compile issues.
>>> Can you make the follwing changes to the code in precision_m module.
>>> REAL64 and REAL32 should be available via iso_fortran_env module, I
>>> do not know why it is complaining.
>>>
>>> module precision_m
>>> implicit none
>>> integer,parameter :: DP = kind(1.0D0)
>>> integer,parameter :: SP = kind(1.0E0)
>>> integer,parameter :: WP=DP
>>> integer,parameter :: MSL=100 ! MAX_STR_LENGTH
>>> end module precision_m
>>
>> The f2003 dialect is not supported by mpif.h in my build of mpich-3.1.
>> I'll try spinning up a new build of MPICH with -std=f2003 (hopefully its
>> configure can sort this out). Did I mention Fortran is not my favorite
>> language?
>>
>>
>> /opt/mpich/include/mpif.h:16.18:
>> Included at /home/jed/petsc/include/finclude/petscsys.h:11:
>> Included at /home/jed/petsc/include/finclude/petsc.h:7:
>> Included at /home/jed/petsc/include/finclude/petsc.h90:5:
>> Included at Solver.F90:160:
>>
>> CHARACTER*1 MPI_ARGVS_NULL(1,1)
>> 1
>> Warning: Obsolescent feature: Old-style character length at (1)
>> /opt/mpich/include/mpif.h:17.18:
>> Included at /home/jed/petsc/include/finclude/petscsys.h:11:
>> Included at /home/jed/petsc/include/finclude/petsc.h:7:
>> Included at /home/jed/petsc/include/finclude/petsc.h90:5:
>> Included at Solver.F90:160:
>>
>> CHARACTER*1 MPI_ARGV_NULL(1)
>> 1
>> Warning: Obsolescent feature: Old-style character length at (1)
>> /opt/mpich/include/mpif.h:528.16:
>> Included at /home/jed/petsc/include/finclude/petscsys.h:11:
>> Included at /home/jed/petsc/include/finclude/petsc.h:7:
>> Included at /home/jed/petsc/include/finclude/petsc.h90:5:
>> Included at Solver.F90:160:
>>
>> integer*8 MPI_DISPLACEMENT_CURRENT
>> 1
>> Error: GNU Extension: Nonstandard type declaration INTEGER*8 at (1)
>> /opt/mpich/include/mpif.h:546.13:
>> Included at /home/jed/petsc/include/finclude/petscsys.h:11:
>> Included at /home/jed/petsc/include/finclude/petsc.h:7:
>> Included at /home/jed/petsc/include/finclude/petsc.h90:5:
>> Included at Solver.F90:160:
>>
>> REAL*8 MPI_WTIME, MPI_WTICK
>> 1
>> Error: GNU Extension: Nonstandard type declaration REAL*8 at (1)
More information about the petsc-users
mailing list