[petsc-users] EXTERNAL: Re: EXTERNAL: Re: EXTERNAL: Re: EXTERNAL: How to run Petsc in Fortran
Wadud.Miah at awe.co.uk
Wadud.Miah at awe.co.uk
Mon Apr 29 07:39:08 CDT 2013
Also, you should either be including the MPI header path in your compilation command or use mpif90 wrapper when compiling codes that use PETSc as PETSc uses MPI.
Regards,
Wadud.
-----Original Message-----
From: petsc-users-bounces at mcs.anl.gov [mailto:petsc-users-bounces at mcs.anl.gov] On Behalf Of Wadud.Miah at awe1.awe.co.uk
Sent: 29 April 2013 13:37
To: sonyablade2010 at hotmail.com; petsc-users at mcs.anl.gov
Subject: EXTERNAL: Re: [petsc-users] EXTERNAL: Re: EXTERNAL: Re: EXTERNAL: How to run Petsc in Fortran
Hi Sonya,
>From the command line you wrote, you are not running the pre-processor. Include the flag:
-cpp
In your compilation command.
Regards,
Wadud.
-----Original Message-----
From: petsc-users-bounces at mcs.anl.gov [mailto:petsc-users-bounces at mcs.anl.gov] On Behalf Of Sonya Blade
Sent: 29 April 2013 13:28
To: petsc-users at mcs.anl.gov
Subject: EXTERNAL: Re: [petsc-users] EXTERNAL: Re: EXTERNAL: How to run Petsc in Fortran
> Hi Sonya,
>
> As this is Fortran 90, I think you should be using the double colon to allocate variables:
>
> PetscReal :: norm
>
> Regards,
> Wadud.
Although you are right, compiler doesn't raises error due to the wrong declaration type of norm,
it keeps showing where PetscReal is not known.
"Error: Unclassifiable statement at (1)"
Regards,
___________________________________________________
____________________________
The information in this email and in any attachment(s) is
commercial in confidence. If you are not the named addressee(s)
or
if you receive this email in error then any distribution, copying or
use of this communication or the information in it is strictly
prohibited. Please notify us immediately by email at
admin.internet(at)awe.co.uk, and then delete this message from
your computer. While attachments are virus checked, AWE plc
does not accept any liability in respect of any virus which is not
detected.
AWE Plc
Registered in England and Wales
Registration No 02763902
AWE, Aldermaston, Reading, RG7 4PR
___________________________________________________
____________________________
The information in this email and in any attachment(s) is
commercial in confidence. If you are not the named addressee(s)
or
if you receive this email in error then any distribution, copying or
use of this communication or the information in it is strictly
prohibited. Please notify us immediately by email at
admin.internet(at)awe.co.uk, and then delete this message from
your computer. While attachments are virus checked, AWE plc
does not accept any liability in respect of any virus which is not
detected.
AWE Plc
Registered in England and Wales
Registration No 02763902
AWE, Aldermaston, Reading, RG7 4PR
More information about the petsc-users
mailing list