An elementary question from a beginner user...
I can't get the simplest plot file examples given in the ToolsHOWTO or Tutorial:ClassicalMCSimulations to work.
While extracttext, extractxmgr and direct evaluation using xsltproc all work without complaining , no points are extracted e.g. from the task files produced by the one-dimensional Heisenberg simulation in Tutorial:ClassicalMCSimulations.
Thus although the plots produced by
extractxmgr plot.xml parm2a.task*.out.xml > result.xmgr
are correctly labeled, there are no points. Any ideas?
Thanks,
Austen
Hi Austen,
Can you pack your parm2a.task*.out.xml files into a tar file and send it to us so that we can take a look?
Matthias
On 9 Nov 2006, at 17:09, Austen Lamacraft wrote:
An elementary question from a beginner user...
I can't get the simplest plot file examples given in the ToolsHOWTO or Tutorial:ClassicalMCSimulations to work.
While extracttext, extractxmgr and direct evaluation using xsltproc all work without complaining , no points are extracted e.g. from the task files produced by the one-dimensional Heisenberg simulation in Tutorial:ClassicalMCSimulations.
Thus although the plots produced by
extractxmgr plot.xml parm2a.task*.out.xml > result.xmgr
are correctly labeled, there are no points. Any ideas?
Thanks,
Austen
Here they are.
Thanks,
Austen
On 10 Nov 2006, at 18:51, Matthias Troyer wrote:
Hi Austen,
Can you pack your parm2a.task*.out.xml files into a tar file and send it to us so that we can take a look?
Matthias
On 9 Nov 2006, at 17:09, Austen Lamacraft wrote:
An elementary question from a beginner user...
I can't get the simplest plot file examples given in the ToolsHOWTO or Tutorial:ClassicalMCSimulations to work.
While extracttext, extractxmgr and direct evaluation using xsltproc all work without complaining , no points are extracted e.g. from the task files produced by the one-dimensional Heisenberg simulation in Tutorial:ClassicalMCSimulations.
Thus although the plots produced by
extractxmgr plot.xml parm2a.task*.out.xml > result.xmgr
are correctly labeled, there are no points. Any ideas?
Thanks,
Austen
I have no problems with these files on my machine (see the attached file). Can you please tell us
- are there any error messages? - which XSLT processor do you have installed? - which ALPS version do you use?
Matthias
On 11 Nov 2006, at 11:55, Austen Lamacraft wrote:
Here they are.
Thanks,
Austen
<parm2.tar>
On 10 Nov 2006, at 18:51, Matthias Troyer wrote:
Hi Austen,
Can you pack your parm2a.task*.out.xml files into a tar file and send it to us so that we can take a look?
Matthias
On 9 Nov 2006, at 17:09, Austen Lamacraft wrote:
An elementary question from a beginner user...
I can't get the simplest plot file examples given in the ToolsHOWTO or Tutorial:ClassicalMCSimulations to work.
While extracttext, extractxmgr and direct evaluation using xsltproc all work without complaining , no points are extracted e.g. from the task files produced by the one-dimensional Heisenberg simulation in Tutorial:ClassicalMCSimulations.
Thus although the plots produced by
extractxmgr plot.xml parm2a.task*.out.xml > result.xmgr
are correctly labeled, there are no points. Any ideas?
Thanks,
Austen
- No, there are no error messages. - I'm using libxslt - It's ALPS 1.2.2
The xmgr file produced by extractxmgr has the correct title and axes, but no points (attached)
I guess it must be something with my XSLT processor.
On 11 Nov 2006, at 11:17, Matthias Troyer wrote:
I have no problems with these files on my machine (see the attached file). Can you please tell us
- are there any error messages?
- which XSLT processor do you have installed?
- which ALPS version do you use?
Matthias
<result.xmgr>
On 11 Nov 2006, at 11:55, Austen Lamacraft wrote:
Here they are.
Thanks,
Austen
<parm2.tar>
On 10 Nov 2006, at 18:51, Matthias Troyer wrote:
Hi Austen,
Can you pack your parm2a.task*.out.xml files into a tar file and send it to us so that we can take a look?
Matthias
On 9 Nov 2006, at 17:09, Austen Lamacraft wrote:
An elementary question from a beginner user...
I can't get the simplest plot file examples given in the ToolsHOWTO or Tutorial:ClassicalMCSimulations to work.
While extracttext, extractxmgr and direct evaluation using xsltproc all work without complaining , no points are extracted e.g. from the task files produced by the one-dimensional Heisenberg simulation in Tutorial:ClassicalMCSimulations.
Thus although the plots produced by
extractxmgr plot.xml parm2a.task*.out.xml > result.xmgr
are correctly labeled, there are no points. Any ideas?
Thanks,
Austen
Just to update this thread. After conferring with a colleague using Xalan I found that the command
" xsltproc ~/ALPS/lib/xml/plot2xsl.xsl plot.xml > archive2plot.xsl "
gives the same result on both our systems. However,
" xsltproc archive2plot.xsl archive > plot "
does not, despite the fact that our versions of "archive2plot.xsl" and "archive" are both identical
I concluded this was an XSLT processor problem. I was using the version of xsltproc that comes with Mac OS X Tiger (1.1.11). Since then I've tried 1.1.15 (Fink binary) and built 1.1.17 using Fink as well as trying the 1.1.17 binary from
http://www.explain.com.au/oss/libxml2xslt.html
In each case the problem is the same: no points are extracted. I realize this is not an ALPS problem per se, but does anyone have any advice regarding xsltproc in OS X?
I could try switching to Xalan...
Austen
On 9 Nov 2006, at 16:09, Austen Lamacraft wrote:
An elementary question from a beginner user...
I can't get the simplest plot file examples given in the ToolsHOWTO or Tutorial:ClassicalMCSimulations to work.
While extracttext, extractxmgr and direct evaluation using xsltproc all work without complaining , no points are extracted e.g. from the task files produced by the one-dimensional Heisenberg simulation in Tutorial:ClassicalMCSimulations.
Thus although the plots produced by
extractxmgr plot.xml parm2a.task*.out.xml > result.xmgr
are correctly labeled, there are no points. Any ideas?
Thanks,
Austen
This is strange since I regularly run this on OS X. Can you please send the files archive and archive2plot.xsl ?
Matthias
On Dec 5, 2006, at 12:39 PM, Austen Lamacraft wrote:
Just to update this thread. After conferring with a colleague using Xalan I found that the command
" xsltproc ~/ALPS/lib/xml/plot2xsl.xsl plot.xml > archive2plot.xsl "
gives the same result on both our systems. However,
" xsltproc archive2plot.xsl archive > plot "
does not, despite the fact that our versions of "archive2plot.xsl" and "archive" are both identical
I concluded this was an XSLT processor problem. I was using the version of xsltproc that comes with Mac OS X Tiger (1.1.11). Since then I've tried 1.1.15 (Fink binary) and built 1.1.17 using Fink as well as trying the 1.1.17 binary from
http://www.explain.com.au/oss/libxml2xslt.html
In each case the problem is the same: no points are extracted. I realize this is not an ALPS problem per se, but does anyone have any advice regarding xsltproc in OS X?
I could try switching to Xalan...
Austen
On 9 Nov 2006, at 16:09, Austen Lamacraft wrote:
An elementary question from a beginner user...
I can't get the simplest plot file examples given in the ToolsHOWTO or Tutorial:ClassicalMCSimulations to work.
While extracttext, extractxmgr and direct evaluation using xsltproc all work without complaining , no points are extracted e.g. from the task files produced by the one-dimensional Heisenberg simulation in Tutorial:ClassicalMCSimulations.
Thus although the plots produced by
extractxmgr plot.xml parm2a.task*.out.xml > result.xmgr
are correctly labeled, there are no points. Any ideas?
Thanks,
Austen
Here are the files. I'm sure it's something basic that I'm missing, but unfortunately I have no experience with XSLT.
Austen
On 5 Dec 2006, at 12:32, Matthias Troyer wrote:
This is strange since I regularly run this on OS X. Can you please send the files archive and archive2plot.xsl ?
Matthias
On Dec 5, 2006, at 12:39 PM, Austen Lamacraft wrote:
Just to update this thread. After conferring with a colleague using Xalan I found that the command
" xsltproc ~/ALPS/lib/xml/plot2xsl.xsl plot.xml > archive2plot.xsl "
gives the same result on both our systems. However,
" xsltproc archive2plot.xsl archive > plot "
does not, despite the fact that our versions of "archive2plot.xsl" and "archive" are both identical
I concluded this was an XSLT processor problem. I was using the version of xsltproc that comes with Mac OS X Tiger (1.1.11). Since then I've tried 1.1.15 (Fink binary) and built 1.1.17 using Fink as well as trying the 1.1.17 binary from
http://www.explain.com.au/oss/libxml2xslt.html
In each case the problem is the same: no points are extracted. I realize this is not an ALPS problem per se, but does anyone have any advice regarding xsltproc in OS X?
I could try switching to Xalan...
Austen
On 9 Nov 2006, at 16:09, Austen Lamacraft wrote:
An elementary question from a beginner user...
I can't get the simplest plot file examples given in the ToolsHOWTO or Tutorial:ClassicalMCSimulations to work.
While extracttext, extractxmgr and direct evaluation using xsltproc all work without complaining , no points are extracted e.g. from the task files produced by the one-dimensional Heisenberg simulation in Tutorial:ClassicalMCSimulations.
Thus although the plots produced by
extractxmgr plot.xml parm2a.task*.out.xml > result.xmgr
are correctly labeled, there are no points. Any ideas?
Thanks,
Austen
On my MacOS X machine this works:
troyer$ /usr/bin/xsltproc archive2plot.xsl archive <?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="http://xml.comp-phys.org/ 2003/4/plot2html.xsl"?> <plot name="Susceptibility versus temperature for one-dimensional Heisenberg models"><legend show="true"/><xaxis label="Temperature"/
<yaxis label="Susceptibility"/><set>
<point><x>0.05</x><y>0.17104</y><dy>0.00152</dy></point> </set> </plot>
troyer$ /usr/bin/xsltproc --version Using libxml 20616, libxslt 10111 and libexslt 809 xsltproc was compiled against libxml 20616, libxslt 10111 and libexslt 809 libxslt 10111 was compiled against libxml 20616 libexslt 809 was compiled against libxml 20616
Which version of MacOS X do you use? what is the output of /usr/bin/ xsltproc --version ?
Matthias
On Dec 5, 2006, at 4:52 PM, Austen Lamacraft wrote:
Here are the files. I'm sure it's something basic that I'm missing, but unfortunately I have no experience with XSLT.
Austen
<archive> <archive2plot.xsl>
On 5 Dec 2006, at 12:32, Matthias Troyer wrote:
This is strange since I regularly run this on OS X. Can you please send the files archive and archive2plot.xsl ?
Matthias
On Dec 5, 2006, at 12:39 PM, Austen Lamacraft wrote:
Just to update this thread. After conferring with a colleague using Xalan I found that the command
" xsltproc ~/ALPS/lib/xml/plot2xsl.xsl plot.xml > archive2plot.xsl "
gives the same result on both our systems. However,
" xsltproc archive2plot.xsl archive > plot "
does not, despite the fact that our versions of "archive2plot.xsl" and "archive" are both identical
I concluded this was an XSLT processor problem. I was using the version of xsltproc that comes with Mac OS X Tiger (1.1.11). Since then I've tried 1.1.15 (Fink binary) and built 1.1.17 using Fink as well as trying the 1.1.17 binary from
http://www.explain.com.au/oss/libxml2xslt.html
In each case the problem is the same: no points are extracted. I realize this is not an ALPS problem per se, but does anyone have any advice regarding xsltproc in OS X?
I could try switching to Xalan...
Austen
On 9 Nov 2006, at 16:09, Austen Lamacraft wrote:
An elementary question from a beginner user...
I can't get the simplest plot file examples given in the ToolsHOWTO or Tutorial:ClassicalMCSimulations to work.
While extracttext, extractxmgr and direct evaluation using xsltproc all work without complaining , no points are extracted e.g. from the task files produced by the one-dimensional Heisenberg simulation in Tutorial:ClassicalMCSimulations.
Thus although the plots produced by
extractxmgr plot.xml parm2a.task*.out.xml > result.xmgr
are correctly labeled, there are no points. Any ideas?
Thanks,
Austen
I'm using 10.4.8
austen% /usr/bin/xsltproc --version Using libxml 20626, libxslt 10117 and libexslt 813 xsltproc was compiled against libxml 20626, libxslt 10117 and libexslt 813 libxslt 10117 was compiled against libxml 20626 libexslt 813 was compiled against libxml 20626
On 5 Dec 2006, at 16:20, Matthias Troyer wrote:
On my MacOS X machine this works:
troyer$ /usr/bin/xsltproc archive2plot.xsl archive
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="http://xml.comp-phys.org/ 2003/4/plot2html.xsl"?>
<plot name="Susceptibility versus temperature for one- dimensional Heisenberg models"><legend show="true"/><xaxis label="Temperature"/><yaxis label="Susceptibility"/><set> <point><x>0.05</x><y>0.17104</y><dy>0.00152</dy></point>
</set> </plot>
troyer$ /usr/bin/xsltproc --version Using libxml 20616, libxslt 10111 and libexslt 809 xsltproc was compiled against libxml 20616, libxslt 10111 and libexslt 809 libxslt 10111 was compiled against libxml 20616 libexslt 809 was compiled against libxml 20616
Which version of MacOS X do you use? what is the output of /usr/ bin/xsltproc --version ?
Matthias
On Dec 5, 2006, at 4:52 PM, Austen Lamacraft wrote:
Here are the files. I'm sure it's something basic that I'm missing, but unfortunately I have no experience with XSLT.
Austen
<archive> <archive2plot.xsl>
On 5 Dec 2006, at 12:32, Matthias Troyer wrote:
This is strange since I regularly run this on OS X. Can you please send the files archive and archive2plot.xsl ?
Matthias
On Dec 5, 2006, at 12:39 PM, Austen Lamacraft wrote:
Just to update this thread. After conferring with a colleague using Xalan I found that the command
" xsltproc ~/ALPS/lib/xml/plot2xsl.xsl plot.xml > archive2plot.xsl "
gives the same result on both our systems. However,
" xsltproc archive2plot.xsl archive > plot "
does not, despite the fact that our versions of "archive2plot.xsl" and "archive" are both identical
I concluded this was an XSLT processor problem. I was using the version of xsltproc that comes with Mac OS X Tiger (1.1.11). Since then I've tried 1.1.15 (Fink binary) and built 1.1.17 using Fink as well as trying the 1.1.17 binary from
http://www.explain.com.au/oss/libxml2xslt.html
In each case the problem is the same: no points are extracted. I realize this is not an ALPS problem per se, but does anyone have any advice regarding xsltproc in OS X?
I could try switching to Xalan...
Austen
On 9 Nov 2006, at 16:09, Austen Lamacraft wrote:
An elementary question from a beginner user...
I can't get the simplest plot file examples given in the ToolsHOWTO or Tutorial:ClassicalMCSimulations to work.
While extracttext, extractxmgr and direct evaluation using xsltproc all work without complaining , no points are extracted e.g. from the task files produced by the one-dimensional Heisenberg simulation in Tutorial:ClassicalMCSimulations.
Thus although the plots produced by
extractxmgr plot.xml parm2a.task*.out.xml > result.xmgr
are correctly labeled, there are no points. Any ideas?
Thanks,
Austen
Do you run on an Intel or PowerPC Mac?
On Dec 5, 2006, at 6:28 PM, Austen Lamacraft wrote:
I'm using 10.4.8
austen% /usr/bin/xsltproc --version Using libxml 20626, libxslt 10117 and libexslt 813 xsltproc was compiled against libxml 20626, libxslt 10117 and libexslt 813 libxslt 10117 was compiled against libxml 20626 libexslt 813 was compiled against libxml 20626
On 5 Dec 2006, at 16:20, Matthias Troyer wrote:
On my MacOS X machine this works:
troyer$ /usr/bin/xsltproc archive2plot.xsl archive
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="http://xml.comp-phys.org/ 2003/4/plot2html.xsl"?>
<plot name="Susceptibility versus temperature for one- dimensional Heisenberg models"><legend show="true"/><xaxis label="Temperature"/><yaxis label="Susceptibility"/><set> <point><x>0.05</x><y>0.17104</y><dy>0.00152</dy></point>
</set> </plot>
troyer$ /usr/bin/xsltproc --version Using libxml 20616, libxslt 10111 and libexslt 809 xsltproc was compiled against libxml 20616, libxslt 10111 and libexslt 809 libxslt 10111 was compiled against libxml 20616 libexslt 809 was compiled against libxml 20616
Which version of MacOS X do you use? what is the output of /usr/ bin/xsltproc --version ?
Matthias
On Dec 5, 2006, at 4:52 PM, Austen Lamacraft wrote:
Here are the files. I'm sure it's something basic that I'm missing, but unfortunately I have no experience with XSLT.
Austen
<archive> <archive2plot.xsl>
On 5 Dec 2006, at 12:32, Matthias Troyer wrote:
This is strange since I regularly run this on OS X. Can you please send the files archive and archive2plot.xsl ?
Matthias
On Dec 5, 2006, at 12:39 PM, Austen Lamacraft wrote:
Just to update this thread. After conferring with a colleague using Xalan I found that the command
" xsltproc ~/ALPS/lib/xml/plot2xsl.xsl plot.xml > archive2plot.xsl "
gives the same result on both our systems. However,
" xsltproc archive2plot.xsl archive > plot "
does not, despite the fact that our versions of "archive2plot.xsl" and "archive" are both identical
I concluded this was an XSLT processor problem. I was using the version of xsltproc that comes with Mac OS X Tiger (1.1.11). Since then I've tried 1.1.15 (Fink binary) and built 1.1.17 using Fink as well as trying the 1.1.17 binary from
http://www.explain.com.au/oss/libxml2xslt.html
In each case the problem is the same: no points are extracted. I realize this is not an ALPS problem per se, but does anyone have any advice regarding xsltproc in OS X?
I could try switching to Xalan...
Austen
On 9 Nov 2006, at 16:09, Austen Lamacraft wrote:
An elementary question from a beginner user...
I can't get the simplest plot file examples given in the ToolsHOWTO or Tutorial:ClassicalMCSimulations to work.
While extracttext, extractxmgr and direct evaluation using xsltproc all work without complaining , no points are extracted e.g. from the task files produced by the one- dimensional Heisenberg simulation in Tutorial:ClassicalMCSimulations.
Thus although the plots produced by
extractxmgr plot.xml parm2a.task*.out.xml > result.xmgr
are correctly labeled, there are no points. Any ideas?
Thanks,
Austen
PowerPC
On 5 Dec 2006, at 17:37, Matthias Troyer wrote:
Do you run on an Intel or PowerPC Mac?
On Dec 5, 2006, at 6:28 PM, Austen Lamacraft wrote:
I'm using 10.4.8
austen% /usr/bin/xsltproc --version Using libxml 20626, libxslt 10117 and libexslt 813 xsltproc was compiled against libxml 20626, libxslt 10117 and libexslt 813 libxslt 10117 was compiled against libxml 20626 libexslt 813 was compiled against libxml 20626
On 5 Dec 2006, at 16:20, Matthias Troyer wrote:
On my MacOS X machine this works:
troyer$ /usr/bin/xsltproc archive2plot.xsl archive
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="http://xml.comp-phys.org/ 2003/4/plot2html.xsl"?>
<plot name="Susceptibility versus temperature for one- dimensional Heisenberg models"><legend show="true"/><xaxis label="Temperature"/><yaxis label="Susceptibility"/><set> <point><x>0.05</x><y>0.17104</y><dy>0.00152</dy></point>
</set> </plot>
troyer$ /usr/bin/xsltproc --version Using libxml 20616, libxslt 10111 and libexslt 809 xsltproc was compiled against libxml 20616, libxslt 10111 and libexslt 809 libxslt 10111 was compiled against libxml 20616 libexslt 809 was compiled against libxml 20616
Which version of MacOS X do you use? what is the output of /usr/ bin/xsltproc --version ?
Matthias
On Dec 5, 2006, at 4:52 PM, Austen Lamacraft wrote:
Here are the files. I'm sure it's something basic that I'm missing, but unfortunately I have no experience with XSLT.
Austen
<archive> <archive2plot.xsl>
On 5 Dec 2006, at 12:32, Matthias Troyer wrote:
This is strange since I regularly run this on OS X. Can you please send the files archive and archive2plot.xsl ?
Matthias
On Dec 5, 2006, at 12:39 PM, Austen Lamacraft wrote:
Just to update this thread. After conferring with a colleague using Xalan I found that the command
" xsltproc ~/ALPS/lib/xml/plot2xsl.xsl plot.xml > archive2plot.xsl "
gives the same result on both our systems. However,
" xsltproc archive2plot.xsl archive > plot "
does not, despite the fact that our versions of "archive2plot.xsl" and "archive" are both identical
I concluded this was an XSLT processor problem. I was using the version of xsltproc that comes with Mac OS X Tiger (1.1.11). Since then I've tried 1.1.15 (Fink binary) and built 1.1.17 using Fink as well as trying the 1.1.17 binary from
http://www.explain.com.au/oss/libxml2xslt.html
In each case the problem is the same: no points are extracted. I realize this is not an ALPS problem per se, but does anyone have any advice regarding xsltproc in OS X?
I could try switching to Xalan...
Austen
On 9 Nov 2006, at 16:09, Austen Lamacraft wrote:
> > An elementary question from a beginner user... > > I can't get the simplest plot file examples given in the > ToolsHOWTO or Tutorial:ClassicalMCSimulations to work. > > While extracttext, extractxmgr and direct evaluation using > xsltproc all work without complaining , no points are > extracted e.g. from the task files produced by the one- > dimensional Heisenberg simulation in > Tutorial:ClassicalMCSimulations. > > Thus although the plots produced by > > extractxmgr plot.xml parm2a.task*.out.xml > result.xmgr > > are correctly labeled, there are no points. Any ideas? > > Thanks, > > Austen >
Then I find it strange that we seem to have different versions of xsltproc. Did you install any custom version or did you just take the preinstalled Apple version? All my PowerPC Macs have
Using libxml 20616, libxslt 10111 and libexslt 809 xsltproc was compiled against libxml 20616, libxslt 10111 and libexslt 809 libxslt 10111 was compiled against libxml 20616 libexslt 809 was compiled against libxml 20616
Matthias
On Dec 5, 2006, at 6:39 PM, Austen Lamacraft wrote:
PowerPC
On 5 Dec 2006, at 17:37, Matthias Troyer wrote:
Do you run on an Intel or PowerPC Mac?
On Dec 5, 2006, at 6:28 PM, Austen Lamacraft wrote:
I'm using 10.4.8
austen% /usr/bin/xsltproc --version Using libxml 20626, libxslt 10117 and libexslt 813 xsltproc was compiled against libxml 20626, libxslt 10117 and libexslt 813 libxslt 10117 was compiled against libxml 20626 libexslt 813 was compiled against libxml 20626
On 5 Dec 2006, at 16:20, Matthias Troyer wrote:
On my MacOS X machine this works:
troyer$ /usr/bin/xsltproc archive2plot.xsl archive
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="http://xml.comp-phys.org/ 2003/4/plot2html.xsl"?>
<plot name="Susceptibility versus temperature for one- dimensional Heisenberg models"><legend show="true"/><xaxis label="Temperature"/><yaxis label="Susceptibility"/><set> <point><x>0.05</x><y>0.17104</y><dy>0.00152</dy></point>
</set> </plot>
troyer$ /usr/bin/xsltproc --version Using libxml 20616, libxslt 10111 and libexslt 809 xsltproc was compiled against libxml 20616, libxslt 10111 and libexslt 809 libxslt 10111 was compiled against libxml 20616 libexslt 809 was compiled against libxml 20616
Which version of MacOS X do you use? what is the output of /usr/ bin/xsltproc --version ?
Matthias
On Dec 5, 2006, at 4:52 PM, Austen Lamacraft wrote:
Here are the files. I'm sure it's something basic that I'm missing, but unfortunately I have no experience with XSLT.
Austen
<archive> <archive2plot.xsl>
On 5 Dec 2006, at 12:32, Matthias Troyer wrote:
This is strange since I regularly run this on OS X. Can you please send the files archive and archive2plot.xsl ?
Matthias
On Dec 5, 2006, at 12:39 PM, Austen Lamacraft wrote:
> > Just to update this thread. After conferring with a colleague > using Xalan I found that the command > > " xsltproc ~/ALPS/lib/xml/plot2xsl.xsl plot.xml > > archive2plot.xsl " > > gives the same result on both our systems. However, > > " xsltproc archive2plot.xsl archive > plot " > > does not, despite the fact that our versions of > "archive2plot.xsl" and "archive" are both identical > > I concluded this was an XSLT processor problem. I was using > the version of xsltproc that comes with Mac OS X Tiger > (1.1.11). Since then I've tried 1.1.15 (Fink binary) and > built 1.1.17 using Fink as well as trying the 1.1.17 binary from > > http://www.explain.com.au/oss/libxml2xslt.html > > In each case the problem is the same: no points are > extracted. I realize this is not an ALPS problem per se, but > does anyone have any advice regarding xsltproc in OS X? > > I could try switching to Xalan... > > Austen > > On 9 Nov 2006, at 16:09, Austen Lamacraft wrote: > >> >> An elementary question from a beginner user... >> >> I can't get the simplest plot file examples given in the >> ToolsHOWTO or Tutorial:ClassicalMCSimulations to work. >> >> While extracttext, extractxmgr and direct evaluation using >> xsltproc all work without complaining , no points are >> extracted e.g. from the task files produced by the one- >> dimensional Heisenberg simulation in >> Tutorial:ClassicalMCSimulations. >> >> Thus although the plots produced by >> >> extractxmgr plot.xml parm2a.task*.out.xml > result.xmgr >> >> are correctly labeled, there are no points. Any ideas? >> >> Thanks, >> >> Austen >>
I did try installing later versions, as I wrote earlier. I've just noticed however, that while I thought I had libxslt 1.1.11 originally before updating to 1.1.17, the preinstalled version on my machine was in fact 1.1.17. I don't know why that is, as I thought Tiger came with 1.1.11. Perhaps I downloaded it as an update at some point.
In any case, I guess it's probably worth reverting to 1.1.11.
Thanks,
Austen
On 5 Dec 2006, at 17:48, Matthias Troyer wrote:
Then I find it strange that we seem to have different versions of xsltproc. Did you install any custom version or did you just take the preinstalled Apple version? All my PowerPC Macs have
Using libxml 20616, libxslt 10111 and libexslt 809 xsltproc was compiled against libxml 20616, libxslt 10111 and libexslt 809 libxslt 10111 was compiled against libxml 20616 libexslt 809 was compiled against libxml 20616
Matthias
On Dec 5, 2006, at 6:39 PM, Austen Lamacraft wrote:
PowerPC
On 5 Dec 2006, at 17:37, Matthias Troyer wrote:
Do you run on an Intel or PowerPC Mac?
On Dec 5, 2006, at 6:28 PM, Austen Lamacraft wrote:
I'm using 10.4.8
austen% /usr/bin/xsltproc --version Using libxml 20626, libxslt 10117 and libexslt 813 xsltproc was compiled against libxml 20626, libxslt 10117 and libexslt 813 libxslt 10117 was compiled against libxml 20626 libexslt 813 was compiled against libxml 20626
On 5 Dec 2006, at 16:20, Matthias Troyer wrote:
On my MacOS X machine this works:
troyer$ /usr/bin/xsltproc archive2plot.xsl archive
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="http://xml.comp-phys.org/ 2003/4/plot2html.xsl"?>
<plot name="Susceptibility versus temperature for one- dimensional Heisenberg models"><legend show="true"/><xaxis label="Temperature"/><yaxis label="Susceptibility"/><set> <point><x>0.05</x><y>0.17104</y><dy>0.00152</dy></point>
</set> </plot>
troyer$ /usr/bin/xsltproc --version Using libxml 20616, libxslt 10111 and libexslt 809 xsltproc was compiled against libxml 20616, libxslt 10111 and libexslt 809 libxslt 10111 was compiled against libxml 20616 libexslt 809 was compiled against libxml 20616
Which version of MacOS X do you use? what is the output of / usr/bin/xsltproc --version ?
Matthias
On Dec 5, 2006, at 4:52 PM, Austen Lamacraft wrote:
Here are the files. I'm sure it's something basic that I'm missing, but unfortunately I have no experience with XSLT.
Austen
<archive> <archive2plot.xsl>
On 5 Dec 2006, at 12:32, Matthias Troyer wrote:
> This is strange since I regularly run this on OS X. Can you > please send the files archive and archive2plot.xsl ? > > Matthias > > On Dec 5, 2006, at 12:39 PM, Austen Lamacraft wrote: > >> >> Just to update this thread. After conferring with a >> colleague using Xalan I found that the command >> >> " xsltproc ~/ALPS/lib/xml/plot2xsl.xsl plot.xml > >> archive2plot.xsl " >> >> gives the same result on both our systems. However, >> >> " xsltproc archive2plot.xsl archive > plot " >> >> does not, despite the fact that our versions of >> "archive2plot.xsl" and "archive" are both identical >> >> I concluded this was an XSLT processor problem. I was using >> the version of xsltproc that comes with Mac OS X Tiger >> (1.1.11). Since then I've tried 1.1.15 (Fink binary) and >> built 1.1.17 using Fink as well as trying the 1.1.17 binary >> from >> >> http://www.explain.com.au/oss/libxml2xslt.html >> >> In each case the problem is the same: no points are >> extracted. I realize this is not an ALPS problem per se, but >> does anyone have any advice regarding xsltproc in OS X? >> >> I could try switching to Xalan... >> >> Austen >> >> On 9 Nov 2006, at 16:09, Austen Lamacraft wrote: >> >>> >>> An elementary question from a beginner user... >>> >>> I can't get the simplest plot file examples given in the >>> ToolsHOWTO or Tutorial:ClassicalMCSimulations to work. >>> >>> While extracttext, extractxmgr and direct evaluation using >>> xsltproc all work without complaining , no points are >>> extracted e.g. from the task files produced by the one- >>> dimensional Heisenberg simulation in >>> Tutorial:ClassicalMCSimulations. >>> >>> Thus although the plots produced by >>> >>> extractxmgr plot.xml parm2a.task*.out.xml > result.xmgr >>> >>> are correctly labeled, there are no points. Any ideas? >>> >>> Thanks, >>> >>> Austen >>> > >
OK problem solved,
The problem was that there are TWO versions of archive2plot.xml on my machine. One is in ALPS/lib/xml, the other in ALPS/tool. They differ in that one calls ExtractDataFromArchive (correctly), and the other ExtractValuesFromSimulation, the source of the problem.
I have no idea why that is
On 5 Dec 2006, at 18:02, Austen Lamacraft wrote:
I did try installing later versions, as I wrote earlier. I've just noticed however, that while I thought I had libxslt 1.1.11 originally before updating to 1.1.17, the preinstalled version on my machine was in fact 1.1.17. I don't know why that is, as I thought Tiger came with 1.1.11. Perhaps I downloaded it as an update at some point.
In any case, I guess it's probably worth reverting to 1.1.11.
Thanks,
Austen
On 5 Dec 2006, at 17:48, Matthias Troyer wrote:
Then I find it strange that we seem to have different versions of xsltproc. Did you install any custom version or did you just take the preinstalled Apple version? All my PowerPC Macs have
Using libxml 20616, libxslt 10111 and libexslt 809 xsltproc was compiled against libxml 20616, libxslt 10111 and libexslt 809 libxslt 10111 was compiled against libxml 20616 libexslt 809 was compiled against libxml 20616
Matthias
On Dec 5, 2006, at 6:39 PM, Austen Lamacraft wrote:
PowerPC
On 5 Dec 2006, at 17:37, Matthias Troyer wrote:
Do you run on an Intel or PowerPC Mac?
On Dec 5, 2006, at 6:28 PM, Austen Lamacraft wrote:
I'm using 10.4.8
austen% /usr/bin/xsltproc --version Using libxml 20626, libxslt 10117 and libexslt 813 xsltproc was compiled against libxml 20626, libxslt 10117 and libexslt 813 libxslt 10117 was compiled against libxml 20626 libexslt 813 was compiled against libxml 20626
On 5 Dec 2006, at 16:20, Matthias Troyer wrote:
On my MacOS X machine this works:
troyer$ /usr/bin/xsltproc archive2plot.xsl archive
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="http://xml.comp- phys.org/2003/4/plot2html.xsl"?>
<plot name="Susceptibility versus temperature for one- dimensional Heisenberg models"><legend show="true"/><xaxis label="Temperature"/><yaxis label="Susceptibility"/><set> <point><x>0.05</x><y>0.17104</y><dy>0.00152</dy></point>
</set> </plot>
troyer$ /usr/bin/xsltproc --version Using libxml 20616, libxslt 10111 and libexslt 809 xsltproc was compiled against libxml 20616, libxslt 10111 and libexslt 809 libxslt 10111 was compiled against libxml 20616 libexslt 809 was compiled against libxml 20616
Which version of MacOS X do you use? what is the output of / usr/bin/xsltproc --version ?
Matthias
On Dec 5, 2006, at 4:52 PM, Austen Lamacraft wrote:
> > Here are the files. I'm sure it's something basic that I'm > missing, but unfortunately I have no experience with XSLT. > > Austen > > <archive> > <archive2plot.xsl> > > On 5 Dec 2006, at 12:32, Matthias Troyer wrote: > >> This is strange since I regularly run this on OS X. Can you >> please send the files archive and archive2plot.xsl ? >> >> Matthias >> >> On Dec 5, 2006, at 12:39 PM, Austen Lamacraft wrote: >> >>> >>> Just to update this thread. After conferring with a >>> colleague using Xalan I found that the command >>> >>> " xsltproc ~/ALPS/lib/xml/plot2xsl.xsl plot.xml > >>> archive2plot.xsl " >>> >>> gives the same result on both our systems. However, >>> >>> " xsltproc archive2plot.xsl archive > plot " >>> >>> does not, despite the fact that our versions of >>> "archive2plot.xsl" and "archive" are both identical >>> >>> I concluded this was an XSLT processor problem. I was using >>> the version of xsltproc that comes with Mac OS X Tiger >>> (1.1.11). Since then I've tried 1.1.15 (Fink binary) and >>> built 1.1.17 using Fink as well as trying the 1.1.17 binary >>> from >>> >>> http://www.explain.com.au/oss/libxml2xslt.html >>> >>> In each case the problem is the same: no points are >>> extracted. I realize this is not an ALPS problem per se, >>> but does anyone have any advice regarding xsltproc in OS X? >>> >>> I could try switching to Xalan... >>> >>> Austen >>> >>> On 9 Nov 2006, at 16:09, Austen Lamacraft wrote: >>> >>>> >>>> An elementary question from a beginner user... >>>> >>>> I can't get the simplest plot file examples given in the >>>> ToolsHOWTO or Tutorial:ClassicalMCSimulations to work. >>>> >>>> While extracttext, extractxmgr and direct evaluation using >>>> xsltproc all work without complaining , no points are >>>> extracted e.g. from the task files produced by the one- >>>> dimensional Heisenberg simulation in >>>> Tutorial:ClassicalMCSimulations. >>>> >>>> Thus although the plots produced by >>>> >>>> extractxmgr plot.xml parm2a.task*.out.xml > result.xmgr >>>> >>>> are correctly labeled, there are no points. Any ideas? >>>> >>>> Thanks, >>>> >>>> Austen >>>> >> >> >
On Dec 6, 2006, at 1:42 PM, Austen Lamacraft wrote:
OK problem solved,
The problem was that there are TWO versions of archive2plot.xml on my machine. One is in ALPS/lib/xml, the other in ALPS/tool. They differ in that one calls ExtractDataFromArchive (correctly), and the other ExtractValuesFromSimulation, the source of the problem.
I have no idea why that is
The one in ALPS/tool is from version 1.2.2, the other one from 1.3 . It seems that you have a mix of versions in your installation.
Matthias
comp-phys-alps-users@lists.phys.ethz.ch