Comments (10)
You can just specify -noxwin
to your prepfold command, if I'm understanding your question correctly.
from presto.
from presto.
I just doubled checked and we are already doing -noxwin for prepfold calls and it still doesn't seem to like it
from presto.
Here is the error we get even running with noxwin
Error: "/opt/apps/spack/netpbm-10.73.43-u7pxw3h/bin/pnmflip -cw < /tmp/p769858.pnm|
/opt/apps/spack/netpbm-10.73.43-u7pxw3h/bin/pnmquant 256 |
/opt/apps/spack/netpbm-10.73.43-u7pxw3h/bin/pnmtopng > S00611_4_DM61.00_ACCEL_50_ACCEL_Cand_1.pfd.png" failed:
Error running pstoimg in prepfold_plot(): No such device or address
Also, I have built presto using Spack as the package manager and included pgplot +X +png as well as latex2html as part of the dependencies
from presto.
Ah I see. This really isn't a presto thing, so -noxwin
won't help. After presto successfully(?) generates the .ps prepfold plot, it runs pstoimg to convert the .ps file to a .png using the pnm utilities. Try running pstoimg on its own on one of the cluster nodes. If that fails, then you need to get that working, but I'm not sure what that will take. Perhaps something with your DISPLAY envariable or something like that?
from presto.
from presto.
Yes, directly generating the plots in a more modern format than .ps would be good (e.g. PDF or PNG), but they are generated in C code that calls PGPLOT to make the plots. This would require some effort to update.
from presto.
PGPLOT cannot generate .pdf output. It can directly output .png, however, it does not use anti-aliasing, nor can you (easily?) change the resolution, and so the plots look terrible. That's why I output .ps and then (if latex2html is availble) use it to convert nicely to .png.
@aweaver1fandm are the output .ps plots being generated? I suspect that they are, and if so, this error really is effectively a warning that latex2html is not available on the compute nodes. That means that you can always re-generate the .pngs (if wanted) post-facto by running pfd2png.sh
on the .pfd.ps files on a machine that hast latex2html installed.
If the output .ps files are not getting generated, then this is a real issue and an error that I have not seen before.
from presto.
from presto.
from presto.
Related Issues (20)
- Packaging `PRESTO` for multiple OSes? HOT 3
- ld: cannot find -lfftw3f: No such file or directory HOT 2
- undefined symbol: _gfortran_st_close HOT 2
- PFD file format? HOT 4
- Problem installing PRESTO with Apple M2 - Ventura 13.2 HOT 2
- Remove the Pusar Miner in FAQ HOT 5
- a memory issue about test_presto_python HOT 4
- ERROR: Failed building wheel for pyslalib HOT 3
- ERROR:makewisdom.c:4:10: fatal error: meminfo.h: No such file or directory HOT 1
- Discrepancy between time for single pulse with single_pulse_search.py and watefaller.py HOT 1
- Prepsubband writes less samples than original file has. HOT 6
- Installing `PRESTO`'s Python bindings fails for Python 3.12. HOT 4
- Doc fix HOT 2
- how to INSTALL TEMPO2 HOT 1
- Installation Issue: Wisdom not being made correctly (for me) HOT 2
- Bug? In `DDplan.py`, not actually using user imputed `--loDM` & `--hiDM` Or maybe I am not using the arg correctly? HOT 3
- Determining prepfold P and Pdot step sizes HOT 4
- prepfold runs many processes regardless of -ncpus setting HOT 4
- Question on the arrival time listed for a pulse candidate found in `single_pulse_search.py` HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from presto.