CP2K input generator and output visualizer for Avogadro 1. It also generates CHARMM-Style Parameter (pot) / Protein Structure File (psf) .
A generator of CP2K input, CHARMM-style Force Field Parameter (pot) and Protein Structure File (psf) and a CP2K output visualizer for Avogadro 1 .
An easy way to use libavogadro1cp2k is to use with precompiled Avogadro for Windows.
-
Download the Avogadro installer for Windows (Avogadro-1.2.0-win32.exe) from [Sourceforge] (http://sourceforge.net/projects/avogadro/) and install the Avogadro binary on your Windows PC.
-
Download [released cp2kextension.zip] (https://github.com/brhr-iwao/libavogadro1cp2k/releases) and unzip it. Copy cp2kextension.dll in For_Avogadro120 directory to (Avogadro install directory, maybe C:\Program Files\Avogadro)\lib\Avogadro\1_2\ extensions directory.
-
Launch Avogadro. If you find 'Psf/Pot...' and 'CP2K' entries in 'Extensions' menu, the installation was successful.
Here I described only a way to intall on your Windows PC from sources since I worked only on Windows...
-
Build and install Avogadro from github master source codes by following the instruction Compiling on Windows with MSVC2008 or Compiling on Windows with MSVC 2010 accroding as your environment.
-
Copy the cp2k folder and all contents to (avogadro root)/libavogadro/src/extensions directory. Add a sentence "add_subdirectory(cp2k)" onto the end of (avogadro root)/libavogadro/src/extensions/CMakeLists.txt.
-
Launch Visual Studio 20XX command prompt, change the current working diretory to (avogadro root)/scripts and execute the command "nmake" or "nmake cp2kextension".
-
If nmake completes successfully, cp2kextension.dll is created in (avogadro root)/scripts/lib (or (avogadro root)/scripts/lib/Release). Put this dll in (Avogadro install dir, maybe C:/Program Files/Avogadro)/lib/avogadro/1_2/extensions/.
-
If you get "Psf/Pot..." and "CP2K"entries in Avogadro "Extensions" menu, the installation was successful.
Load the molecule you want to work with on Avogadro and then select "Psf/Pot..." or "CP2K > Generate Input..." in "Extensions" menu. This opens a dialog where correspondent parameters can be configured.
To Visualize a CP2K calculation output, select "CP2K > Analyze Output..." in "Extensions" menu and open a "Analyze CP2K output "dialog. Select proper file type via the "Data Type" combo box and load a CP2K output file with the "Load a file..." button.
Note: This software is in early developement stage and should be used for experimentation only. There is absolutely no guarantee of correctness of generated input files and there are probably many bugs.