Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
installation_guide [2025/07/26 06:21] peterkinstallation_guide [2025/10/21 19:13] (current) – [Prerequisites] may
Line 21: Line 21:
 ''%%/usr/local/molpro-mpptype-arch/lib/.token%%'' ''%%/usr/local/molpro-mpptype-arch/lib/.token%%''
  
-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 101: Line 101:
   - The source code of Molpro.   - The source code of Molpro.
  
-There are example Dockerfiles for {{:Dockerfile.fc42.txt|fedora}}, {{:Dockerfile.lp156.txt|suse}} and {{:Dockerfile.ubuntu24.04.txt|ubuntu}}. For Mac one could use:+There are example Dockerfiles for {{:Dockerfile.fc42.txt|fedora}}, {{:Dockerfile.lp160.txt|suse}} and {{:Dockerfile.ubuntu24.04.txt|ubuntu}}. For Mac one could use:
 <code> <code>
 #!/bin/sh #!/bin/sh
Line 109: Line 109:
 # prerequisite 2: install homebrew, starting from https://brew.sh # prerequisite 2: install homebrew, starting from https://brew.sh
 PREFIX=$HOME/.local/molpro-build # installation directory PREFIX=$HOME/.local/molpro-build # installation directory
-remove=1 # if not 1, the source/build directories will be retained 
  
 brew info open-mpi | egrep 'Installed$' && brew unlink open-mpi brew info open-mpi | egrep 'Installed$' && brew unlink open-mpi
Line 116: Line 115:
  
 GA_VERSION=5.9.2 GA_VERSION=5.9.2
-wget -O - https://github.com/GlobalArrays/ga/releases/download/v${GA_VERSION}/ga-${GA_VERSION}.tar.gz | tar xzf - && cd ga-${GA_VERSION} && ./configure --prefix=$PREFIX --with-blas=no --with-lapack=no --with-scalapack=no --disable-f77 --with-mpi-pr CC=mpicc CXX=mpicxx && make -j20 && make install && cd .. && test $remove=1 && rm -rf ga-${GA_VERSION}*+wget -O - https://github.com/GlobalArrays/ga/releases/download/v${GA_VERSION}/ga-${GA_VERSION}.tar.gz | tar xzf - && cd ga-${GA_VERSION} && ./configure --prefix=$PREFIX --with-blas=no --with-lapack=no --with-scalapack=no --disable-f77 --with-mpi-pr CC=mpicc CXX=mpicxx && make -j20 && make install && cd .. && rm -rf ga-${GA_VERSION}*
  
 HDF5_VERSION=1.14.6 HDF5_VERSION=1.14.6
-wget -O - https://github.com/HDFGroup/hdf5/releases/download/hdf5_${HDF5_VERSION}/hdf5-${HDF5_VERSION}.tar.gz | tar xzf - && cd hdf5-${HDF5_VERSION} && ./configure --enable-parallel --prefix=$PREFIX CC=mpicc CXX=mpicxx && make -j20 && make install && cd .. && test $remove=1 && rm -rf hdf5-${HDF5_VERSION}*+wget -O - https://github.com/HDFGroup/hdf5/releases/download/hdf5_${HDF5_VERSION}/hdf5-${HDF5_VERSION}.tar.gz | tar xzf - && cd hdf5-${HDF5_VERSION} && ./configure --enable-parallel --prefix=$PREFIX CC=mpicc CXX=mpicxx && make -j20 && make install && cd .. && rm -rf hdf5-${HDF5_VERSION}*
  
 if [ x$1 = xbuild ]; then if [ x$1 = xbuild ]; then
Line 136: Line 135:
 build_environment=molpro-build build_environment=molpro-build
 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
-remove=1 # if not 1, the source/build directories will be retained 
  
 source $(dirname $(dirname $CONDA_EXE))/etc/profile.d/conda.sh source $(dirname $(dirname $CONDA_EXE))/etc/profile.d/conda.sh
Line 145: Line 143:
  
 GA_VERSION=5.9.2 GA_VERSION=5.9.2
-wget -O - https://github.com/GlobalArrays/ga/releases/download/v${GA_VERSION}/ga-${GA_VERSION}.tar.gz | tar xzf - && cd ga-${GA_VERSION} && ./configure --prefix=$PREFIX --with-blas=no --with-lapack=no --with-scalapack=no --disable-f77 --with-mpi-pr CC=mpicc CXX=mpicxx && make -j20 && make install && cd .. && test $remove=1 && rm -rf ga-${GA_VERSION}*+wget -O - https://github.com/GlobalArrays/ga/releases/download/v${GA_VERSION}/ga-${GA_VERSION}.tar.gz | tar xzf - && cd ga-${GA_VERSION} && ./configure --prefix=$PREFIX --with-blas=no --with-lapack=no --with-scalapack=no --disable-f77 --with-mpi-pr CC=mpicc CXX=mpicxx && make -j20 && make install && cd .. && rm -rf ga-${GA_VERSION}*
  
 HDF5_VERSION=1.14.6 HDF5_VERSION=1.14.6
-wget -O - https://github.com/HDFGroup/hdf5/releases/download/hdf5_${HDF5_VERSION}/hdf5-${HDF5_VERSION}.tar.gz | tar xzf - && cd hdf5-${HDF5_VERSION} && ./configure --enable-parallel --prefix=$PREFIX CC=mpicc CXX=mpicxx && make -j20 && make install && cd .. && test $remove=1 && rm -rf hdf5-${HDF5_VERSION}*+wget -O - https://github.com/HDFGroup/hdf5/releases/download/hdf5_${HDF5_VERSION}/hdf5-${HDF5_VERSION}.tar.gz | tar xzf - && cd hdf5-${HDF5_VERSION} && ./configure --enable-parallel --prefix=$PREFIX CC=mpicc CXX=mpicxx && make -j20 && make install && cd .. && rm -rf hdf5-${HDF5_VERSION}*
  
 git clone git@github.com:molpro/molpro git clone git@github.com:molpro/molpro