Option A (running from Terminal)
License activation
Please see License activation via command line.
Running nextnano++ on Linux from Terminal
The nextnano++ simulations can be executed from the Linux terminal by directly using the Linux executables.
First, you need to add the permission to the executable file you want to run.
Go to nextnano++/bin
and run:
$ chmod a+x nextnano++_intel_nextgen.exe
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.
From nextnano++/bin
, 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_nextgen.exe --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 Command Line. 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.
First, you need to add the permission to the executable file you want to run.
Go to nextnano3/bin
and run:
$ chmod a+x nextnano3_intel.exe
Then set the environment variable NEXTNANO
by executing the following from nextnano3/bin
:
$ cd ../..
$ currentFolder=$(pwd)
$ export NEXTNANO=$currentFolder
The terminal commands to run a nextnano³ example input file are as follows:
$ cd nextnano3
$ ./bin/nextnano3_intel.exe -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 page Command Line. 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.
First, you need to add the permission to the executable file you want to run.
Go to nextnano.NEGF/bin
and run:
$ chmod a+x nextnano.NEGF_ubuntu.exe
The path to the OpenMP library has to be specified.
We ship a .so
file together with the executable.
From nextnano.NEGF/bin
, 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.exe --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 on the page Command Line.
Last update: 08/01/2025