[petsc-users] ERROR_WITH_EXAMPLE_BUILD

Balay, Satish balay at mcs.anl.gov
Sun Jun 16 11:30:18 CDT 2019


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