diff options
Diffstat (limited to 'homebrew/petsc/.beer')
-rw-r--r-- | homebrew/petsc/.beer | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/homebrew/petsc/.beer b/homebrew/petsc/.beer new file mode 100644 index 000000000..d921d8aea --- /dev/null +++ b/homebrew/petsc/.beer @@ -0,0 +1,59 @@ +{ + "name": "Petsc", + "description": "Portable, Extensible Toolkit for Scientific Computation (real)", + "url": "http://ftp.mcs.anl.gov/pub/petsc/release-snapshots/petsc-lite-3.10.3.tar.gz", + "mirror": null, + "homepage": "https://www.mcs.anl.gov/petsc/", + "depends": [ + { + "depend": "hdf5", + "build-depend": false + }, + { + "depend": "hwloc", + "build-depend": false + }, + { + "depend": "metis", + "build-depend": false + }, + { + "depend": "netcdf", + "build-depend": false + }, + { + "depend": "open-mpi", + "build-depend": false + }, + { + "depend": "scalapack", + "build-depend": false + }, + { + "depend": "suite-sparse", + "build-depend": false + } + ], + "resource": [], + "conflicts": [ + { + "conflict": "petsc-complex", + "reason": "petsc must be installed with either real or complex support, not both" + } + ], + "patches": [], + "install": [ + "ENV[\"CC\"] = \"mpicc\"", + "ENV[\"CXX\"] = \"mpicxx\"", + "ENV[\"F77\"] = \"mpif77\"", + "ENV[\"FC\"] = \"mpif90\"", + "system \"./configure\", \"--prefix=#{prefix}\",", + "\"--with-debugging=0\",", + "\"--with-scalar-type=real\",", + "\"--with-x=0\"", + "system \"make\", \"all\"", + "system \"make\", \"install\"" + ], + "version": "3.10.3", + "file": "petsc.rb" +}
\ No newline at end of file |