From: Roy S. <roy...@ic...> - 2018-01-25 23:01:50
|
On Thu, 25 Jan 2018, Michael Povolotskyi wrote: > can libMeshInit accept NULL as constructor arguments? For argv? I sure wouldn't bet on it. We pass that to MPI, Slepc, PETSc, VTK, GetPot... I wouldn't even bet on all those codes supporting argc < 1 or an empty string in argv[0]; IIRC the C/C++ standards require main to be handed *some* program name even if it hasn't been invoked with any arguments. --- Roy |