File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ . /usr/local/gromacs/bin/GMXRC.bash
4+
5+ gmx mdrun -s /home/user/input/md.tpr -e $EDR -x $XTC -o $TRR -g $LOG \
6+ -maxh 0.50 -resethway -noconfout -nsteps 10000 -nt 8 -pin on
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+ # SBATCH --job-name=run_gromacs_gpu
3+ # SBATCH --ntasks=8
4+ # SBATCH --partition=gpu
5+ # SBATCH --output=gromacs-gpu-%j.out
6+ # SBATCH --error=gromacs-gpu-%j.err
7+
8+ export TUT_DIR=$HOME /udocker-tutorial
9+ export PATH=$HOME /udocker-1.3.17/udocker:$PATH
10+ export UDOCKER_DIR=$TUT_DIR /.udocker
11+ export GROM_INPUT=$TUT_DIR /udocker-files/gromacs-gpu
12+
13+ export OUT_NAME=$GROM_INPUT /output/ud-gpu-tutorial
14+ export TRR=${OUT_NAME} .trr
15+ export XTC=${OUT_NAME} .xtc
16+ export EDR=${OUT_NAME} .edr
17+ export LOG=${OUT_NAME} .log
18+ mkdir -p $OUT_NAME
19+ module load python
20+ cd $TUT_DIR
21+
22+ echo " ###############################"
23+ udocker run -v=$GROM_INPUT :/home/user -w=/home/user grom_gpu /home/user/run-grom-gpu.sh
You can’t perform that action at this time.
0 commit comments