Skip to content

Commit

Permalink
Update module setup
Browse files Browse the repository at this point in the history
  • Loading branch information
marvinfriede committed Apr 8, 2024
1 parent 7161fe7 commit 1a84470
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 8 deletions.
12 changes: 8 additions & 4 deletions doc/apps-setup.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,18 @@ needed software, add the following lines to your ``.bashrc``:
.. code-block:: none
:linenos:
# AKbin
export PATH=/home/abt-grimme/AK-bin:$PATH
export PATH=/home/$USER/bin:$PATH
# make environment modules available
export BASH_ENV=/usr/share/lmod/lmod/init/bash
. ${BASH_ENV} > /dev/null
module use /software/modulefiles
module use /home/abt-grimme/modulefiles
module load turbomole orca
alias molden='/software/bin/molden'
# AKbin
export PATH=/home/abt-grimme/AK-bin:$PATH
export PATH=/home/$USER/bin:$PATH
# XTB
export OMP_NUM_THREADS=2
export MKL_NUM_THREADS=2
Expand Down
2 changes: 1 addition & 1 deletion doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
author = 'Grimme group'

# The full version, including alpha/beta/rc tags
release = 'SoSe2023'
release = 'SoSe2024'


# -- General configuration ---------------------------------------------------
Expand Down
22 changes: 19 additions & 3 deletions doc/prog-fortran.rst
Original file line number Diff line number Diff line change
Expand Up @@ -160,15 +160,31 @@ applications like building and running executables or creating new projects.
unexpected issues. We have carefully evaluated fpm and the advantage
of the simple user interface outweighs potential issues.

This course is structured such that it can be completed with or without using fpm.
This course is structured such that it can be completed with or without
using fpm.

.. note::

If you are doing this course on a machine in the Mulliken center you
have to activate the fpm installation by using the ``module`` commands:

.. code:: shell
export BASH_ENV=/usr/share/lmod/lmod/init/bash
. ${BASH_ENV} > /dev/null
module use /home/abt-grimme/modulefiles
module load fpm
To make access to fpm permanent, add these lines to your ``.bashrc`` file in
your home directory.

.. code:: shell
# make environment modules available
export BASH_ENV=/usr/share/lmod/lmod/init/bash
. ${BASH_ENV} > /dev/null
# load fpm
module use /home/abt-grimme/modulefiles
module load fpm
Expand Down Expand Up @@ -1121,7 +1137,7 @@ keyword.


Multidimensional Arrays
~~~~~~~~~~~~~~~~~~~~~~~
-----------------------

We will be dealing in the following chapter with multidimensional arrays,
usually in form of rank two arrays (matrices). Matrices are stored continuously
Expand All @@ -1142,7 +1158,7 @@ to produce more efficient programs.

.. tip::

Array slices should preferably used on continuous memory, practically
Array slices should preferably be used on continuous memory, practically
this means a colon should only be present in the innermost dimensions of
an array.

Expand Down

0 comments on commit 1a84470

Please sign in to comment.