Code Monkey home page Code Monkey logo

cp2k-ci's Introduction

CP2K

Release Status Debian Status Fedora Status Ubuntu Status Arch Status Homebrew Status Docker Status Spack Status Conda Status

CP2K is a quantum chemistry and solid state physics software package that can perform atomistic simulations of solid state, liquid, molecular, periodic, material, crystal, and biological systems. CP2K provides a general framework for different modeling methods such as DFT using the mixed Gaussian and plane waves approaches GPW and GAPW. Supported theory levels include DFT, MP2, RPA, GW, tight-binding (xTB, DFTB), semi-empirical methods (AM1, PM3, PM6, RM1, MNDO, ...), and classical force fields (AMBER, CHARMM, ...). CP2K can do simulations of molecular dynamics, metadynamics, Monte Carlo, Ehrenfest dynamics, vibrational analysis, core level spectroscopy, energy minimization, and transition state optimization using NEB or dimer method.

CP2K is written in Fortran 2008 and can be run efficiently in parallel using a combination of multi-threading, MPI, and CUDA.

Downloading CP2K source code

To clone the current master (development version):

git clone --recursive https://github.com/cp2k/cp2k.git cp2k

Note the --recursive flag that is needed because CP2K uses git submodules.

To clone a release version vx.y:

git clone -b support/vx.y --recursive https://github.com/cp2k/cp2k.git cp2k

For more information on downloading CP2K, see Downloading CP2K. For help on git, see Git Tips & Tricks.

Install CP2K

The easiest way to build CP2K with all of its dependencies is as a Docker container.

For building CP2K from scratch see the installation instructions.

Links

  • CP2K.org for showcases of scientific work, tutorials, exercises, presentation slides, etc.
  • The manual with descriptions of all the keywords for the CP2K input file
  • The dashboard to get an overview of the currently tested architectures
  • The Google group to get help if you could not find an answer in one of the previous links
  • Acknowledgements for list of institutions and grants that help to fund the development of CP2K

Directory organization

  • arch: Collection of definitions for different architectures and compilers
  • benchmarks: Inputs for benchmarks
  • data: Simulation parameters e.g. basis sets and pseudopotentials
  • exts: Access to external libraries via GIT submodules
  • src: The source code
  • tests: Inputs for tests and regression tests
  • tools: Mixed collection of useful scripts related to cp2k

Additional directories created during build process:

  • lib: Libraries built during compilation
  • obj: Objects and other intermediate compilation-time files
  • exe: Where the executables will be located

cp2k-ci's People

Contributors

oschuett avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

dev-zero mkrack

cp2k-ci's Issues

Improve image cache invalidation

Currently, docker images are only rebuild when their Dockerfile changes or they are older than 30 days. Furthermore, they should also be rebuild when they become slow, because the cp2k code bases has changed too much. It would be nice to have a generic way of detecting these slowdowns and to make a optimal decision between time needed for a rebuild vs wasted run time.

Lower Memory consumption of frontend

Main culprit is fluentd. Maybe run container myself?
Fine tune frontend apache, maybe switch to apache prefork.

#RUN /usr/sbin/a2dismod mpm_event
#RUN /usr/sbin/a2enmod mpm_prefork

"This site can’t be reached" when trying to look at reports

when trying to look at the "Detailed Report" I get in Chromium:

This site can’t be reached
The webpage at https://storage.googleapis.com/cp2k-ci/run-cp2k-conventions-f33dc20e_report.txt might be temporarily down or it may have moved permanently to a new web address.
ERR_SPDY_PROTOCOL_ERROR

resp. with curl:

curl -v https://storage.googleapis.com/cp2k-ci/run-cp2k-conventions-f33dc20e_report.txt
*   Trying 216.58.215.240...
* TCP_NODELAY set
* Connected to storage.googleapis.com (216.58.215.240) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
* TLSv1.2 (IN), TLS handshake, Server hello (2):
* TLSv1.2 (IN), TLS handshake, Certificate (11):
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
* TLSv1.2 (IN), TLS handshake, Server finished (14):
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
* TLSv1.2 (OUT), TLS change cipher, Client hello (1):
* TLSv1.2 (OUT), TLS handshake, Finished (20):
* TLSv1.2 (IN), TLS handshake, Finished (20):
* SSL connection using TLSv1.2 / ECDHE-RSA-CHACHA20-POLY1305
* ALPN, server accepted to use h2
* Server certificate:
*  subject: C=US; ST=California; L=Mountain View; O=Google LLC; CN=*.storage.googleapis.com
*  start date: Aug 13 16:15:05 2019 GMT
*  expire date: Nov 11 16:15:05 2019 GMT
*  subjectAltName: host "storage.googleapis.com" matched cert's "*.googleapis.com"
*  issuer: C=US; O=Google Trust Services; CN=GTS CA 1O1
*  SSL certificate verify ok.
* Using HTTP2, server supports multi-use
* Connection state changed (HTTP/2 confirmed)
* Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
* Using Stream ID: 1 (easy handle 0x55c8a3c02150)
> GET /cp2k-ci/run-cp2k-conventions-f33dc20e_report.txt HTTP/2
> Host: storage.googleapis.com
> User-Agent: curl/7.60.0
> Accept: */*
> 
* Connection state changed (MAX_CONCURRENT_STREAMS == 100)!
* http2 error: Invalid HTTP header field was received: frame type: 1, stream: 1, name: [x-goog-meta-cp2kci/artifacts_path], value: [run-cp2k-conventions-f33dc20e_artifacts.tgz]
* HTTP/2 stream 1 was not closed cleanly: PROTOCOL_ERROR (err 1)
* Connection #0 to host storage.googleapis.com left intact
curl: (92) HTTP/2 stream 1 was not closed cleanly: PROTOCOL_ERROR (err 1)

examples:

Detect failed jobs

Failed jobs look like this:

status:
  conditions:
  - lastProbeTime: 2018-12-03T21:29:24Z
    lastTransitionTime: 2018-12-03T21:29:24Z
    message: Job has reached the specified backoff limit
    reason: BackoffLimitExceeded
    status: "True"
    type: Failed
  failed: 6
  startTime: 2018-12-03T21:15:15Z

Check for Fortran runtime warnings

Example from test/ATOM/regtest-pseudo/C-HF-q4.inp:

Fortran runtime warning: An array temporary was created for argument 'v' of procedure 'diag'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.