I have a problem in understanding the inputs for equilibrate as i read i have to equilibrate the initial structure at every temperature before starting the REMD simulation. so if I have 10 temperatures I should have 10 files with.mdp with ref-temp in the setting .mdp file contains different temperatures each file of them… I made a for loop for this but couldn’t run the second command will it be like that ?
count=1
for temp in 300.00 306.37 312.84 319.42 326.11 332.92 339.85 346.89 354.06
do
echo "; RUN CONTROL PARAMETERS
###the settings parameters ###
The problem is coming from the fact that somehow your counter is reaching 13 when it shouldn’t, hence you are telling mdrun to process a file (nvt.tpr) that does not exist. Equilibration is performed like any other simulation and does not necessarily require the use of -multidir.
apperciate your reply … Thanks a lot
so the code should be like that
count=1
for temp in 300.00 306.37 312.84 319.42 326.11 …
echo "; RUN CONTROL PARAMETERS
###the settings parameters ###
do
mx grompp -f nvt$count.mdp -c nvt.gro -t nvt.cpt -p topol.top -o nvt$count.tpr;
gmx mdrun -v -deffnm nvt$count -nb gpu
count=$((count+1))
as i got
Changing nstlist from 10 to 80, rlist from 0.9 to 1.041
On host lambda-quad 2 GPUs selected for this run.
Mapping of GPU IDs to the 2 GPU tasks in the 2 ranks on this node:
PP:0,PP:1
PP tasks will do (non-perturbed) short-ranged and most bonded interactions on the GPU
PP task will update and constrain coordinates on the CPU
Using 2 MPI threads
Using 8 OpenMP threads per tMPI thread
WARNING: This run will generate roughly 2022 Mb of data
NOTE: DLB will not turn on during the first phase of PME tuning
starting mdrun ‘UNNAMED in water’
15000000 steps, 30000.0 ps.
step 0:
Is there any way to make it faster as I have 2 gpu and 10 temperatures and that code creates 6 files for the first temperature with extensions edr , xtc , log . mdp, tpr , trr and it will take 3 months to finish the first temperature only !
Your system is probably too small to benefit from trying to split the run over two GPUs (only really big systems will parallelize well) so try using only one GPU for the run with an appropriate -gpu_id to mdrun.