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]>; 
[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]' 
<[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]
https://lists.sourceforge.net/lists/listinfo/gmat-buildtest
  • [Gmat-build... Cooley, D S. (GSFC-5950) via Gmat-buildtest
    • Re: [G... Cooley, D S. (GSFC-5950) via Gmat-buildtest
      • Re... Slojkowski, Steven E. (GSFC-595.0)[OMITRON] via Gmat-buildtest
        • ... Slojkowski, Steven E. (GSFC-595.0)[OMITRON] via Gmat-buildtest
          • ... Slojkowski, Steven E. (GSFC-595.0)[OMITRON] via Gmat-buildtest
            • ... Darrel Conway
              • ... Slojkowski, Steven E. (GSFC-595.0)[OMITRON] via Gmat-buildtest
                • ... Darrel Conway
                • ... Slojkowski, Steven E. (GSFC-595.0)[OMITRON] via Gmat-buildtest
        • ... Darrel Conway

Reply via email to