Skip to content

Commit

Permalink
try slepc fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sgarnotel committed Jun 24, 2024
1 parent 69dc66f commit 29b759c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 115 deletions.
4 changes: 2 additions & 2 deletions 3rdparty/ff-petsc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ FLAGS_MTUNE := -mtune=native
endif
unexport MAKEFLAGS
COMMON_FLAGS := --with-debugging=0 COPTFLAGS='-O3 $(FLAGS_MTUNE)' CXXOPTFLAGS='-O3 $(FLAGS_MTUNE)' FOPTFLAGS='-O3 $(FLAGS_MTUNE)' --with-ssl=0 --with-x=0 --with-fortran-bindings=0 --with-cudac=0 --with-tau-perfstubs=0 \
--download-slepc --download-slepc-commit=91d610c5c24db59eb69b9c9f4385582415a0957d --download-hpddm
--download-slepc --download-hpddm

ifneq ($(wildcard ~/.petsc_pkg),)
COMMON_FLAGS += --with-packages-download-dir=~/.petsc_pkg
Expand Down Expand Up @@ -216,7 +216,7 @@ Makefile.inc:../../config.status Makefile Makefile-PETSc.inc

$(SRCDIR)/tag-conf-real:$(SRCDIR)/tag-tar
cd $(SRCDIR) && $(PYTHON) ./configure --prefix=$(DIR_INSTALL_REAL) \
$(FLAGS_CONF_PETSC_REAL) PETSC_ARCH=fr || cat configure.log;
$(FLAGS_CONF_PETSC_REAL) PETSC_ARCH=fr;
test -f $(SRCDIR)/fr/lib/petsc/conf/petscvariables
mkdir -p $(SRCDIR)/fc/externalpackages || true
cp -r $(SRCDIR)/fr/externalpackages/git.slepc $(SRCDIR)/fr/externalpackages/git.hpddm $(SRCDIR)/fc/externalpackages || true
Expand Down
116 changes: 3 additions & 113 deletions 3rdparty/getall
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,14 @@ getopts( 'afho:', \%opts );
if ( $opts{h} ) {
print <<EOF;
getall [options]: Download third-party packages independently of the FreeFEM configuration procedure
Available options:
-a = accept all licences without further user interaction
-f = force downloads even if packages are already present locally
-h = this help
-o name,name,... = only download packages with the given names
EOF
exit 0;
}
Expand Down Expand Up @@ -245,119 +248,6 @@ download(
'0bb68b348861a796ddfc2e94e3fcd02d'
);

download(
'freeYams',
'https://www.ljll.math.upmc.fr/frey/ftp/archives/freeyams.2012.02.05.tgz',
'https://www.ljll.math.upmc.fr/frey/software.html',
'freeyams.2012.02.05.tgz',
'b7c82a256a3e59beeb2b578de93a4e0b'
);
download(
'Gmm++',
'http://pkgs.freefem.org/gmm-4.2.tar.gz',
'http://pkgs.freefem.org/',
'gmm-4.2.tar.gz',
'35fe900f7459c49f4b4337dc691c8cdf'
);
download(
'Ipopt',
'http://www.coin-or.org/download/source/Ipopt/Ipopt-3.12.4.tgz',
'https://projects.coin-or.org/Ipopt',
'Ipopt-3.12.4.tgz',
'12a8ecaff8dd90025ddea6c65b49cb03'
);
download(
'METIS',
'http://glaros.dtc.umn.edu/gkhome/fetch/sw/metis/metis-5.1.0.tar.gz',
'http://www.netlib.org/linalg/',
'metis-5.1.0.tar.gz',
'5465e67079419a69e0116de24fce58fe'
);
download(
'ParMETIS',
'http://glaros.dtc.umn.edu/gkhome/fetch/sw/parmetis/parmetis-4.0.3.tar.gz',
'http://glaros.dtc.umn.edu/gkhome/fetch/sw/parmetis/',
'ParMetis-4.0.3.tar.gz',
'f69c479586bf6bb7aff6a9bc0c739628'
);
download(
'MMG3D',
'http://www.math.u-bordeaux1.fr/~dobrzyns/logiciels/download/mmg3d4.0.tgz',
'http://www.math.u-bordeaux1.fr/~dobrzyns/logiciels/mmg3d.php',
'mmg3d4.0.tgz',
'bfc2b0373bc208e0512415d1aa2e76a1'
);
download(
'mshmet',
'https://www.ljll.math.upmc.fr/frey/ftp/archives/mshmet.2012.04.25.tgz',
'https://www.ljll.math.upmc.fr/frey/software.html',
'mshmet.2012.04.25.tgz',
'427f397e0602efc56aa897d38a8e9bfa'
);
download(
'MUMPS',
'http://mumps.enseeiht.fr/MUMPS_5.0.2.tar.gz',
'http://mumps.enseeiht.fr/',
'MUMPS_5.0.2.tar.gz',
'591bcb2c205dcb0283872608cdf04927'
);
download(
'NLopt',
'http://ab-initio.mit.edu/nlopt/nlopt-2.2.4.tar.gz',
'http://ab-initio.mit.edu/wiki/index.php/NLopt',
'nlopt-2.2.4.tar.gz',
'9c60c6380a10c6d2a06895f0e8756d4f'
);
download(
'ScaLAPACK',
'http://www.netlib.org/scalapack/scalapack-2.1.0.tgz',
'http://www.netlib.org/scalapack/',
'scalapack-2.1.0.tgz',
'3b239ef80353c67354a0a62d54946fa8'
);
download(
'Scotch',
'https://gitlab.inria.fr/scotch/scotch/-/archive/v6.1.0/scotch-v6.1.0.tar.gz',
'https://gitlab.inria.fr/scotch/',
'scotch-v6.1.0.tar.gz',
'7bfad4aaa851af6815b2160da7ebe36a'
);
download(
'SuiteSparse',
'http://faculty.cse.tamu.edu/davis/SuiteSparse/SuiteSparse-4.4.4.tar.gz',
'http://faculty.cse.tamu.edu/davis/SuiteSparse/',
'SuiteSparse-4.4.4.tar.gz',
'e0af74476935c9ff6d971df8bb6b82fc'
);
download(
'SuperLU',
'https://github.com/xiaoyeli/superlu/archive/v5.2.2.zip',
'https://github.com/xiaoyeli/superlu',
'superlu-5.2.2.zip',
'6e24842b0aa07f457d929b162e09ca6c'
);
download(
'TetGen',
'http://www.tetgen.org/1.5/src/tetgen1.5.1-beta1.tar.gz',
'http://www.tetgen.org/1.5/src/',
'tetgen1.5.1-beta1.tar.gz',
'3d55c197bcbfc611b7ced6f343643756'
);
download(
'mmg',
'https://github.com/MmgTools/mmg/archive/a90b665e909a3921490d3e281f7afa2d243a5ba0.zip',
'https://github.com/MmgTools',
'mmg.zip',
'd824d08dac0544caff20a915194da0fe'
);
download(
'parmmg',
'https://github.com/MmgTools/ParMmg/archive/f78f4e3e1019137787588aab7a8052fbc60dada2.zip',
'https://github.com/MmgTools',
'parmmg.zip',
'9a76fef6be1ab66af3a813409a0388c9'
);

download(
'htool',
'https://github.com/htool-ddm/htool/archive/946875d79d0036afb4dc2c0c13c165a607d830df.zip',
Expand Down

0 comments on commit 29b759c

Please sign in to comment.