# Load the GNU module to access the `migrate-n` runtime command
$ module load gnu
# Load the OpenMPI module if you need to run migrate-n on the cluster in parallel
$ module load openmpi
$ migrate-n-4_gnu # Serial
$ migrate-n-4_gnu-mpi # Parallel
Migrate-n expects an input file named infile to be present in the same path as you run the program from.
# Load the GNU environment module
$ module load gnu
# Create directory and copy sample data file into it
$ mkdir ~/migrate-n
$ cp /gpfs/research/software/migrate-n/infile.sample ~/migrate-n/infile
# Run migrate-n
$ cd ~/migrate-n
$ migrate-n
A menu will appear, which can be ignored for the purpose of this example. Simply type Y and allow the program to run.
Using the sample infile will not produce any useful results, but it will complete successfully.