aboutsummaryrefslogtreecommitdiff
path: root/src/rdf.cc
Commit message (Collapse)AuthorAge
* Clean up the source code handling the announce mechanism in Formaline.eschnett2010-06-30
| | | | | | | | | | | | | Restructure and clean up the makefiles and perl scripts that capture the source code when Cactus is built. Make things work with recent versions of git (>1.6.1). Split thorn tarballs into multiple files if they become too large. Update Formaline example parameter files. Use Carpet instead of PUGH, activate missing thorns. Some reformatting. git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/Formaline/trunk@187 83718e91-0e4f-0410-abf4-91180603181f
* - do not publish the source ID anymoretradke2008-03-07
| | | | | | | - also publish the simulation ID git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/Formaline/trunk@169 83718e91-0e4f-0410-abf4-91180603181f
* disable publishing the active thorns list and all parameters for nowtradke2008-03-07
| | | | | | | (it blows up the published RDF metadata and isn't used yet anyway) git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/Formaline/trunk@168 83718e91-0e4f-0410-abf4-91180603181f
* also announce config ID, build ID, source ID, and run ID as RDFtradke2008-03-07
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/Formaline/trunk@167 83718e91-0e4f-0410-abf4-91180603181f
* use more descriptive names for published runtime informationtradke2008-03-06
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/Formaline/trunk@166 83718e91-0e4f-0410-abf4-91180603181f
* add a datatype attribute to announced CCTK runtime informationtradke2008-03-03
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/Formaline/trunk@163 83718e91-0e4f-0410-abf4-91180603181f
* Remove $Header$ comments to prevent everything from recompiling afterschnetter2008-02-03
| | | | | | | a CVS commit. git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/Formaline/trunk@149 83718e91-0e4f-0410-abf4-91180603181f
* send metadata updates as a transaction of individual remove/add statementstradke2008-02-01
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/Formaline/trunk@147 83718e91-0e4f-0410-abf4-91180603181f
* Added new integer parameter Formaline::metadata_lifetime to specify a lifetimetradke2007-10-30
| | | | | | | for announced metadata. Default is 100 hours. git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/Formaline/trunk@143 83718e91-0e4f-0410-abf4-91180603181f
* fixed typo in XML namespace attributetradke2007-10-30
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/Formaline/trunk@142 83718e91-0e4f-0410-abf4-91180603181f
* RDF datetime datatype should be named 'xsd;dateTime' rather than 'xsd;datetime'tradke2007-10-04
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/Formaline/trunk@140 83718e91-0e4f-0410-abf4-91180603181f
* guess from the local hostname whether we are running as a PBS job ontradke2007-09-25
| | | | | | | damiana.aei.mpg.de (where PBS_O_HOST isn't set by the MPI runtime system) git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/Formaline/trunk@139 83718e91-0e4f-0410-abf4-91180603181f
* - register callbacks for the Publish APItradke2007-08-29
| | | | | | | | | | these callbacks collect published information and send it to an external RDF information service - use the Publish API to periodically announce simulation metadata runtime information git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/Formaline/trunk@132 83718e91-0e4f-0410-abf4-91180603181f
* use HTTP PUT to create a new RDF contexttradke2007-08-22
| | | | | | | use HTTP POST to add to or update an existing RDF context git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/Formaline/trunk@128 83718e91-0e4f-0410-abf4-91180603181f
* Use new namespace for a CCTK vocabulary. It now points to an actual RDF/XMLtradke2006-08-17
| | | | | | | document which defines such a CCTK vocabulary. git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/Formaline/trunk@115 83718e91-0e4f-0410-abf4-91180603181f
* Generate RDF/XML documents in a more compactified form (as documented ontradke2006-08-02
| | | | | | | http://proquest.safaribooksonline.com/?XmlId=0-596-00263-7/pracrdf-CHP-3-SECT-6). git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/Formaline/trunk@112 83718e91-0e4f-0410-abf4-91180603181f
* Also announce PBS_JOBID if it is set.tradke2006-08-01
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/Formaline/trunk@111 83718e91-0e4f-0410-abf4-91180603181f
* Added utility function rdf::cleanURI() to convert a string into a correct URItradke2006-08-01
| | | | | | | string. git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/Formaline/trunk@110 83718e91-0e4f-0410-abf4-91180603181f
* Use CCTK_CompileDateTime() and Util_CurrentDateTime() to get ISO 8601 conformanttradke2006-08-01
| | | | | | | datetimestamps. git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/Formaline/trunk@109 83718e91-0e4f-0410-abf4-91180603181f
* Factor out the routines that send some data to a specific host/port.schnetter2006-07-27
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/Formaline/trunk@108 83718e91-0e4f-0410-abf4-91180603181f
* Change NUM_INDENT_SPACES from macro to constant.schnetter2006-07-27
| | | | | | | | | | Pass cGH * instead of CCTK_ARGUMENTS to the RDF routines. Use the option "-x" when calling ssh. Otherwise it may try to forward an X11 connection, which may not exist. git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/Formaline/trunk@104 83718e91-0e4f-0410-abf4-91180603181f
* #include <sys/wait.h>, which is necessary for the WIFSIGNALED macro onschnetter2006-07-27
| | | | | | | Supermike. git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/Formaline/trunk@103 83718e91-0e4f-0410-abf4-91180603181f
* Use POSIX::sigaction for setting the SIGALRM handler to bypass the Perltradke2006-07-27
| | | | | | | | | | | | interpreter's signal handling which uses defered signals effectively ignoring user-defined timeouts for some I/O functions (see 'man perlipc' and then grep for 'Interrupting IO'). Check whether system ('perl script') exited due to SIGINT and, if so, raise(3) that signal also in the simulation process in order to stop it. git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/Formaline/trunk@102 83718e91-0e4f-0410-abf4-91180603181f
* Include all socket operations in the timeout given by Formaline::timeout.tradke2006-07-17
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/Formaline/trunk@100 83718e91-0e4f-0410-abf4-91180603181f
* Don't use multi-line strings when creating the RDF/XML document header.tradke2006-07-17
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/Formaline/trunk@99 83718e91-0e4f-0410-abf4-91180603181f
* Added new steerable integer parameter Formaline::timeout which lets you settradke2006-07-13
| | | | | | | | the timeout (in seconds) for connecting and sending meta information to a server. Default is 10 seconds. git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/Formaline/trunk@98 83718e91-0e4f-0410-abf4-91180603181f
* Fix RDF/XML syntax when sending metadata updates.tradke2006-07-12
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/Formaline/trunk@97 83718e91-0e4f-0410-abf4-91180603181f
* Implemented update of RDF information during evolution and at termination.tradke2006-07-12
| | | | | | | | Each update includes cctk_iteration, cctk_time, and the current datetime. The termination update is marked as such. git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/Formaline/trunk@96 83718e91-0e4f-0410-abf4-91180603181f
* Use HTTP PUT to send an RDF/XML document to an RDF storage server.tradke2006-07-11
| | | | | | | Prepare for sending updated information during evolution and at termination. git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/Formaline/trunk@95 83718e91-0e4f-0410-abf4-91180603181f
* Announce a parameter value only when it was set beforetradke2006-07-06
| | | | | | | or if IO::out_save_parameters is true. git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/Formaline/trunk@94 83718e91-0e4f-0410-abf4-91180603181f
* Revised version of RDF generation: it follows Dylan Stark's vocabularytradke2006-07-05
| | | | | | | | (as suggested on http://www.cct.lsu.edu/~dstark/cctk/0.1/) as much as possible and produces valid RDF/XML documents which can be queried with SPARQL. git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/Formaline/trunk@92 83718e91-0e4f-0410-abf4-91180603181f
* Commented out unused XML namespaces.tradke2006-06-20
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/Formaline/trunk@90 83718e91-0e4f-0410-abf4-91180603181f
* Added datatype to RDF/XML items.tradke2006-06-20
| | | | | | | Put in some formatting. git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/Formaline/trunk@89 83718e91-0e4f-0410-abf4-91180603181f
* Determine the output precision for real numbers fromschnetter2006-06-15
| | | | | | | std::numeric_limits. git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/Formaline/trunk@88 83718e91-0e4f-0410-abf4-91180603181f
* Make Formaline::rdf_hostname and Formaline::rdf_port array parameters so thattradke2006-06-15
| | | | | | | more than one RDF server can be specified. git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/Formaline/trunk@86 83718e91-0e4f-0410-abf4-91180603181f
* Properly indent RDF message.tradke2006-06-15
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/Formaline/trunk@85 83718e91-0e4f-0410-abf4-91180603181f
* Make things work when CCTK_REAL is not double and when CCTK_INT is notschnetter2006-06-14
| | | | | | | | | | | | int. Rename field "simulation id" to "jobid" when writing to a file. This makes the field name consistent with thorn Announce. Announce field "jobid" with RDF. git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/Formaline/trunk@84 83718e91-0e4f-0410-abf4-91180603181f
* Add missing end tag of RDF document.tradke2006-05-18
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/Formaline/trunk@81 83718e91-0e4f-0410-abf4-91180603181f
* Properly close the "form:Simulation" tag in an RDF message.tradke2006-05-17
| | | | git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/Formaline/trunk@80 83718e91-0e4f-0410-abf4-91180603181f
* Use Perl instead of C for makeblob and makemetablob.schnetter2006-05-04
Begin coupling Formaline to thorn Announce. Create stamp files that record which build and which simulation was run in the output directory. Begin implementing talking to an RDF server. Determine the host name in Perl, which is more reliable. (It is complicated to find a good host name.) git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/Formaline/trunk@75 83718e91-0e4f-0410-abf4-91180603181f