Previous Thread
Next Thread
Print Thread
#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
tjaart #173 10/20/03 10:50 AM
Joined: Sep 2003
Posts: 4,883
Likes: 12
Forum Member
Offline
Forum Member
Joined: Sep 2003
Posts: 4,883
Likes: 12
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:
#!/bin/ksh
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
stop

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.5
(Release build 20201027)
Responsive Width:

PHP: 7.3.31-1~deb10u5 Page Time: 0.010s Queries: 18 (0.006s) Memory: 0.7282 MB (Peak: 0.7687 MB) Data Comp: Off Server Time: 2023-12-10 16:30:44 UTC
Valid HTML 5 and Valid CSS