hi Again
I hope I am not bothering you to much!
I now have a file names like this:
PMB-MPI1_MPI-OpenMPI_version1.0.2_nn2_ppn1_interIB_run1.log
that I want to get "1.0.2" from. In auto-pmb_exp.xml I have:
<parameter occurence="once">
<name>MPI_version</name>
<synopsis>Version of MPI library</synopsis>
<datatype>version</datatype>
</parameter>
In auto-pmb_input.xml I have:
<filename_location len="0">
<name>MPI_version</name>
<match terminator="_">_version</match>
</filename_location>
When I try to import the file I get:
$ perfbase input -v -d auto-pmb_input.xml
pe1850_input_IB/PMB-MPI1_MPI-OpenMPI_version1.0.2_nn2_ppn1_interIB_run1.log
#* importing data from
pe1850_input_IB/PMB-MPI1_MPI-OpenMPI_version1.0.2_nn2_ppn1_interIB_run1.log
(parsed according to auto-pmb_input.xml)
#* Parsing input description from XML file auto-pmb_input.xml
#* hashing file
pe1850_input_IB/PMB-MPI1_MPI-OpenMPI_version1.0.2_nn2_ppn1_interIB_run1.log
#* file
pe1850_input_IB/PMB-MPI1_MPI-OpenMPI_version1.0.2_nn2_ppn1_interIB_run1.log
has 363 lines
#* Processing data file
pe1850_input_IB/PMB-MPI1_MPI-OpenMPI_version1.0.2_nn2_ppn1_interIB_run1.log
#+ Creating new run with index 18
ERROR: version_nbr_in: parse error in 1.0.2_nn2_ppn1_interIB_run1.log:9
(duplicate release type string)
UPDATE rundata_once SET MPI_version = '1.0.2_nn2_ppn1_interIB_run1.log'
WHERE run_index = 18
If you have a suggestion that you would like me to try I would be happy to
give you the result.
Åsmund
---------------------------------------------------------------------
To unsubscribe, e-mail:
users-unsubscribe@...
For additional commands, e-mail:
users-help@...