Option A (running from Terminal)#
License activation#
Please refer to our documentation on License Activation.
Running nextnano++ on Linux from Terminal#
The nextnano++ simulations can be executed from the Linux terminal by directly using the Linux executables.
To run the ‘Intel_Ubuntu’ nextnano++ executable, the path to the OpenMP library has to be specified.
We ship a .so file together with the executable.
Go to nextnano++/bin and run:
$ currentFolder=$(pwd)
$ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$currentFolder
The terminal commands to run a nextnano++ example input file are follows:
$ cd ..
$ ./bin/nextnano++_intel --license "License/License_nnp.lic" --outputdirectory "Output" -log "examples/electronic_band_structures/1Dwell_GaAs_AlAs_nnp.in"
Detailed documentation on command line features can be found on the page nextnano++. Further information and more examples can be found in the README_Linux file and the shell scripts included in the nextnano folder.
Running nextnano³ on Linux from Terminal#
The nextnano³ simulations can be executed from the Linux terminal by directly using the Linux executables.
Set the environment variable NEXTNANO.
To do this, go to nextnano3/bin and run:
$ cd ../..
$ currentFolder=$(pwd)
$ export NEXTNANO=$currentFolder
The terminal commands to run a nextnano³ example input file are as follows:
$ cd nextnano3
$ ./bin/nextnano3_intel -log -license "License/License_nnp.lic" -outputdirectory "Output/<name_of_input_file>" -inputfile "examples/education/lecture_on_quantum_mechanics/DoubleQuantumWell_nn3.in"
Detailed documentation on command line features can be found on the documentation of nextnano³. Further information and more examples can be found in the README_Linux file and the shell scripts included in the nextnano folder.
Running nextnano.NEGF on Linux from Terminal#
The nextnano.NEGF simulations can be executed from the Linux terminal by directly using the Linux executables.
The path to the OpenMP library has to be specified.
We ship a .so file together with the executable.
Go to nextnano.NEGF/bin and run:
$ currentFolder=$(pwd)
$ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$currentFolder
The terminal commands to run a nextnano.NEGF example input file are as follows, to be executed from the nextnano.NEGF directory:
$ ./bin/nextnano.NEGF_ubuntu --input-file ./examples/THz_QCL_GaAs_AlGaAs_Fathololoumi_OptExpress2012_10K-FAST.negf --output-folder ./output/THz_QCL_GaAs_AlGaAs_Fathololoumi_OptExpress2012_10K-FAST --material-database ./database/Material_Database.negf --license ./path/to/your/License_nnNEGF.lic --threads 4
Detailed documentation on command line features can be found in the documentation of nextnano.NEGF.
Last update: 11/06/2026