diff --git a/package/petsc/3.19.6/install.sh b/package/petsc/3.19.6/install.sh new file mode 100755 index 0000000000000000000000000000000000000000..824e2b01121fbafb5a13ff41113ce1daae3f6218 --- /dev/null +++ b/package/petsc/3.19.6/install.sh @@ -0,0 +1,13 @@ +#!/bin/bash +set -x +set -e +. ${DOWNLOAD_TOOL} -u https://ftp.mcs.anl.gov/pub/petsc/release-snapshots/petsc-3.19.6.tar.gz +cd ${JARVIS_TMP} +rm -rf petsc-3.19.6 +tar -xvf ${JARVIS_DOWNLOAD}/petsc-3.19.6.tar.gz +cd petsc-3.19.6 +./configure F77=$F77 --prefix=$1 --with-cc=mpicc --with-cxx=mpicxx --with-fc=mpifort \ + --download-parmetis=1 --download-metis=1 \ + --download-hdf5=/root/test/hpcrunner/downloads/hdf5-1.13.0.tar.bz2 --force +make PETSC_DIR=${JARVIS_TMP}/petsc-3.19.6 PETSC_ARCH=arch-linux-c-debug all -j +make PETSC_DIR=${JARVIS_TMP}/petsc-3.19.6 PETSC_ARCH=arch-linux-c-debug install -j diff --git a/package/sundials/7.2.1/install.sh b/package/sundials/7.2.1/install.sh new file mode 100755 index 0000000000000000000000000000000000000000..960a7e7e7fa0ba43accfc3b8909566bb247f012e --- /dev/null +++ b/package/sundials/7.2.1/install.sh @@ -0,0 +1,15 @@ +#!/bin/bash +set -x +set -e +. ${DOWNLOAD_TOOL} -u https://github.com/LLNL/sundials/archive/refs/tags/v7.2.1.tar.gz +cd ${JARVIS_TMP} +rm -rf sundials-7.2.1 +tar -xvf ${JARVIS_DOWNLOAD}/sundials-7.2.1.tar.gz +cd sundials-7.2.1 +mkdir build && cd build +echo $1 +cmake -DCMAKE_INSTALL_PREFIX=$1 \ + -DBUILD_SHARED_LIBS=ON \ + -DCMAKE_BUILD_TYPE=Release \ + -DEXAMPLES_ENABLE=OFF .. +make -j && make install diff --git a/package/vtk/9.4.1/install.sh b/package/vtk/9.4.1/install.sh new file mode 100755 index 0000000000000000000000000000000000000000..f22e0227d6357fa8d30fd78f71320be8c98d38b1 --- /dev/null +++ b/package/vtk/9.4.1/install.sh @@ -0,0 +1,11 @@ +#!/bin/bash +set -x +set -e +. ${DOWNLOAD_TOOL} -u https://vtk.org/files/release/9.4/VTK-9.4.1.tar.gz +cd ${JARVIS_TMP} +rm -rf VTK-9.4.1 +tar -xvf ${JARVIS_DOWNLOAD}/VTK-9.4.1.tar.gz +cd VTK-9.4.1 +mkdir build && cd build +cmake -DCMAKE_INSTALL_PREFIX=$1 .. +make -j && make install diff --git a/package/xerces/3.3.0/install.sh b/package/xerces/3.3.0/install.sh new file mode 100755 index 0000000000000000000000000000000000000000..0a5f128796964d4d164a98e4b9f4021b98380b95 --- /dev/null +++ b/package/xerces/3.3.0/install.sh @@ -0,0 +1,11 @@ +#!/bin/bash +set -x +set -e +. ${DOWNLOAD_TOOL} -u https://archive.apache.org/dist/xerces/c/3/sources/xerces-c-3.3.0.tar.gz +cd ${JARVIS_TMP} +rm -rf xerces-c-3.3.0 +tar -xvf ${JARVIS_DOWNLOAD}/xerces-c-3.3.0.tar.gz +cd xerces-c-3.3.0 +export XERCESCROOT='pwd' +./configure --prefix=$1 +make -j all && make install