public:user_software:pybdsm

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
public:user_software:pybdsm [2011-10-17 16:47] – created Lars Bahrenpublic:user_software:pybdsm [2017-03-08 15:27] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ====== User Software :: pyBDSM ====== ====== User Software :: pyBDSM ======
 +
 +<html>
 +<div style="border:2px dashed red; padding: 2em;"><h2>WARNING:</h2> <strong>PyBDSM cannot be found in LUS repository any more (10-02-2014)</strong>. The documentation of PyBDSM can be found <a href="http://dl.dropboxusercontent.com/u/1948170/html/installation.html">here</a></div>
 +</html>
  
 ==== External dependencies ==== ==== External dependencies ====
Line 21: Line 25:
 ==== Installation procedure ==== ==== Installation procedure ====
  
-  - Check out source code from the LUS repository +  - Check out source code from the LUS repository <code bash> 
-  - Run the bootstrap script in the build directory: <code bash>+svn co http://usg.lofar.org/svn/code/trunk lofarsoft 
 +</code> The components of the source code are organized as follows: <file> 
 +lofarsoft 
 +`-- src 
 +    `-- BDSM 
 +        |-- doc             ..  Documentation directory 
 +        |-- implement       ..  Source code compiled into library and executables 
 +        |   |-- bdsm        ..  Original Fortran BDSM 
 +        |   |-- minpack 
 +        |   |-- port3 
 +        |   `-- pybdsm      ..  C-based Boost.Python wrappers 
 +        `-- scripts         ..  Python scripts 
 +</file> 
 +    * fortran and c stuff to be compiled into libraries are in ''implement/pybdsm'' 
 +    * anaamika is in ''implement/bdsm'' 
 +    * port3 etc are in ''implement'' 
 +  - Run the ''bootstrap'' script in the build directory: <code bash>
 cd build cd build
 ./bootstrap ./bootstrap
 </code> </code>
-  - Build and install //pyBDSM//: <code bash>make bdsm</code> This will also go through the list of required packages and check whether they are installed. +  - Build //pyBDSM//: <code bash>make bdsm</code> This will also go through the list of required external packages and check whether they are installed; if this is not the case, the dependencies will be resolved before continuing with ''pyBDSM'' itself\\ The following components (libraries and application programs) will be build: 
- +    * ''_py2fbdsm'' -- Write pyBDSM output to fBDSM format 
-==== Components to be build ==== +    * ''_pytesselate'' -- Fortran implementation of Tesselation 
- +    * ''_cbdsm'' -- Main python module to be imported 
-  * ''_py2fbdsm'' -- Write pyBDSM output to fBDSM format +  - Installation of pyBDSM \\ Upon completion of the build, the generated components will be installed into the following locations: <code>
-  * ''_pytesselate'' -- Fortran implementation of Tesselation +
-  * ''_cbdsm'' -- Main python module to be imported +
- +
-== For David == +
- +
-  * Does he want to write stuff (varybeta etc) in C and take it in thro boost ? +
- +
-== Preferred structure == +
- +
-<code>+
 .                              .. $LOFARSOFT .                              .. $LOFARSOFT
 |-- release |-- release
Line 51: Line 61:
 |               |-- image.py   |               |-- image.py  
 |               | |               |
-`-- src 
-    `-- BDSM 
-        |-- doc                ..  Documentation directory 
-        |-- implement          ..  contains source code compiled into library and executables 
-        |   |-- bdsm           ..  original Fortran BDSM 
-        |   |-- minpack 
-        |   |-- port3 
-        |   `-- pybdsm     ..  C-based Boost.Python wrappers 
-        `-- scripts        ..  Python scripts 
 </code> </code>
- +    * executables are in //release/bin// and other stuff are in //release/lib, release/includes// and //release/lib/python// (pythonpath) 
-  * fortran and c stuff to be compiled into libraries are in //implement/pybdsm// +    * doc is in //doc//
-  * anaamika is in //implement/bdsm// +
-  * port3 etc are in //implement// +
-  * executables are in //release/bin// and other stuff are in //release/lib, release/includes// and //release/lib/python// (pythonpath) +
-  * doc is in //doc//+
  
 ==== Troubleshooting ==== ==== Troubleshooting ====
Line 80: Line 77:
 ImportError: dynamic module does not define init function (init_cbdsm) ImportError: dynamic module does not define init function (init_cbdsm)
 </code> </code>
 +
 +
 +\\
 +----
 +<- [[public:user software:User Software]]
  
  • Last modified: 2011-10-17 16:47
  • by Lars Bahren