Skip to content

Commit

Permalink
Merge branch 'v2.9'
Browse files Browse the repository at this point in the history
  • Loading branch information
GiovanniBussi committed Apr 19, 2024
2 parents 7c8c98f + e5b5370 commit 1daf1a9
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 26 deletions.
6 changes: 3 additions & 3 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -5044,9 +5044,9 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext


save_CXXFLAGS="$CXXFLAGS"
CXXFLAGS="$CXXFLAGS -Wredundant-delcs"
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wredundant-delcs" >&5
$as_echo_n "checking whether $CXX accepts -Wredundant-delcs... " >&6; }
CXXFLAGS="$CXXFLAGS -Wredundant-decls"
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -Wredundant-decls" >&5
$as_echo_n "checking whether $CXX accepts -Wredundant-decls... " >&6; }
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ then
PLUMED_CHECK_CXXFLAG([-Wcast-qual])
PLUMED_CHECK_CXXFLAG([-Wcast-align])
PLUMED_CHECK_CXXFLAG([-Wconversion])
PLUMED_CHECK_CXXFLAG([-Wredundant-delcs])
PLUMED_CHECK_CXXFLAG([-Wredundant-decls])
PLUMED_CHECK_CXXFLAG([-Wvariadic-macros])
PLUMED_CHECK_CXXFLAG([-Wold-style-cast])
fi
Expand Down
29 changes: 8 additions & 21 deletions user-doc/tutorials/a-master-ISDD-1.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,30 +24,16 @@ In this and in the next tutorial, we will use two pieces of software: <a href="h

\subsection master-ISDD-1-install Installation

First, check if `conda` is installed on your machine by typing:
You should have all the software installed in a conda environment.
To check this, you can type:

\verbatim
conda
\endverbatim

In case the command is not found, please follow the instructions below to install `conda` in the
directory `/path/to/conda`. You can choose it in your home so that you will have write permission to it.
If `conda` is already installed on your machine, please skip the instructions below and move directly
to the creation of the `conda` environment for this tutorial.

\verbatim
# on Linux:
wget -c https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
# on MacOS:
# wget -c https://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh -O miniconda.sh
bash ./miniconda.sh -b -f -p /path/to/conda
# export PATH to find the conda executable
export PATH="/path/to/conda/bin:$PATH"
# initialize bash shell
conda init bash
# activate environment
conda activate ISDD-tutorial-2024
\endverbatim

Now we can create a `conda` environment for the ISDD tutorial using the following commands:
If the environment is not found, you can prepare it yourself.
First, you need to create the conda environment with:

\verbatim
# create environment
Expand All @@ -66,11 +52,12 @@ Finally, we can proceed with the installation of the required software:
\verbatim
conda install --strict-channel-priority -c plumed/label/isdd-2024 -c conda-forge plumed
conda install --strict-channel-priority -c plumed/label/isdd-2024 -c conda-forge gromacs
conda install -c conda-forge numpy
\endverbatim

The `--strict-channel-priority` might be necessary in case your `conda` install is configured to download packages from the `bioconda` channel. Indeed, `bioconda` contains a version of GROMACS that is **not** patched with PLUMED and would thus not work here.

Keep in mind that every time you open a new shell, in order to use PLUMED and GROMACS you need to
Please keep in mind that every time you open a new shell, in order to use PLUMED and GROMACS you need to
activate the `ISDD-tutorial-2024` environment using the following command:

\verbatim
Expand Down
2 changes: 1 addition & 1 deletion user-doc/tutorials/a-master-ISDD-2.txt
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ This default choice should be reasonable for most applications.
Once your `plumed.dat` file is complete, you can run a 10-ns long metadynamics simulations with the following command:

\verbatim
gmx_mpi mdrun -s topol.tpr -nsteps 5000000 -plumed plumed.dat
gmx_mpi mdrun -s topol.tpr -nsteps 5000000 -plumed plumed.dat -ntomp 1
\endverbatim

During the metadynamics simulation, PLUMED will create two files, named `COLVAR` and `HILLS`.
Expand Down

0 comments on commit 1daf1a9

Please sign in to comment.