Member Site › Forums › Rosetta 3 › Rosetta 3 – General › Performace Benchmarking
- This topic has 2 replies, 3 voices, and was last updated 4 years, 11 months ago by Anonymous.
-
AuthorPosts
-
-
December 4, 2019 at 10:50 am #3310Anonymous
I have installed rosetta3 on HPC. How can I perform benchmarking tests to find out how many cpu or gpu nodes are required for running rosetta on HPC? Are these tests separate for each rossetta application?
-
December 4, 2019 at 9:05 pm #15085Anonymous
1. GPU nodes are useless for Rosetta. Rosetta is currently CPU-only. (We’re working on GPU support.)
2. Since even the same protocol can take wildly different amounts of time depending on your inputs and settings, there’s no standard benchmark for determining the computational cost of doing something. Set up whatever you want to do, do it once on one CPU, and multiply the time it takes to generate one sample by the number of samples that you want in order to get the total CPU-hours that you’ll need. Then divide by available CPUs to get wall-hours. For example, if you want to predict a structure, let’s say that you find that running AbRelax with -nstruct 1 (to produce 1 sample) takes 3 minutes on a single CPU. If you want 100,000 samples, you’ll need 5,000 CPU-hours. So you could run for 50 hours on 100 CPUs, or 5 hours on 1,000, or whatnot.
Be aware that to take advantage of multiple CPU cores, you need to do one of the following:
A. Launch a separate instance of Rosetta for each CPU core that you have.
or
B. Compile Rosetta with the extras=mpi option, and then launch 1 MPI process for each core that you have. (This produces better load-balancing. I’d recommend this as the best practice, provided the application that you’re using supports MPI-based parallelism. Most Rostta applications do.)
or
C. Compile Rosetta with the extras=cxx11thread option, and then launch 1 Rosetta instance per node. Rosetta will automatically launch 1 thread per core. (Note that currently, only the packer takes advantage of this, so this will not use CPUs very effectively. This is not yet a recommended best practice.)
-
December 4, 2019 at 9:07 pm #15086Anonymous
To further Vikram’s comment: Rosetta is generally embarassingly parallel in that it just runs N independent monte carlo trajectories on N processors. So it will use as many processors as you give it up to your requested nstruct. (I am assuming you are doing something “standard” like docking or packing that has nstruct, etc).
-
-
AuthorPosts
- You must be logged in to reply to this topic.