[petsc-users] makefile error

­권승리 / 학생 / 항공우주공학과 ksl7912 at snu.ac.kr
Wed Apr 26 05:02:03 CDT 2023


Dear developers

Could you recommend the error messages below?

/home/ksl/petsc/arch-linux-c-debug/bin/mpicxx -Wall -Wwrite-strings
-Wno-strict-aliasing -Wno-unknown-pragmas -Wno-lto-type-mismatch
-fstack-protector -fvisibility=hidden -g -O0  -I/home/ksl/petsc/include
-I/home/ksl/petsc/arch-linux-c-debug/include     -o app a1.o a2.o a3.o a4.o
a5.o -Wl,-rpath,/home/ksl/petsc/arch-linux-c-debug/lib
-L/home/ksl/petsc/arch-linux-c-debug/lib
-Wl,-rpath,/home/ksl/petsc/arch-linux-c-debug/lib
-L/home/ksl/petsc/arch-linux-c-debug/lib
-Wl,-rpath,/usr/lib/gcc/x86_64-linux-gnu/9
-L/usr/lib/gcc/x86_64-linux-gnu/9 -lpetsc -llapack -lblas -lpthread -lm
-lstdc++ -ldl -lmpifort -lmpi -lgfortran -lm -lgfortran -lm -lgcc_s
-lquadmath -lstdc++ -ldl
/usr/bin/ld: cannot find -lpetsc
collect2: error: ld returned 1 exit status
make: *** [makefile:33: app] Error 1

Best regards
Seung Lee Kwon

-- 
Seung Lee Kwon, Ph.D.Candidate
Aerospace Structures and Materials Laboratory
Department of Mechanical and Aerospace Engineering
Seoul National University
Building 300 Rm 503, Gwanak-ro 1, Gwanak-gu, Seoul, South Korea, 08826
E-mail : ksl7912 at snu.ac.kr
Office : +82-2-880-7389
C. P : +82-10-4695-1062
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20230426/db9ae282/attachment.html>


More information about the petsc-users mailing list