diff --git a/examples/upscale_cap.cpp b/examples/upscale_cap.cpp index 0e90633..2e66bc2 100644 --- a/examples/upscale_cap.cpp +++ b/examples/upscale_cap.cpp @@ -160,13 +160,6 @@ try // Reference: http://www.spe.org/spe-site/spe/spe/papers/authors/Metric_Standard.pdf - /* Check first if there is anything on the command line to look for */ - if (varnum == 1) { - cout << "Error: No Eclipsefile or stonefiles found on command line." << endl; - usageandexit(); - } - - /* Loop over all command line options in order to look for options. diff --git a/examples/upscale_cond.cpp b/examples/upscale_cond.cpp index b7461a3..476ad12 100644 --- a/examples/upscale_cond.cpp +++ b/examples/upscale_cond.cpp @@ -214,12 +214,6 @@ try if found, replace default values with command line values. */ - /* Check first if there is anything on the command line to look for */ - if (varnum == 1) { - if (isMaster) cout << "Error: No Eclipsefile or J-functions found on command line." << endl; - usageandexit(); - } - /* Loop over all command line options in order to look for options. diff --git a/examples/upscale_relperm.cpp b/examples/upscale_relperm.cpp index f125525..4069c97 100644 --- a/examples/upscale_relperm.cpp +++ b/examples/upscale_relperm.cpp @@ -470,13 +470,6 @@ try */ auto options = defineOptions(); - /* Check first if there is anything on the command line to look for */ - if (varnum == 1) { - if (mpi_rank == 0) - cout << "Error: No Eclipsefile or stonefiles found on command line." << endl; - usageandexit(); - } - /* 'argeclindex' is so that vararg[argeclindex] = the eclipse filename. */