{numlib}[foss/2021a] PETSc v3.17.0 w/ Python 3.9.5#15519
{numlib}[foss/2021a] PETSc v3.17.0 w/ Python 3.9.5#15519sassy-crick wants to merge 4 commits intoeasybuilders:developfrom
Conversation
| configopts += '--LIBS="-lm -lpthread -lrt" --with-mpi4py=0 ' | ||
| configopts += '--CFLAGS="-O2 -ftree-vectorize -march=native -fno-math-errno -fopenmp -fPIC" ' | ||
| configopts += '--CXXFLAGS="-O2 -ftree-vectorize -march=native -fno-math-errno -fopenmp -fPIC ' | ||
| configopts += '-DOMPI_SKIP_MPICXX -DMPICH_SKIP_MPICXX" --with-mpi=1 --with-build-step-np=4 ' | ||
| configopts += '--FFLAGS="-O2 -ftree-vectorize -march=native -fno-math-errno -fopenmp -fPIC" ' | ||
| configopts += '--with-shared-libraries=1 --with-debugging=0 --with-pic=1 --with-x=0 ' | ||
| configopts += '--with-windows-graphics=0 --with-numpy=1 --with-fftw=1 --with-scalapack=1 ' | ||
| configopts += '--with-blaslapack-lib="[/home/sassy/apps/software/FlexiBLAS/3.0.4-GCC-10.3.0/lib/' | ||
| configopts += 'libflexiblas.a,libgfortran.a]" ' |
There was a problem hiding this comment.
this could do with cleaning up, probably something along the lines of:
| configopts += '--LIBS="-lm -lpthread -lrt" --with-mpi4py=0 ' | |
| configopts += '--CFLAGS="-O2 -ftree-vectorize -march=native -fno-math-errno -fopenmp -fPIC" ' | |
| configopts += '--CXXFLAGS="-O2 -ftree-vectorize -march=native -fno-math-errno -fopenmp -fPIC ' | |
| configopts += '-DOMPI_SKIP_MPICXX -DMPICH_SKIP_MPICXX" --with-mpi=1 --with-build-step-np=4 ' | |
| configopts += '--FFLAGS="-O2 -ftree-vectorize -march=native -fno-math-errno -fopenmp -fPIC" ' | |
| configopts += '--with-shared-libraries=1 --with-debugging=0 --with-pic=1 --with-x=0 ' | |
| configopts += '--with-windows-graphics=0 --with-numpy=1 --with-fftw=1 --with-scalapack=1 ' | |
| configopts += '--with-blaslapack-lib="[/home/sassy/apps/software/FlexiBLAS/3.0.4-GCC-10.3.0/lib/' | |
| configopts += 'libflexiblas.a,libgfortran.a]" ' | |
| configopts += '--LIBS="$LIBS -lrt" --with-mpi4py=0 ' | |
| configopts += '--CFLAGS="$CFLAGS" ' | |
| configopts += '--CXXFLAGS="$CXXFLAGS ' | |
| configopts += '-DOMPI_SKIP_MPICXX -DMPICH_SKIP_MPICXX" --with-mpi=1 --with-build-step-np=4 ' | |
| configopts += '--FFLAGS="$FFLAGS" ' | |
| configopts += '--with-shared-libraries=1 --with-debugging=0 --with-pic=1 --with-x=0 ' | |
| configopts += '--with-windows-graphics=0 --with-numpy=1 --with-fftw=1 --with-scalapack=1 ' | |
| configopts += '--with-blaslapack-lib="$BLAS_LAPACK_LIB_DIR" | |
| ' |
There was a problem hiding this comment.
Thanks for the suggestion. much appreciated. The "$BLAS_LAPACK_LIB_DIR" is actually not needed, what is needed are the two libs libflexiblas.a,libgfortran.a which I replaced with -lflexiblas -lgfortran to stick to dynamic libs.
Please have a look at the log file to make sure I am not accidentally build it with the wrong flags. From what I can see, it is all working as intended but that does not mean it is correct.
| ('BLIS', '0.8.1'), | ||
| ('Szip', '2.1.1'), | ||
| ('HDF5', '1.12.1'), | ||
| ('Eigen', '3.3.9'), |
There was a problem hiding this comment.
Eigen should only need to be a build dependency (since it's header-only). I imagine googletest isn't a runtime requirement either
There was a problem hiding this comment.
True. I forgot about Eigen being only header. I was quite happy that it all worked after 2 days of playing with it to be honest. :-)
|
@sassy-crick Is there a strict need for a newer version of PETSc, or could you also use the existing |
Well, the reason I put myself into that was the installation of FreeFEM where, when I looked at the 3rd party files, I found that: So I thought I better stick to what they are using. I agree with you that is not an ideal situation to have two different versions of the same programs in one toolchain. I guess one way out of that is to push it up in the toolchain and see if the 3.17.1 versions are ok for that FreeFEM build. How far are we with |
Since 3.17.1 is a bugfix release, that should be fine for FreeFEM. |
There are two things which we need to consider:
That said, I am happy to push that up to version 3.17.1 do the same for PR 15550 (SLEPc) as they are mutually depending on each other in terms of version, and push the rest of the requirements up to |
|
@boegelbot please test @ generoso |
|
@boegel: Request for testing this PR well received on login1 PR test command '
Test results coming soon (I hope)... Details- notification for comment with ID 1291756479 processed Message to humans: this is just bookkeeping information for me, |
|
Test report by @boegelbot |
|
Closed this PR as it is using a rather old toolchain. |
(created using
eb --new-pr)Requires: