include file fortran

Tahar Amari amari at cpht.polytechnique.fr
Fri May 15 17:29:55 CDT 2009


The reason is that :
I am developing different codes . Some are
in fortran, others in C and others in C++.

Why should I built only the fortran please ?

I did make tests and those were OK. Do you mean it is not sufficient ?

Tahar



Le 16 mai 09 à 00:21, Satish Balay a écrit :

> If using PETSc from fortran - why use --with-clanguage=cxx ?
>
> Also - verify if PETSc examples work - before attempting your code.
> And then use PETSc makefiles.
>
> [i.e copy the makefile from PETSc example dir - and modify the target
> to build your code]
>
> Satish
>
> On Sat, 16 May 2009, Tahar Amari wrote:
>
>> Just to let you know is that I built petsc with c++ anyway since I  
>> did
>>
>> configure -with-cc=gcc --download-mpich=1 --download-parmetis=1
>> --with-#shared=0 --download-f-blas-lapack --with-clanguage=cxx -- 
>> with-cxx=g++
>> --with-fc=ifort --with-dynamic=0
>>
>>
>> Tahar
>>
>>
>>


More information about the petsc-users mailing list