Re: [petsc-users] [petsc-maint] Issues linking petsc header files and lib from FORTRAN codes

2022-11-08 Thread Jianbo Long
-cc=gcc --with-cxx=0 --with-fc=gfortran > --download-fblaslapack --download-mpich > > Perhaps good to also add: --with-hwloc=0 > > Satish > > > > > Another way to avoid this issue is to use /usr/bin/gcc, gfortran - i.e > avoid using tools from /cluster/software/G

Re: [petsc-users] [petsc-maint] Issues linking petsc header files and lib from FORTRAN codes

2022-11-08 Thread Jianbo Long
> > if you still get this with --with-cxx=0 - then the issue with some other > [non-petsc library] > > Satish > > On Mon, 7 Nov 2022, Jianbo Long wrote: > > > Hi Satish, > > > > I wonder if you know anything about another issue: after compiling pets

Re: [petsc-users] [petsc-maint] Issues linking petsc header files and lib from FORTRAN codes

2022-11-07 Thread Jianbo Long
piler > include files > https://www.intel.com/content/www/us/en/develop/documentation/fortran-compiler-oneapi-dev-guide-and-reference/top/program-structure/use-include-files.html > is the same as for the preprocessor include files so I don't understand how > the using the Fortran compiler include