make name of the actual executable (i.e. arg[0]) accessible

This commit is contained in:
Axel Kohlmeyer
2016-11-07 17:07:40 -05:00
parent 77bbf03f0f
commit 9b910d5511
2 changed files with 2 additions and 0 deletions

View File

@ -86,6 +86,7 @@ LAMMPS::LAMMPS(int narg, char **arg, MPI_Comm communicator)
suffix = suffix2 = NULL;
suffix_enable = 0;
exename = arg[0];
packargs = NULL;
num_package = 0;
char *rfile = NULL;