5.4.1. CLI Runs on Windows Systems

Open a Windows CMD window and type

call "C:\Program Files\ANSYS Inc\v222\reaction\forte.win64\bin\run_forte_env_setup.bat"

which sets up the Forte environment.

Then:

cd

to the directory on your computer where your MyProject.ftsim is located. Ensure the path has fewer than 256 characters unless you are using Windows 10 or later and your registry has been modified to allow longer paths. See https://learn.microsoft.com/en-us/windows/win32/fileio/maximum-file-path-limitation?tabs=registry for more details.

Prepare the run in a sub-folder run_32cores, using this command:

call run_forte.bat CLI -project MyProject.ftsim --prepare -prep_dir run_32cores -mpi_args 32

To start the run, type

call run_mpi.bat

You can monitor the progress of the run by viewing the MONITOR file in the run folder. Be careful not to use an editor that blocks write access to the MONITOR file (see Monitoring Runs).