Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • ogs/container-maker
  • kristofkessler/container-maker
2 results
Show changes
Commits on Source (1)
......@@ -207,7 +207,7 @@ ogs.py:
--dev Installs development tools (vim, gdb) (default: False)
--mkl Use MKL. By setting this option, you agree to the [Intel End User License Agreement](https://software.intel.com/en-us/articles/end-user-license-agreement). (default: False)
--petsc_configure_args PETSC_CONFIGURE_ARGS
PETSc configuration arguments; has to be quoted. (default: --with-fc=0)
PETSc configuration arguments; has to be quoted. (default: --with-fc=0 --download-f2cblaslapack=1)
--version_file VERSION_FILE
OGS versions.json file (default: None)
--boost-sourceforge Boolean flag to specify whether Boost should be downloaded from SourceForge rather than the current Boost repository. (default: False)
......
......@@ -138,7 +138,7 @@ if toolchain.CC == "mpicc":
parse_g.add_argument(
"--petsc_configure_args",
type=str,
default="--with-fc=0",
default="--with-fc=0 --download-f2cblaslapack=1",
help="PETSc configuration arguments; has to be quoted.",
)
parse_g.add_argument("--version_file", type=str, help="OGS versions.json file")
......@@ -497,20 +497,13 @@ if local_args.ogs != "clean":
"--CXXFLAGS='-O3'",
"--FFLAGS='-O3'",
"--with-debugging=no",
"--download-f2cblaslapack=./f2cblaslapack-3.4.2.q4.tar.gz",
]
# TODO: remove last line and wget in preconfigure when upgrading
# to PETSc > 3.18
petsc_configure_opts.extend(petsc_args)
Stage0 += generic_autotools(
configure_opts=petsc_configure_opts,
devel_environment={"CMAKE_PREFIX_PATH": "/usr/local/petsc"},
directory=f"petsc-{petsc_version}",
ldconfig=True,
preconfigure=[
"wget http://ftp.mcs.anl.gov/pub/petsc/externalpackages/f2cblaslapack-3.4.2.q4.tar.gz",
"sed -i -- 's/python/python3/g' configure",
],
prefix="/usr/local/petsc",
toolchain=toolchain,
url=f"http://ftp.mcs.anl.gov/pub/petsc/release-snapshots/petsc-lite-{petsc_version}.tar.gz",
......