티스토리 뷰

카테고리 없음

PETSc 환경설정

vivelakorea 2022. 6. 29. 22:05

PETSc 써보려고 맥북 터미널에서 끙끙대다가 계속 dependency 문제 생겨서

 

UTM에서 우분투 켜고

 

https://petsc.org/release/download/#doc-download

 

Downloading PETSc — PETSc 3.17.3 documentation

Tarball which contains only the source, identical to git download. Documentation available online. Tarball which includes all documentation, recommended for offline use. Tarball to enable a separate installation of petsc4py. Note Older releases of PETSc ar

petsc.org

여기서 막 깔고 make 하고 ./configure 하다가

lapack이랑 blas 깔아야된다는걸 알게되서 

https://coral.ise.lehigh.edu/jild13/2016/07/27/install-lapack-and-blas-on-linux-based-systems/

 

Install LAPACK and BLAS on Linux-Based Systems

Let us create a library to adapt them to your systems. First, you have to install BLAS before LAPACK, because LAPACK needs it. Download the packages from the following websites. Switch to the BLAS folder and execute make to compile all fortran files. Afte

coral.ise.lehigh.edu

이거대로 깜. 근데 blas_UNIX.a 가 아니라 blas_LINUX.a이고 make.inc.뭐시기를 make.inc로 바꿔야함(mv)

 

아직 하는중...

 

아마 mpi도 따로 깔아줘야 하는것같다

댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
TAG
more
«   2025/05   »
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
글 보관함