[MacPorts] #34088: Gyoto (new port) -- General relativistic geodesic integration and ray-tracing
#34088: Gyoto (new port) -- General relativistic geodesic integration and ray- tracing --------------------------------------+------------------------------------- Reporter: thibaut.paumard@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: Gyoto --------------------------------------+------------------------------------- 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. -- Ticket URL: <https://trac.macports.org/ticket/34088> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34088: Gyoto (new port) -- General relativistic geodesic integration and ray- tracing --------------------------------------+------------------------------------- Reporter: thibaut.paumard@… | Owner: cal@… Type: submission | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: Gyoto --------------------------------------+------------------------------------- Changes (by cal@…): * owner: macports-tickets@… => cal@… * status: new => assigned Comment: This Portfile doesn't ensure the port is UsingTheRightCompiler to build; when using the setup described at the bottom of UsingTheRightCompiler, I get this: {{{ cd lib; /usr/bin/make make[1]: Entering directory `/opt/local/var/macports/build/_opt_dports_science_Gyoto/Gyoto/work/Gyoto-0.0.2/lib' g++ -c -DGYOTO_USE_XERCES -DGYOTO_USE_CFITSIO -DGYOTO_PLUGIN_SFX=\"dylib\" -DGYOTO_PREFIX=\"/opt/local\" -DGYOTO_SOVERS=\"0.0.0\" -g -pedantic -Wall -W -Wundef -Wshadow -Wcast- qual -Wcast-align -Wconversion -Winline -Wabi -Woverloaded-virtual -Wno- long-long -fPIC -I../include -I/opt/local/include -I/opt/local/include Astrobj.C g++ -c -DGYOTO_USE_XERCES -DGYOTO_USE_CFITSIO -DGYOTO_PLUGIN_SFX="dylib" -DGYOTO_PREFIX="/opt/local" -DGYOTO_SOVERS="0.0.0" -g -pedantic -Wall -W -Wundef -Wshadow -Wcast-qual -Wcast-align -Wconversion -Winline -Wabi -Woverloaded-virtual -Wno-long-long -fPIC -I../include -I/opt/local/include -I/opt/local/include Astrobj.C g++: Error: You should be using ${configure.cxx} See http://trac.macports.org/wiki/UsingTheRightCompiler make[1]: *** [Astrobj.o] Error 1 make[1]: Leaving directory `/opt/local/var/macports/build/_opt_dports_science_Gyoto/Gyoto/work/Gyoto-0.0.2/lib' make: *** [lib] Error 2 }}} -- Ticket URL: <https://trac.macports.org/ticket/34088#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34088: Gyoto (new port) -- General relativistic geodesic integration and ray- tracing --------------------------------------+------------------------------------- Reporter: thibaut.paumard@… | Owner: cal@… Type: submission | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: Gyoto --------------------------------------+------------------------------------- Comment(by thibaut.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. -- Ticket URL: <https://trac.macports.org/ticket/34088#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34088: Gyoto (new port) -- General relativistic geodesic integration and ray- tracing --------------------------------------+------------------------------------- Reporter: thibaut.paumard@… | Owner: thibaut@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: Gyoto --------------------------------------+------------------------------------- Changes (by thibaut@…): * status: assigned => new * owner: cal@… => thibaut@… -- Ticket URL: <https://trac.macports.org/ticket/34088#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34088: Gyoto (new port) -- General relativistic geodesic integration and ray- tracing --------------------------------------+------------------------------------- Reporter: thibaut.paumard@… | Owner: thibaut@… Type: submission | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: Gyoto --------------------------------------+------------------------------------- Changes (by thibaut@…): * status: new => assigned -- Ticket URL: <https://trac.macports.org/ticket/34088#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34088: Gyoto (new port) -- General relativistic geodesic integration and ray- tracing ---------------------------------------+------------------------------------ Reporter: thibaut.paumard@… | Owner: thibaut@… Type: submission | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Resolution: fixed | Keywords: Port: Gyoto | ---------------------------------------+------------------------------------ Changes (by thibaut@…): * status: assigned => closed * resolution: => fixed Comment: Fixed in r94988 -- Ticket URL: <https://trac.macports.org/ticket/34088#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts