Previous Thread
Next Thread
Print Thread
CHARMM on a cluster
#172 10/20/03 09:21 AM
Joined: Oct 2003
Posts: 40
tjaart Offline OP
Forum Member
OP Offline
Forum Member
Joined: Oct 2003
Posts: 40
We have managed to get CHARMM compiled and running on a Linux cluster. We intend to run protein minimization and dynamics and I have the following questions:
How can a process involving sequential calculations like minimization or dynamics, be run on a cluster?
Is a cluster (Linux or otherwise) really suitable for running protein minimizations and dynamics?

Any comments welcome.

Tjaart de Beer
Re: CHARMM on a cluster
tjaart #173 10/20/03 10:50 AM
Joined: Sep 2003
Posts: 4,794
Likes: 2
Forum Member
Forum Member
Joined: Sep 2003
Posts: 4,794
Likes: 2
A cluster is very useful for minimizations and dynamics. If you want to run a series of jobs one after the other you can use a script that submits the next job after the first one is finished:
cd my_dir
charmm < my_input.inp > my_output.out
qsub -q parallel next_job

This basic script can of course be made more elegant, allowing a predefined number of resubmissions.

Note that if you use MPI you may have to run charmm using a slightly more complicated way due to the fact that with MPI stdin can not be rewound:

charmm < stdin.inp > my_output.out ZZZ=my_input.inp

where stdin.inp looks like this
* input prologue allowing stdin-rewinding under MPI
stream @ZZZ

Note also that in this case the name of your input name cannot contain a mix of upper- and lowercase letters.

Lennart Nilsson
Karolinska Institutet
Stockholm, Sweden

Moderated by  lennart, rmv 

Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Release build 20200307)
Responsive Width:

PHP: 5.6.33-0+deb8u1 Page Time: 0.010s Queries: 18 (0.003s) Memory: 0.8931 MB (Peak: 0.9596 MB) Data Comp: Off Server Time: 2020-09-29 14:15:35 UTC
Valid HTML 5 and Valid CSS