Quickstart
deMonNano is distributed as a self-contained tarball containing the executable and the Slater-Koster basis (parameter) directory.
Requirements
- A Linux environment
- molden or VMD to visualize geometries and trajectories (
deMon.mol) - gnuplot (optional) for the TD-DFTB spectra and the PTMC swap debug
1. Download the code and parameters
wget https://demon-nano.ups-tlse.fr/doc/deMonNano.tar.gz
2. Unpack
tar -xzvf deMonNano.tar.gz
This creates the deMonNano directory, containing the executable and the
basis directory with the Slater-Koster parameter sets.
3. Point the input at the basis directory
Open deMon.inp and replace "PATH" by the path to your new deMonNano/basis
directory. This is the line following the PARAM keyword, e.g.:
PARAM PTYPE=MAT
/path/to/deMonNano/basis
4. Run the executable
./deMon.static-website.x
5. Check the outputs
After the run, several files are created:
deMon.out— the main output filedeMon.mol— geometries, readable with molden or VMD
Tutorial material (optional)
The hands-on tutorial (water molecule, coronene dynamics, harmonic spectra of coronene, temperature evolution of the electronic spectra of cationic methylene-pyrene isomers, Monte Carlo exploration of molecular clusters) is distributed separately:
wget https://demon-nano.ups-tlse.fr/doc/handson_deMonNano2026.tar.gz
tar -xzvf handson_deMonNano2026.tar.gz
Then:
vi TPvars.sh— set the correct paths to deMon and FTsource TPvars.shcd runexport OMP_NUM_THREADS=1— all tutorial calculations are expected to be run non-paralleldeMon— the code is called by typingdeMon
Modify deMon.inp to give the correct path to the basis directory.
Tutorial pdf is available here: tutorial-deMonNano.pdf
Notes
- Input file: one keyword per line,
MAINKEYWORD SUBKEYWORD1 SUBKEYWORD2 ...; the order of the keywords does not matter except thatGEOMETRYmust come last; lines starting with#are not read. - The tutorial solutions (input and output files) are available from the Tutorials section.
Output files
deMon.out— the main output file (energies, forces, MD/MC properties)deMon.mol— geometries and trajectories, readable with molden or VMDdeMon.01.mol,deMon.02.mol, ... — one trajectory file per MC temperaturedeMon.coef— withPRINT DEBUG: the DFTB matrices F, S, CdeMon.dip— the dipole, withDIPOLE OUTFILEspectrum_final.out— TD-DFTB spectra sampled during a dynamics run (gnuplot)debug_swap.dat— parallel-tempering swap statistics (gnuplot)