Opened 13 years ago
Closed 12 years ago
#34088 closed submission (fixed)
Gyoto (new port) -- General relativistic geodesic integration and ray-tracing
Reported by: | paumard | Owned by: | paumard |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.0.4 |
Keywords: | Cc: | ||
Port: | Gyoto |
Description
Dear macports developers,
Gyoto aims at providing a framework for computing orbits and ray-traced images in General relativity. It consists in a C++ shared library (libgyoto), utility programs (gyoto, gyotoy), and a plug-in for the Yorick programming language. Gyoto can be extended with plug-ins.
To test the software:
- run
gyotoy
(mind the final "y") from the command-line. A window will be displayed, representing the orbit of a star around a Kerr black-hole.
- unpack the source and go to ${worksrcpath}/doc/examples. You can ray-trace the XML sceneries (except the two "rotstar" ones) with:
for file in * ; do gyoto $file ${file%xml}fits; done
The result will be a bunch of FITS images which you can look at using a FITS viewer, for instance spydr from the yorick-spydr port:spydr *.fits
You will see the gravitationally-lensed image of a number of objects in the vicinity of a Kerr black-hole.
I hope you will be able to accept this port.
Best regards, Thibaut.
Attachments (1)
Change History (6)
comment:1 Changed 13 years ago by neverpanic (Clemens Lang)
Owner: | changed from macports-tickets@… to cal@… |
---|---|
Status: | new → assigned |
comment:2 Changed 13 years ago by paumard
Hi,
I updated the Portfile to use macport's preferred compiler and flags.
When I build with llvm though the checks fail, this may be because gyoto needs to be built using the same compiler as its dependencies (I'm running Snow Leopard, so LLVM is not the default). The failure is in a XERCES-C call.
To run the yorick part of the test suite with the installed Gyoto (as opposed to simply built):
port extract Gyoto cd ~/.macports/opt/local/var/macports/build/_Users_${USER}_ports_science_Gyoto/Gyoto/work/Gyoto-0.0.3/yorick yorick -i check.i
To run the full test suite on the built source,
cd ${worksrcpath} sudo make check spydr *.fits
Regards, Thibaut.
comment:3 Changed 12 years ago by paumard
Owner: | changed from cal@… to thibaut@… |
---|---|
Status: | assigned → new |
comment:4 Changed 12 years ago by paumard
Status: | new → assigned |
---|
comment:5 Changed 12 years ago by paumard
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Fixed in r94988
This Portfile doesn't ensure the port is UsingTheRightCompiler to build; when using the setup described at the bottom of UsingTheRightCompiler, I get this: