-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'ap-block-solver-update' into master
- Loading branch information
Showing
104 changed files
with
21,303 additions
and
21,880 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
|
||
# Packages | ||
|
||
sudo apt update | ||
sudo apt install build-essential gfortran python-is-python3 python3-numpy | ||
sudo apt install bison flex cmake git-all valgrind | ||
sudo apt-get install libtool libtool-bin | ||
sudo apt-get install mpich | ||
|
||
# Debug petsc | ||
|
||
./configure \ | ||
--prefix=/home/USERNAME/SOFT/petsc/petsc-3.19.6-deb \ | ||
--download-f2cblaslapack \ | ||
--download-blis \ | ||
--with-debugging=1 \ | ||
--COPTFLAGS="-g -O0" \ | ||
--FOPTFLAGS="-g -O0" \ | ||
--CXXOPTFLAGS="-g -O0" \ | ||
--with-large-file-io=1 \ | ||
--with-shared-libraries=0 \ | ||
--with-c++-support=1 \ | ||
--with-cc=mpicc \ | ||
--with-cxx=mpicxx \ | ||
--with-fc=mpif90 \ | ||
--download-metis=1 \ | ||
--download-parmetis=1 \ | ||
--download-ptscotch=1 \ | ||
--download-scalapack=1 \ | ||
--download-mumps=1 \ | ||
--download-superlu_dist=1 \ | ||
--with-clean | ||
|
||
# Optimized petsc | ||
|
||
./configure \ | ||
--prefix=/home/USERNAME/SOFT/petsc/petsc-3.19.6-opt \ | ||
--download-f2cblaslapack \ | ||
--download-blis \ | ||
--with-debugging=0 \ | ||
--COPTFLAGS="-O2 -march=znver2" \ | ||
--FOPTFLAGS="-O2 -march=znver2" \ | ||
--CXXOPTFLAGS="-O2 -march=znver2" \ | ||
--with-large-file-io=1 \ | ||
--with-shared-libraries=0 \ | ||
--with-c++-support=1 \ | ||
--with-cc=mpicc \ | ||
--with-cxx=mpicxx \ | ||
--with-fc=mpif90 \ | ||
--download-metis=1 \ | ||
--download-parmetis=1 \ | ||
--download-ptscotch=1 \ | ||
--download-scalapack=1 \ | ||
--download-mumps=1 \ | ||
--download-superlu_dist=1 \ | ||
--with-clean | ||
|
||
# Include directories (Eclipse projects): | ||
|
||
/usr/include/x86_64-linux-gnu/mpich | ||
/home/anton/SOFT/petsc/petsc-3.19.6-deb/include | ||
|
||
|
||
|
Oops, something went wrong.
5a7d0c9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remark: this was accidentally merged - don;t use it.