[petsc-users] ERROR_WITH_EXAMPLE_BUILD

Smith, Barry F. bsmith at mcs.anl.gov
Sun Jun 16 15:34:35 CDT 2019


  After you ran

  ./configure options
  make 

  did you run 

   make 

  and did that work?

  Also you should upgrade to PETSc 3.11, it is much newer has more features and fewer bugs.

   Barry


> On Jun 16, 2019, at 11:30 AM, Balay, Satish via petsc-users <petsc-users at mcs.anl.gov> wrote:
> 
> Can you send configure.log, make.log for this build?
> 
> Also copy/paste complete output from the 'make' command below.
> 
> Satish
> 
> On Sat, 15 Jun 2019, govind sharma via petsc-users wrote:
> 
>> Hello,
>> 
>> I am trying to build one example of tutorial on snes with following command
>> "make PETSC_DIR=/opt/petsc/3.8.4 PETSC_ARCH=linux-gnu-dbg ex1" but it gives
>> some error like
>> 
>> /usr/bin/ld: cannot find -lgfortran
>> collect2: error: ld returned 1 exit status
>> makefile:29: recipe for target 'ex1' failed
>> make: [ex1] Error 1 (ignored)
>> /bin/rm -f ex1.o
>> 
>> It does not build. Can anyone help me to understand to this to build ex1
>> and run it?
>> 
>> Regards,
>> Govind Sharma
>> Phd Student, IIT Delhi
>> 
> 



More information about the petsc-users mailing list