User Tools

Site Tools


exercises:2016_summer_school:gga

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Last revisionBoth sides next revision
exercises:2016_summer_school:gga [2016/08/23 06:48] ibethuneexercises:2016_summer_school:gga [2016/08/23 06:51] ibethune
Line 80: Line 80:
 Create the .xyz files (check with vmd that they contain the right subsystems), and create mode1_dye.inp, mode1_slab.inp by changing both ''COORD_FILE_NAME'' and ''PROJECT'' accordingly. Create the .xyz files (check with vmd that they contain the right subsystems), and create mode1_dye.inp, mode1_slab.inp by changing both ''COORD_FILE_NAME'' and ''PROJECT'' accordingly.
  
-After computing these input files, we analyze the results using a tool provided with cp2k ''cubecruncher.x'' that manipulates cube files (e.g. can compute difference).+After computing these input files, we analyze the results using a tool provided with cp2k ''cubecruncher.x'' that manipulates cube files (e.g. can compute difference).  To build cubecruncher, make a copy of the code in your own directory and compile it: 
 + 
 +<code> 
 +~$ module load cp2k 
 +~$ cp -r $CP2K/../../tools/cubecruncher . 
 +~$ cd cubecruncher 
 +~$ module swap PrgEnv-cray PrgEnv-gnu 
 +~$ make 
 +</code> 
 + 
 +Then run it as follows: 
 <code> <code>
 ~$ cubecruncher.x -i MODE1-ELECTRON_DENSITY-1_0.cube -subtract MODE1_dye-ELECTRON_DENSITY-1_0.cube -o tmp.cube ~$ cubecruncher.x -i MODE1-ELECTRON_DENSITY-1_0.cube -subtract MODE1_dye-ELECTRON_DENSITY-1_0.cube -o tmp.cube
exercises/2016_summer_school/gga.txt · Last modified: 2020/08/21 10:15 by 127.0.0.1