Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PETSc] Add builder #845

Merged
merged 55 commits into from
Aug 20, 2020
Merged
Changes from 1 commit
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
dab21d6
add build file
jd-lara Apr 12, 2020
5a683e9
add patch
jd-lara Apr 12, 2020
f932716
modify application of patch
jd-lara Apr 12, 2020
72b7ffe
improve build
jd-lara Apr 12, 2020
bbc415a
expand gfortran versions
jd-lara Apr 12, 2020
d753bf4
address PR coments
jd-lara Apr 12, 2020
ac59d0a
use target instead of arch
jd-lara Apr 12, 2020
bd031d9
fix petsc dir
jd-lara Apr 12, 2020
9fa5873
add make install call
jd-lara Apr 12, 2020
268713e
add sowing configuration
jd-lara Apr 12, 2020
048a8ec
change source type
jd-lara Apr 12, 2020
4cd2553
add hash
jd-lara Apr 12, 2020
2a5809d
add comment about sowing
jd-lara Apr 13, 2020
3d82ad8
Update P/PETSc/build_tarballs.jl
jd-lara Apr 13, 2020
308d120
[PETSc] Fix quotes
giordano Apr 13, 2020
d4af6f7
[PETSc] Fix lapack suffix
giordano Apr 13, 2020
fab99cc
Update build_tarballs.jl
jd-lara Apr 13, 2020
1baa11f
Update build_tarballs.jl
jd-lara Apr 13, 2020
60b66a3
update link and native options
jd-lara Apr 13, 2020
6c210fc
run make with one core
jd-lara Apr 13, 2020
7705c04
try again for windows
jd-lara Apr 14, 2020
ee69831
fix typo
jd-lara Apr 14, 2020
6ed93fa
fix bad comparison
jd-lara Apr 14, 2020
40353b4
try to get the logs
jd-lara Apr 14, 2020
3d90566
Update P/PETSc/build_tarballs.jl
jd-lara Apr 14, 2020
abb6a6e
remove no-shared flags in windows
jd-lara Apr 14, 2020
db347e1
[PETSc] Fix detection of `direct.h` header file
giordano Apr 15, 2020
c084dd8
update tarballs
jd-lara Apr 15, 2020
77036ce
Update P/PETSc/build_tarballs.jl
jd-lara Apr 16, 2020
959f059
[PETSc] Set CPPFLAGS for Windows, fix more header cases
giordano Apr 20, 2020
0f1be6f
[PETSc] Move libraries for Windows to the correct place
giordano Apr 20, 2020
899fc66
[PETSc] Force use of `-fPIC` for PowerPC
giordano Apr 20, 2020
cabf0f3
try using openmpi flags
jd-lara Apr 20, 2020
391894c
change specification of openmpi dirs
jd-lara Apr 20, 2020
83fbdb7
change MPI versions
jd-lara Apr 20, 2020
c4bf4f2
update build
jd-lara Apr 20, 2020
d2f865b
update build
jd-lara Apr 20, 2020
a4c75d8
remove mpiexec
jd-lara Apr 20, 2020
d64712a
remove improper file reference
jd-lara Apr 20, 2020
93a16d5
using other compilers didnt work
jd-lara Apr 20, 2020
0371a12
link libmpifort
jd-lara Apr 20, 2020
b6350c0
[PETSc] Configure Windows to use MicrosoftMPI
giordano Apr 20, 2020
e8da39c
[PETSc] Remove workaround not needed anymore
giordano Apr 24, 2020
a88c54a
update petsc version
jd-lara May 5, 2020
d638543
comment the header patches
jd-lara May 5, 2020
81ee429
exclude win 32 bits
jd-lara Aug 7, 2020
93611f7
naive try
jd-lara Aug 7, 2020
208df14
switch to openblas 32
jd-lara Aug 7, 2020
8b5b3fa
add flag for MPI indexing
jd-lara Aug 7, 2020
0478348
remove unused patch
jd-lara Aug 7, 2020
5bf29fa
add missing space an SuperLU place holder
jd-lara Aug 7, 2020
9821d59
fix blas suffix
jd-lara Aug 7, 2020
5720e31
try addint superlu MT
jd-lara Aug 8, 2020
d0258f2
use PETSc's superlu. SuperLU MT not compatible
jd-lara Aug 8, 2020
c4742d1
remove superlu
jd-lara Aug 16, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions P/PETSc/build_tarballs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,13 @@ else
blas_64=0
fi

./configure CC=$CC FC=$FC CXX=$CXX --with-batch --PETSC_ARCH=$BUILD_AR --with-blaslapack-lib=$BLAS_LAPACK_LIB --with-blaslapack-suffix=$BLAS_LAPACK_SUFFIX --known-64-bit-blas-indices=$blas_64 --with-mpi=0
opt_flags="--with-debugging=0 COPTFLAGS='-O3 -march=native -mtune=native' -CXXOPTFLAGS='-O3 -march=native -mtune=native' FOPTFLAGS='-O3 -march=native -mtune=native"
jd-lara marked this conversation as resolved.
Show resolved Hide resolved
./configure $opt_flags CC=$CC FC=$FC CXX=$CXX --with-batch --PETSC_ARCH=$BUILD_AR --with-blaslapack-lib=$BLAS_LAPACK_LIB --with-blaslapack-suffix=$BLAS_LAPACK_SUFFIX --known-64-bit-blas-indices=$blas_64 --with-mpi=0
jd-lara marked this conversation as resolved.
Show resolved Hide resolved

# Generates some errors when mpi is included. These flags detect it properly
# --with-mpi-lib="${libdir}/libmpi.${dlext}" --with-mpi-include="$includedir"

make all test
make PETSC_DIR=$(pwd()) PETSC_ARCH=$BUILD_AR

# Move libraries to ${libdir} on Windows
if [[ "${target}" == *-mingw* ]]; then
Expand Down