Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| installation_guide [2025/07/22 13:43] – updated macOS peterk | installation_guide [2025/10/21 19:13] (current) – [Prerequisites] may | ||
|---|---|---|---|
| Line 21: | Line 21: | ||
| '' | '' | ||
| - | When your licence is valid for one specific computer only (e.g. licences of type node8, node32, and especially if you hold a trial licence), then it is necessary to determine and enter the sysid on your account page. Only after that, a valid token may be downloaded. | + | When your licence is valid for one specific computer only (e.g. licences of type node8, node32, and especially if you hold a trial licence), then it is necessary to determine and enter the sysid on your account page. Only after that, a valid token may be downloaded. This works on Linux or Mac. On Windows, a sysid cannot be determined, and thus the Molpro binary for Windows can only be used with a group (or site or service) licence. |
| Other configuration options may also be specified in the molpro script file found in the bin directory of the install. | Other configuration options may also be specified in the molpro script file found in the bin directory of the install. | ||
| Line 98: | Line 98: | ||
| - A large scratch file system containing a directory that users may write on. | - A large scratch file system containing a directory that users may write on. | ||
| - An MPI wrapped C++ compiler, eg. '' | - An MPI wrapped C++ compiler, eg. '' | ||
| + | - [[https:// | ||
| - The source code of Molpro. | - The source code of Molpro. | ||
| - | There are example Dockerfiles for {{: | + | There are example Dockerfiles for {{: |
| < | < | ||
| #!/bin/sh | #!/bin/sh | ||
| Line 108: | Line 109: | ||
| # prerequisite 2: install homebrew, starting from https:// | # prerequisite 2: install homebrew, starting from https:// | ||
| PREFIX=$HOME/ | PREFIX=$HOME/ | ||
| - | remove=1 # if not 1, the source/ | ||
| brew info open-mpi | egrep ' | brew info open-mpi | egrep ' | ||
| Line 115: | Line 115: | ||
| GA_VERSION=5.9.2 | GA_VERSION=5.9.2 | ||
| - | wget -O - https:// | + | wget -O - https:// |
| HDF5_VERSION=1.14.6 | HDF5_VERSION=1.14.6 | ||
| - | wget -O - https:// | + | wget -O - https:// |
| if [ x$1 = xbuild ]; then | if [ x$1 = xbuild ]; then | ||
| Line 136: | Line 136: | ||
| deploy_environment=molpro-build # change this to an existing environment in which you want molpro, if you like | deploy_environment=molpro-build # change this to an existing environment in which you want molpro, if you like | ||
| - | conda create -y -n ${build_environment} cxx-compiler c-compiler fortran-compiler mpich mkl-devel | + | source $(dirname $(dirname $CONDA_EXE))/ |
| + | conda create -y -n ${build_environment} cxx-compiler c-compiler fortran-compiler mpich eigen cmake git curl wget make | ||
| conda activate ${deploy_environment} && deploy_prefix=${CONDA_PREFIX} || exit 1 | conda activate ${deploy_environment} && deploy_prefix=${CONDA_PREFIX} || exit 1 | ||
| - | conda activate ${build_environment} | + | conda activate ${build_environment} |
| - | wget -O - https:// | + | if [ $(uname -m) != arm64 ]; then conda install -y mkl-devel; fi |
| - | cd ga-5.8.1 && ./configure --prefix=${CONDA_PREFIX} | + | |
| + | GA_VERSION=5.9.2 | ||
| + | wget -O - https:// | ||
| + | |||
| + | HDF5_VERSION=1.14.6 | ||
| + | wget -O - https:// | ||
| git clone git@github.com: | git clone git@github.com: | ||
| cd molpro | cd molpro | ||
| - | ./configure --prefix=${deploy_prefix} CXX=mpicxx && make -j20 && version=$(grep PACKAGE_VERSION build/ | + | ./configure --prefix=${deploy_prefix} CXX=mpicxx && make -j20 && version=$(grep PACKAGE_VERSION build/ |
| </ | </ | ||
| ==== Configuration ==== | ==== Configuration ==== | ||