Re: [firedrake] how to change pvtu files?
Hi Francis, Jemma is actually claiming that Stephan fixed this and the fix was merged on 27 April. When did you last update firedrake? On Tue, 17 May 2016 at 12:07 Francis Poulin <fpoulin@uwaterloo.ca> wrote:
Hello David,
I'm not sure if this is a bug necessarily. Paraview views these files without any problem so it does work. Unfortunately, VisIt can't find the functions you want to plot when the path is there. Strange but true.
As for Jemma's comments, thanks, and I have not moved any files around. I am trying to view them in the directory where they were created.
I think it would be nice to have the data files generated for both systems to give people the choice of which software they want to use. Again, they both work in serial, which is strange, but VisIt has a problem in parallel. Or maybe the path is specified differently with the pvtu file? I don't know.
If you agree I can try and figure out how to modify the output.py script to do that.
Francis
------------------ Francis Poulin Associate Professor Department of Applied Mathematics University of Waterloo
email: fpoulin@uwaterloo.ca Web: https://uwaterloo.ca/poulin-research-group/ Telephone: +1 519 888 4567 x32637
------------------------------ *From:* firedrake-bounces@imperial.ac.uk [firedrake-bounces@imperial.ac.uk] on behalf of David Ham [David.Ham@imperial.ac.uk] *Sent:* Tuesday, May 17, 2016 6:54 AM
*To:* firedrake *Subject:* Re: [firedrake] how to change pvtu files? Hi Francis,
Do you have an idea where the bug is? If it's in Firedrake (i.e. the path is just not supposed to be there, and fixing it won't break loading these files in preview) then sure, go ahead and propose a pull request. I think the code you'll want is in output.py
On Tue, 17 May 2016 at 11:36 Francis Poulin <fpoulin@uwaterloo.ca> wrote:
Hello,
Recently I've been learning to use VisIt to view firedrake data instead of Paraview. In part because people around me use it and also I think it looks good.
When viewing data created in serial it works very easily but I found that when I was trying to view data created in parallel it was having problems finding the files. It turns out that one can fix this by changing one line in each pvtu file.
There is line in the file that specifies the source and has the path then the name of the vtu file. If I remove the path and only have the name of the file then VisIt can fine the files easily. I have asked them if there is a work around but if not is there a way to change this when the data files are create in firedake?
Cheers, Francis
------------------ Francis Poulin Associate Professor Department of Applied Mathematics University of Waterloo
email: fpoulin@uwaterloo.ca Web: https://uwaterloo.ca/poulin-research-group/ Telephone: +1 519 888 4567 x32637
Ah, sorry that I didn't get that. It's been a while. I am updating it now and hope that will do the trick. If not I will let you know. Francis ------------------ Francis Poulin Associate Professor Department of Applied Mathematics University of Waterloo email: fpoulin@uwaterloo.ca Web: https://uwaterloo.ca/poulin-research-group/ Telephone: +1 519 888 4567 x32637 ________________________________ From: firedrake-bounces@imperial.ac.uk [firedrake-bounces@imperial.ac.uk] on behalf of David Ham [David.Ham@imperial.ac.uk] Sent: Tuesday, May 17, 2016 7:11 AM To: firedrake Subject: Re: [firedrake] how to change pvtu files? Hi Francis, Jemma is actually claiming that Stephan fixed this and the fix was merged on 27 April. When did you last update firedrake? On Tue, 17 May 2016 at 12:07 Francis Poulin <fpoulin@uwaterloo.ca<mailto:fpoulin@uwaterloo.ca>> wrote: Hello David, I'm not sure if this is a bug necessarily. Paraview views these files without any problem so it does work. Unfortunately, VisIt can't find the functions you want to plot when the path is there. Strange but true. As for Jemma's comments, thanks, and I have not moved any files around. I am trying to view them in the directory where they were created. I think it would be nice to have the data files generated for both systems to give people the choice of which software they want to use. Again, they both work in serial, which is strange, but VisIt has a problem in parallel. Or maybe the path is specified differently with the pvtu file? I don't know. If you agree I can try and figure out how to modify the output.py script to do that. Francis ------------------ Francis Poulin Associate Professor Department of Applied Mathematics University of Waterloo email: fpoulin@uwaterloo.ca<mailto:fpoulin@uwaterloo.ca> Web: https://uwaterloo.ca/poulin-research-group/ Telephone: +1 519 888 4567 x32637 ________________________________ From: firedrake-bounces@imperial.ac.uk<mailto:firedrake-bounces@imperial.ac.uk> [firedrake-bounces@imperial.ac.uk<mailto:firedrake-bounces@imperial.ac.uk>] on behalf of David Ham [David.Ham@imperial.ac.uk<mailto:David.Ham@imperial.ac.uk>] Sent: Tuesday, May 17, 2016 6:54 AM To: firedrake Subject: Re: [firedrake] how to change pvtu files? Hi Francis, Do you have an idea where the bug is? If it's in Firedrake (i.e. the path is just not supposed to be there, and fixing it won't break loading these files in preview) then sure, go ahead and propose a pull request. I think the code you'll want is in output.py On Tue, 17 May 2016 at 11:36 Francis Poulin <fpoulin@uwaterloo.ca<mailto:fpoulin@uwaterloo.ca>> wrote: Hello, Recently I've been learning to use VisIt to view firedrake data instead of Paraview. In part because people around me use it and also I think it looks good. When viewing data created in serial it works very easily but I found that when I was trying to view data created in parallel it was having problems finding the files. It turns out that one can fix this by changing one line in each pvtu file. There is line in the file that specifies the source and has the path then the name of the vtu file. If I remove the path and only have the name of the file then VisIt can fine the files easily. I have asked them if there is a work around but if not is there a way to change this when the data files are create in firedake? Cheers, Francis ------------------ Francis Poulin Associate Professor Department of Applied Mathematics University of Waterloo email: fpoulin@uwaterloo.ca<mailto:fpoulin@uwaterloo.ca> Web: https://uwaterloo.ca/poulin-research-group/ Telephone: +1 519 888 4567 x32637
Sorry, I wasn't clear. My problem came about because of the fixed vs. relative path and was an issue with paraview too. Sounds like your problem is slightly different but just to confirm, I can open .pvtus in both paraview and Visit - hope it works for you after the update Francis! Jemma ________________________________ From: firedrake-bounces@imperial.ac.uk <firedrake-bounces@imperial.ac.uk> on behalf of Francis Poulin <fpoulin@uwaterloo.ca> Sent: 17 May 2016 12:13:40 To: firedrake Subject: Re: [firedrake] how to change pvtu files? Ah, sorry that I didn't get that. It's been a while. I am updating it now and hope that will do the trick. If not I will let you know. Francis ------------------ Francis Poulin Associate Professor Department of Applied Mathematics University of Waterloo email: fpoulin@uwaterloo.ca Web: https://uwaterloo.ca/poulin-research-group/ Telephone: +1 519 888 4567 x32637 ________________________________ From: firedrake-bounces@imperial.ac.uk [firedrake-bounces@imperial.ac.uk] on behalf of David Ham [David.Ham@imperial.ac.uk] Sent: Tuesday, May 17, 2016 7:11 AM To: firedrake Subject: Re: [firedrake] how to change pvtu files? Hi Francis, Jemma is actually claiming that Stephan fixed this and the fix was merged on 27 April. When did you last update firedrake? On Tue, 17 May 2016 at 12:07 Francis Poulin <fpoulin@uwaterloo.ca<mailto:fpoulin@uwaterloo.ca>> wrote: Hello David, I'm not sure if this is a bug necessarily. Paraview views these files without any problem so it does work. Unfortunately, VisIt can't find the functions you want to plot when the path is there. Strange but true. As for Jemma's comments, thanks, and I have not moved any files around. I am trying to view them in the directory where they were created. I think it would be nice to have the data files generated for both systems to give people the choice of which software they want to use. Again, they both work in serial, which is strange, but VisIt has a problem in parallel. Or maybe the path is specified differently with the pvtu file? I don't know. If you agree I can try and figure out how to modify the output.py script to do that. Francis ------------------ Francis Poulin Associate Professor Department of Applied Mathematics University of Waterloo email: fpoulin@uwaterloo.ca<mailto:fpoulin@uwaterloo.ca> Web: https://uwaterloo.ca/poulin-research-group/ Telephone: +1 519 888 4567 x32637 ________________________________ From: firedrake-bounces@imperial.ac.uk<mailto:firedrake-bounces@imperial.ac.uk> [firedrake-bounces@imperial.ac.uk<mailto:firedrake-bounces@imperial.ac.uk>] on behalf of David Ham [David.Ham@imperial.ac.uk<mailto:David.Ham@imperial.ac.uk>] Sent: Tuesday, May 17, 2016 6:54 AM To: firedrake Subject: Re: [firedrake] how to change pvtu files? Hi Francis, Do you have an idea where the bug is? If it's in Firedrake (i.e. the path is just not supposed to be there, and fixing it won't break loading these files in preview) then sure, go ahead and propose a pull request. I think the code you'll want is in output.py On Tue, 17 May 2016 at 11:36 Francis Poulin <fpoulin@uwaterloo.ca<mailto:fpoulin@uwaterloo.ca>> wrote: Hello, Recently I've been learning to use VisIt to view firedrake data instead of Paraview. In part because people around me use it and also I think it looks good. When viewing data created in serial it works very easily but I found that when I was trying to view data created in parallel it was having problems finding the files. It turns out that one can fix this by changing one line in each pvtu file. There is line in the file that specifies the source and has the path then the name of the vtu file. If I remove the path and only have the name of the file then VisIt can fine the files easily. I have asked them if there is a work around but if not is there a way to change this when the data files are create in firedake? Cheers, Francis ------------------ Francis Poulin Associate Professor Department of Applied Mathematics University of Waterloo email: fpoulin@uwaterloo.ca<mailto:fpoulin@uwaterloo.ca> Web: https://uwaterloo.ca/poulin-research-group/ Telephone: +1 519 888 4567 x32637
participants (3)
- 
                
                David Ham
- 
                
                Francis Poulin
- 
                
                Shipton, Jemma