Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
software:cp2k [2020/10/02 14:54] jrutte02 removed |
— (current) | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== CP2K ====== | ||
- | |||
- | //" | ||
- | |||
- | CP2K is written in Fortran 2003 and can be run efficiently in parallel using a combination of multi-threading, | ||
- | |||
- | You can check for available version on Mogon I/II using | ||
- | <code bash> | ||
- | module av chem/CP2K | ||
- | </ | ||
- | |||
- | We ran [[https:// | ||
- | In the simplest case you can submit a cp2k-job like this: | ||
- | |||
- | <file myjobscript> | ||
- | #!/bin/bash | ||
- | # | ||
- | # Example SLURM job script to run GROMACS with MPI on Mogon I. | ||
- | # | ||
- | # This script requests 128 cores on two node. The job | ||
- | # will have access to all the memory in the nodes. | ||
- | # | ||
- | |||
- | #SBATCH -J mycp2kjob | ||
- | #SBATCH -o mycp2kjob.%j.out | ||
- | #SBATCH -p nodeshort | ||
- | #SBATCH -N 2 # Total number of nodes requested (64 cores/node) | ||
- | #SBATCH -t 00: | ||
- | |||
- | #SBATCH -A < | ||
- | |||
- | # Load all necessary modules if needed (these are examples) | ||
- | # Loading modules in the script ensures a consistent environment. | ||
- | module purge | ||
- | module load chem/ | ||
- | |||
- | # Launch the executable | ||
- | srun -n 64 -c 2 cp2k.popt < | ||
- | </ | ||
- | |||
- | |||
- | ====== Benchmarks ====== | ||
- | |||
- | ===== Mogon 1 ===== | ||
- | |||
- | H2O-64 Benchmark (compare [[https:// | ||
- | Run time as function of number of nodes. The numbers above the lines indicate the used cpus per rank (Option -c ). The performance difference between versions 2.5.1 and 4.1 is small. It seems like 2.5.1 is slightly slower for small number of nodes but slightly faster than 4.1 for big number of nodes. | ||
- | |||
- | {{ : | ||
- | |||
- | ====== Discussion ====== | ||
- | |||
- | [[discussion: | ||
- | |||