Difference between revisions of "Run Submission Interface"

From PC2wiki
Jump to: navigation, search
m (See also: rename cat)
m (See Also: added CLICS history and links)
 
Line 40: Line 40:
 
The command above is a shorter form for the RSI, the full command that pc2 will use is:
 
The command above is a shorter form for the RSI, the full command that pc2 will use is:
 
  /usr/local/bin/rsi -p {:problemshort} -l {:languagename} -u {:teamid} -m {:mainfile} -i {:runid} -t {:elapsedms} {:filelist}
 
  /usr/local/bin/rsi -p {:problemshort} -l {:languagename} -u {:teamid} -m {:mainfile} -i {:runid} -t {:elapsedms} {:filelist}
 +
 +
==CLICS CCS Standard History==
 +
 +
The CLICS CCS had a requirement for the RSI documented through November of 2013
 +
 +
* [https://clics.ecs.baylor.edu/index.php?title=Contest_Control_System&oldid=1733 Last CCS requirement specification that referenced RSI]
 +
 +
That interface requirement was removed from the CCS and de facto removed as a requirement
 +
for a CCS without approval.  The RSI was implemented per this spec and the spec
 +
is also found above.
 +
 +
* [https://clics.ecs.baylor.edu/index.php/Run_Submission_Interface_2014 RSI Article]
  
 
==See Also==
 
==See Also==
 
* [[pc2submit]]
 
* [[pc2submit]]
 
* [[Variable Substitutions]]
 
* [[Variable Substitutions]]
 +
* [https://clics.ecs.baylor.edu/index.php/Run_Submission_Interface_2014 CLICS RSI]
  
 
[[Category:Version 9.3]]
 
[[Category:Version 9.3]]
 
[[Category:CLICS]]
 
[[Category:CLICS]]
 
[[Category:Import and Export]]
 
[[Category:Import and Export]]

Latest revision as of 09:08, 28 December 2016

The Run Submission Interface (RSI) is a standard way to submit a run into a CCS (like pc2).

pc2 implements both and input from and output to a RSI implementation.

RSI implementation (Input to pc2)

pc2 can accept run info and submitted source files using the pc2submit command. The other CCS or system must invoke pc2submit using the RSI standard command line options, which are:

-p <problem short-name>
-l <language name>
-u <team id>
-w <team password>
-m <main source filename>
-t <contest-time (in ms) for submission> (only allowed in CCS test mode)
-i <run id>

These options are followed by one or more source file names.

See examples in the article section pc2submit CCS examples

Run RSI Submission Command (output to another CCS)

pc2 can run a program to submit each run (as submitted) to another CCS.

To configure pc2 to invoke a RSI program update the following the Run Submission Command text field (on the Settings Tab).

By default the Run Submission Command text field contains:

#/usr/local/bin/rsi {:options} {:filelist}

Where the RSI program is /usr/local/bin/rsi. Update/change the /usr/local/bin/rsi program name to the actual RSI program used to submit to the other CCS.

The # is used to disable the feature. Remove the # and pc2 will invoke the rsi command.

The command above is a shorter form for the RSI, the full command that pc2 will use is:

/usr/local/bin/rsi -p {:problemshort} -l {:languagename} -u {:teamid} -m {:mainfile} -i {:runid} -t {:elapsedms} {:filelist}

CLICS CCS Standard History

The CLICS CCS had a requirement for the RSI documented through November of 2013

That interface requirement was removed from the CCS and de facto removed as a requirement for a CCS without approval. The RSI was implemented per this spec and the spec is also found above.

See Also