50 sec for the GUI run seems pretty fast to me for this script. Speedy
hardware? (It's consistent around 115 on Linux.)
On 8/12/19 9:05 AM, Slojkowski, Steven E. (GSFC-595.0)[OMITRON] wrote:
I suppose some background process could be a culprit, but I’m
suspicious because I tested it a few times over the morning and saw a
consistent disparity. I’ll try again later today and tomorrow.
I’m glad it does not affect linux, since running GmatConsole on linux
is our current operational method.
*From:*Darrel Conway <[email protected]>
*Sent:* Monday, August 12, 2019 11:55 AM
*To:* Slojkowski, Steven E. (GSFC-595.0)[OMITRON]
<[email protected]>; Cooley, D S. (GSFC-5950)
<[email protected]>; [email protected]
*Cc:* Valenzuela, Gustavo F. (GSFC-595.0)[OMITRON]
<[email protected]>
*Subject:* [EXTERNAL] Re: [Gmat-buildtest] First Attempt at Matlab fix
On Linux things seem okay (one data point only):
GMAT: Total Run Time: 115.846 seconds
GmatConsole: Total Run Time: 114.713 seconds
Maybe some Windows process (upgrade prep, virus scan, general flak
from Redmond) kicked off in the background during the console run?
- DJC
On 8/12/19 5:57 AM, Slojkowski, Steven E. (GSFC-595.0)[OMITRON] via
Gmat-buildtest wrote:
For an LRO test case I got 395 seconds in GmatConsole and 276
seconds in GMAT.exe. I’ll submit this as a new ticket.
*From:* Slojkowski, Steven E. (GSFC-595.0)[OMITRON]
*Sent:* Monday, August 12, 2019 8:19 AM
*To:* Cooley, D S. (GSFC-5950) <[email protected]>
<mailto:[email protected]>; [email protected]
<mailto:[email protected]>
*Cc:* Valenzuela, Gustavo F. (GSFC-595.0)[OMITRON]
<[email protected]> <mailto:[email protected]>
*Subject:* RE: First Attempt at Matlab fix
Why is GmatConsole so much slower than GMAT.exe (at least on PC)?
For GroundStation_Iono_XEast, if I run the following:
GmatConsole.exe --run
"G:\GMAT\Testing\jazz-repo\test\script\input\Resources\FRR-15_GroundStation\scripts\GroundStation_Iono_XEast.script"
The script takes about 240 seconds to complete. If instead I run:
Gmat.exe --run
"G:\GMAT\Testing\jazz-repo\test\script\input\Resources\FRR-15_GroundStation\scripts\GroundStation_Iono_XEast.script"
The GUI pops up, loads the script, runs it, and finishes in about
50 seconds.
*From:* Slojkowski, Steven E. (GSFC-595.0)[OMITRON]
*Sent:* Monday, August 12, 2019 7:52 AM
*To:* Cooley, D S. (GSFC-5950) <[email protected]
<mailto:[email protected]>>;
[email protected]
<mailto:[email protected]>
*Subject:* RE: First Attempt at Matlab fix
I ran GroundStation_Iono_XEast 10 times on my machine and didn’t
get any failures. I also don’t recall seeing this occur in
Darrel’s runs. Has anyone seen it fail on a machine other than the
test machine? I’m running Matlab R2018b – what version is the test
machine running? Is the test machine a VM or physical?
*From:* Cooley, D S. (GSFC-5950) via Gmat-buildtest
<[email protected]
<mailto:[email protected]>>
*Sent:* Sunday, August 11, 2019 2:17 PM
*To:* Cooley, D S. (GSFC-5950) <[email protected]
<mailto:[email protected]>>;
[email protected]
<mailto:[email protected]>; Kazmi, Syeda A.
(GSFC-5830) <[email protected] <mailto:[email protected]>>
*Subject:* [EXTERNAL] Re: [Gmat-buildtest] First Attempt at Matlab fix
It didn’t work. Let’s brain storm at GMAT Nav meeting. Attached
is routine. Maybe, there is a better way to do it.
*From:* gmat-nav <[email protected]
<mailto:[email protected]>> *On Behalf Of *Cooley, D
S. (GSFC-5950) via gmat-nav
*Sent:* Sunday, August 11, 2019 1:48 PM
*To:* '[email protected] <mailto:[email protected]>'
<[email protected] <mailto:[email protected]>>;
[email protected]
<mailto:[email protected]>; Kazmi, Syeda A.
(GSFC-5830) <[email protected] <mailto:[email protected]>>
*Subject:* [gmat-nav] First Attempt at Matlab fix
More info below.
3 of the failures involve diff_gmd_files.m. This routine opens up
two files and creates its own file. I added pause(2) to the
beginning and end of the routine. (Make sure read in files are
fully created before read. Make sure written file is fully closed
before test system read)
Let’s see how that works in the following days. I may do similar
actions for some of the other matlab functions.
I don’t think this will add much time to the overall run time as
these routines are not called that often.
These are not the only type of matlab failure. Sometimes matlab
doesn’t open. (How do you make matlab try more times?)
If you have ideas, send them out.
Thanks,
Steve
**
**
*_GroundStation_Iono_XEast_*
**
Please wait while MATLAB engine opens...
Failed to open MATLAB engine ...
Please wait while MATLAB engine opens...
MATLAB engine successfully opened
Interface Exception Thrown:
"C:\Users\gsfc580gmattest\Documents\ScriptTest\gmat\bin\..\userfunctions\matlab\diff_gmd_files.m",
Error using textscan
Invalid file identifier. Use fopen to generate a valid file
identifier.
*** Mission run failed.
*_GroundStation_Iono_XSouthYEast_DeepSpace_*
Please wait while MATLAB engine opens...
Failed to open MATLAB engine ...
Please wait while MATLAB engine opens...
MATLAB engine successfully opened
Interface Exception Thrown:
"C:\Users\gsfc580gmattest\Documents\ScriptTest\gmat\bin\..\userfunctions\matlab\diff_gmd_files.m",
Error using textscan
Invalid file identifier. Use fopen to generate a valid file
identifier.
*** Mission run failed.
*_TrackingFileSet_UseETminusTAI_Range_Sim_*
Please wait while MATLAB engine opens...
Failed to open MATLAB engine ...
Please wait while MATLAB engine opens...
MATLAB engine successfully opened
Interface Exception Thrown:
"C:\Users\gsfc580gmattest\Documents\ScriptTest\gmat\bin\..\userfunctions\matlab\diff_gmd_files.m",
Error using textscan
Invalid file identifier. Use fopen to generate a valid file
identifier.
*** Mission run failed.
*_Transponder_HardwareDelay_DSN_DeepSpace_Range_2_*
Please wait while MATLAB engine opens...
Failed to open MATLAB engine ...
Please wait while MATLAB engine opens...
Failed to open MATLAB engine ...
Please wait while MATLAB engine opens...
Failed to open MATLAB engine ...
Please wait while MATLAB engine opens...
Failed to open MATLAB engine ...
Please wait while MATLAB engine opens...
Failed to open MATLAB engine ...
Please wait while MATLAB engine opens...
Failed to open MATLAB engine ...
Please wait while MATLAB engine opens...
Failed to open MATLAB engine ...
Please wait while MATLAB engine opens...
Failed to open MATLAB engine ...
Warning: simmer.FinalEpoch has value (26125.030312897936 A1Mjd)
outside EOP time range [7665.500021762034 A1Mjd ,
25656.500393916456 A1Mjd].
Please wait while MATLAB engine opens...
MATLAB engine successfully opened
Interface Exception Thrown:
"C:\Users\gsfc580gmattest\Documents\ScriptTest\gmat\bin\..\userfunctions\matlab\open_gmd_file.m",
Error using textscan
Invalid file identifier. Use fopen to generate a valid file
identifier.
*** Mission run failed.
_______________________________________________
Gmat-buildtest mailing list
[email protected]
<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/gmat-buildtest
<https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.sourceforge.net_lists_listinfo_gmat-2Dbuildtest&d=DwMD-g&c=ApwzowJNAKKw3xye91w7BE1XMRKi2LN9kiMk5Csz9Zk&r=HkPRNsvBaUz0R48WFhbgYAtIy_j-oGtHWpdZNpH75TFG7vNTC5O9xUvdr7kESTU-&m=G4bZGIMg_co66sOk6zatWEV58_gdNOYdDMVFzL1RgdI&s=tOmAFBjU2UVgMBz4heaE_fyU5WU967-lFB7CpXRo06Y&e=>
--
Darrel J. Conway, Ph.D. Thinking Systems, Inc.
Senior Scientist and CEO 437 W Thurber Road, Suite 6
Phone: (623) 298-4530 Tucson, AZ 85705
FAX: (520) 232-2533www.thinksysinc.com
<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.thinksysinc.com&d=DwMD-g&c=ApwzowJNAKKw3xye91w7BE1XMRKi2LN9kiMk5Csz9Zk&r=HkPRNsvBaUz0R48WFhbgYAtIy_j-oGtHWpdZNpH75TFG7vNTC5O9xUvdr7kESTU-&m=G4bZGIMg_co66sOk6zatWEV58_gdNOYdDMVFzL1RgdI&s=X0YyFsAVqhfWVKtPnb5ZeP_LEA9KiWJpxMfLvDtNoNg&e=>
Cell: (520) [email protected]
<mailto:[email protected]>
--
Darrel J. Conway, Ph.D. Thinking Systems, Inc.
Senior Scientist and CEO 437 W Thurber Road, Suite 6
Phone: (623) 298-4530 Tucson, AZ 85705
FAX: (520) 232-2533 www.thinksysinc.com
Cell: (520) 425-3626 [email protected]
_______________________________________________
Gmat-buildtest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gmat-buildtest