This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| tcr_sri001 [2020/04/18 23:43] – created tmatejuk | tcr_sri001 [2023/08/01 01:08] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | FIX ME | ||
| + | FIX ME | ||
| + | FIX ME | ||
| + | |||
| + | ====== GROMACS 2020.1 ====== | ||
| ==== description ==== | ==== description ==== | ||
| - | GROMACS 2020.1 | + | GROningen MAchine for Chemical Simulations (GROMACS) is a molecular dynamics package mainly designed for simulations of proteins, lipids, and nucleic acids. Software page : [[http:// |
| ==== software version ==== | ==== software version ==== | ||
| GROMACS 2020.1, http:// | GROMACS 2020.1, http:// | ||
| + | ==== prepare software ==== | ||
| + | To prepare GROMACS (ver. 2020.1) software login to tcr.cent.uw.edu.pl. | ||
| + | |||
| + | Then open interactive session on any computing node with : | ||
| + | srun -n16 -N1 --pty bash -l | ||
| + | |||
| + | When interactive session is started go through GROMACS installation process described with bellow commands. It will take about 30 minutes. | ||
| + | module load compilers/ | ||
| + | module load mpi/ | ||
| + | | ||
| + | #folder for source files | ||
| + | mkdir -p ~/ | ||
| + | #folder for compiled binares | ||
| + | mkdir -p ~/ | ||
| + | | ||
| + | cd ~/ | ||
| + | wget http:// | ||
| + | tar xzf gromacs-2020.1.tar.gz | ||
| + | cd gromacs-2020.1 | ||
| + | mkdir build | ||
| + | cd build | ||
| + | | ||
| + | cmake3 .. -DGMX_BUILD_OWN_FFTW=ON -DREGRESSIONTEST_DOWNLOAD=ON -DGMX_MPI=ON -DGMX_USE_RDTSCP=ON -DCMAKE_INSTALL_PREFIX=/ | ||
| + | | ||
| + | time make -j${SLURM_NTASKS} all | ||
| + | make install | ||
| + | |||
| + | remember to end interactive session with '' | ||
| + | |||
| + | If no errors occurred, compiled GROMACS binaries are available in ''/ | ||
| + | |||
| + | ==== sbatch example ==== | ||
| + | Use GROMACS 2020.1. This description assumes that path to binaries is ''/ | ||
| + | #!/bin/bash -l | ||
| + | #SBATCH --job-name=" | ||
| + | #SBATCH --nodes=2 | ||
| + | #SBATCH --ntasks=32 | ||
| + | #SBATCH --mem-per-cpu=2G | ||
| + | #SBATCH --partition=short | ||
| + | #SBATCH --constraint=intel | ||
| + | #SBATCH --exclusive | ||
| + | #SBATCH --time=2: | ||
| + | | ||
| + | module load compilers/ | ||
| + | module load mpi/ | ||
| + | | ||
| + | source / | ||
| + | | ||
| + | WORKDIR="/ | ||
| + | mkdir -p ${WORKDIR} | ||
| + | #copy input files and pseudo files to ${WORKDIR} | ||
| + | cp / | ||
| + | cd ${WORKDIR} | ||
| + | tar xzf GROMACS_TestCaseA.tar.gz | ||
| + | | ||
| + | T1=`date +%s` | ||
| + | | ||
| + | mpirun gmx_mpi mdrun -s ion_channel.tpr -maxh 0.50 -resethway -noconfout -nsteps 10000 -g logile | ||
| + | | ||
| + | T2=`date +%s` | ||
| + | echo -e "stop ${T2}\t start ${T1}\t ${SLURM_NNODES}" | ||
| + | |||
| + | ==== performance tests ==== | ||
| + | FIXME | ||