<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wikis.ch.cam.ac.uk/ro-walesdocs/wiki/index.php?action=history&amp;feed=atom&amp;title=Victor_Ruehle</id>
	<title>Victor Ruehle - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wikis.ch.cam.ac.uk/ro-walesdocs/wiki/index.php?action=history&amp;feed=atom&amp;title=Victor_Ruehle"/>
	<link rel="alternate" type="text/html" href="https://wikis.ch.cam.ac.uk/ro-walesdocs/wiki/index.php?title=Victor_Ruehle&amp;action=history"/>
	<updated>2026-04-12T04:25:07Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.7</generator>
	<entry>
		<id>https://wikis.ch.cam.ac.uk/ro-walesdocs/wiki/index.php?title=Victor_Ruehle&amp;diff=1372&amp;oldid=prev</id>
		<title>Adk44: Created page with &quot;Here is a collection of wiki pages I find usefule or am working on:  == General == *  Mercurial  * Wales Group Fortran conventions for group software  == Crystal struc...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wikis.ch.cam.ac.uk/ro-walesdocs/wiki/index.php?title=Victor_Ruehle&amp;diff=1372&amp;oldid=prev"/>
		<updated>2019-05-13T12:58:43Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;Here is a collection of wiki pages I find usefule or am working on:  == General == * &lt;a href=&quot;/ro-walesdocs/wiki/index.php/Mercurial&quot; title=&quot;Mercurial&quot;&gt;Mercurial &lt;/a&gt; * &lt;a href=&quot;/ro-walesdocs/wiki/index.php?title=Wales_Group_Fortran_conventions_for_group_software&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Wales Group Fortran conventions for group software (page does not exist)&quot;&gt;Wales Group Fortran conventions for group software&lt;/a&gt;  == Crystal struc...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Here is a collection of wiki pages I find usefule or am working on:&lt;br /&gt;
&lt;br /&gt;
== General ==&lt;br /&gt;
* [[ Mercurial ]]&lt;br /&gt;
* [[Wales Group Fortran conventions for group software]]&lt;br /&gt;
&lt;br /&gt;
== Crystal structure prediction ==&lt;br /&gt;
* [[ Preparing DMACRYS input ]]&lt;br /&gt;
* [[ DMAGMIN setup ]] (basics setup)&lt;br /&gt;
* [[ PYGMIN &amp;amp; DMACRYS ]] (current testing / development version with all newer features)&lt;br /&gt;
&lt;br /&gt;
== GMIN ==&lt;br /&gt;
* [[Compiling GMIN using CMAKE]]&lt;br /&gt;
* [[ DMACRYS interface ]]* &lt;br /&gt;
* [[ Python interface for GMIN/OPTIM ]]&lt;br /&gt;
&lt;br /&gt;
== OPTIM ==&lt;br /&gt;
* [[ Internal coordinates and rigid bonds ]] (cancelled project, did now give any improvements)&lt;br /&gt;
&lt;br /&gt;
== Dirty hacks ==&lt;br /&gt;
=== Detect name clashes for COMMON blocks ===&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;THIS CHECK IS NOT SUIFFICIENT!&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
A note at the beginning, for any new stuff: Do NOT use common blocks, use modules instead!! &lt;br /&gt;
&lt;br /&gt;
One ugly cause which can lead to problems when combinind 2 fortran programs are name clashes in common blocks. I wrote a simple quick and dirty script to detect whether two programs have identically named common blocks. There is no guarantee whether this catches everything, but worth a quick try&lt;br /&gt;
&lt;br /&gt;
The first script findcommons.sh parses all named common blocks in a list of file&lt;br /&gt;
  #!/bin/bash&lt;br /&gt;
&lt;br /&gt;
  tmpfile=$(mktemp)&lt;br /&gt;
  for filter in $@; do&lt;br /&gt;
    find . -name &amp;quot;$filter&amp;quot; -exec sed -ne &amp;#039;s/^\s*[Cc][Oo][Mm][Mm][Oo][Nn]\s*\/\s*\([^\/]*\)\s*\/.*$/\1/p&amp;#039; {} \; &amp;gt;&amp;gt; $tmpfile &lt;br /&gt;
  done&lt;br /&gt;
  sort --ignore-case --unique -u ${tmpfile}&lt;br /&gt;
To use it&lt;br /&gt;
  cd /source/of/proc/one&lt;br /&gt;
  findcommons.sh *.f *.f90 *.F *.F90 *.src &amp;gt; commons.txt&lt;br /&gt;
  cd /source/of/proc/two&lt;br /&gt;
  source/to/proc/one&amp;gt;findcommons.sh *.f *.f90 *.F *.F90 *.src &amp;gt; commons.txt&lt;br /&gt;
  # now check whether there are mulsiple occurencies&lt;br /&gt;
  cat /source/of/proc/one/commons.txt /source/of/proc/two/commons.txt | sort --ignore-case | uniq -c --ignore-case | sed -e &amp;#039;/^\s*1/d&amp;#039;&lt;/div&gt;</summary>
		<author><name>Adk44</name></author>
	</entry>
</feed>