Package Details: auto-07p 0.9.1-41

Package Base: auto-07p
Description: Software for continuation and bifurcation problems in ordinary differential equations. Release 07P. Environment variables controlling build (default to 'no', see PKGBUILD): _BUILD_DOC, _WITH_PLAUT04, _PLAUT04_WITH_QT, AUTO_DEBUG, _WITH_OPENMP, _WITH_MPI.
Upstream URL: http://cmvl.cs.concordia.ca/auto/
Category: science
Licenses: GPL2, BSD, LGPL2
Submitter: dreieck
Maintainer: dreieck
Last Packager: dreieck
Votes: 3
First Submitted: 2012-05-20 16:21
Last Updated: 2014-09-10 19:31

Dependencies (18)

  • bash
  • gcc
  • gcc-fortran
  • python2
  • gcc (make)
  • gcc-fortran (make)
  • coin (optional) – For plaut04 plotting interface (enable compilation of 'plaut04' by setting the environment variable '_WITH_PLAUT04' to 'yes').
  • inventor (optional) – For plaut04 plotting interface (enable compilation of 'plaut04' by setting the environment variable '_WITH_PLAUT04' to 'yes'). ('inventor' can be used instead of 'coin', but 'coin' (Coin3D) is recommended due to rendering issues (see AUTO docume
  • ipython2 (optional) – For python interface.
  • lesstif (optional) – For GUI94 and PLAUT04.
  • openmotif (optional) – For GUI94 and PLAUT04. ('openmotif' can be used instead of 'lesstif')
  • openmpi (optional) – For MPI message passing (parallel computation). To build, set the environment variable '_WITH_OPENMP' to 'yes'.
  • python2-matplotlib (optional) – For python interface.
  • soqt (optional) – For PLAUT04 plotting interface (enable compilation of 'plaut04' by setting the environment variable '_WITH_PLAUT04' to 'yes'). ('soqt' can be used instead of 'soxt'. If using 'soqt', set '_PLAUT04_WITH_QT' to 'yes'.)
  • soxt (optional) – For PLAUT04 plotting interface (enable compilation of 'plaut04' by setting the environment variable '_WITH_PLAUT04' to 'yes').
  • texlive-bin (optional) – For compiling the manual (enable compilation of documentation by setting the environment variable '_BUILD_DOC' to 'yes').
  • transfig (optional) – For compiling the manual (enable manual compiling in PKGBUILD (enable compilation of documentation by setting the environment variable '_BUILD_DOC' to 'yes')).
  • xterm (optional) – For PLAUT plotting interface.

Required by (0)

Sources

Latest Comments

Comment by xico

2014-08-27 20:30

@dreieck: works great, thanks!

Comment by dreieck

2014-08-25 15:20

@xico:

Seems that the "libtool"/ "staticlibs" makeflag controls if ".a"-files stay or get removed.

I modified the "options"-variable in the PKGBUILD accordingly, check out version 0.9.1-40 (and up).

Comment by xico

2014-08-24 16:03

@dreieck: weird, mine does not, neither in 0.9.1-37 nor in -39.

% makepkg
% diff -rq pkg/auto-07p/opt/auto/07p/lib src/auto/07p/lib
Only in src/auto/07p/lib: libauto_c.a

I will try having a better look at it later today.

Comment by dreieck

2014-08-24 15:32

@xico:

My build packs 'lib/libauto_c.a' to '/opt/auto/07p/lib/libauto_c.a'. It's there. In my package, and in my install (so pacman does not strip it away when installing).

... anyway, the package()-function in the PKGBUILD just copies all sources and _everything_ which is there after the build-process and removes only some selected files, libauto_c.a is _not_ amongst the removed files.


.. or do you need 'libauto_c.a' somehow to be present (as a symlink) under '/usr/lib/'? Does it work for you if you set some environment variables pointing to '/opt/auto/07p/lib/'? I expect that you work with the environment variable 'AUTO_DIR' set properly (i.e. to '/opt/auto/07p', running the included script 'auto-07p-session.bash', which is installed in '/usr/bin/', takes care of this).

By the way, I am completely unfamiliar with linking and with C.


Any suggestions why it does not work for you?

Comment by xico

2014-08-23 21:46

@dreieck: After further investigation, I noted that the object files are somehow refered to as dependencies in the C binder (!), despite the library also being referenced there.

The actual C library that was missing is `lib/libauto_c.a`, please add it!

Comment by dreieck

2014-08-22 09:36

For using the environment variables controlling the build, have a look at the sample script 'makepkg.sh' conbtained in the package.

The environment variables controlling the build are by now:

_BUILD_DOC # Build documentation (Default: 'no')
_WITH_PLAUT04 # Build plaut04 (Default: 'no')
_PLAUT04_WITH_QT # Build plaut04 with Qt (functionality is the same) (Default: 'no')
_AUTO_DEBUG # Compile with debug options (Default: 'no')
_WITH_OPENMP # Compile with OpenMPI (default: 'no')
_WITH_MPI # Compile with MPI (default: 'no')

Comment by dreieck

2014-08-22 09:31

@ xico:

* I know about the object files. Since I did not want to take the work to find out which ones are needed (during run, AUTO does compilations and linkings), I just kept all except for the gui-parts. That's also why I install in /opt. To have it self-contained.

* The library allowing C definitions: Can you point me out which file it is?

* I had some problems running AUTO with python3, so I forced it to python2.

Comment by xico

2014-08-12 00:07

A bunch of object files are still present in the generated package. The library allowing C definitions is built but missing in the installation. IMHO AUTO works great with Python 3, forcing ”shabeng” lines to python2 is weird.

Comment by dreieck

2014-03-18 10:00

Update: Changes shabeng-lines from "python" to "python2", so using python2 even if python3 is system-default.

Comment by dreieck

2014-03-17 23:34

Added further environment variables controlling build options. See PKGBUILD.

Comment by dreieck

2013-03-07 13:43

Added check for environment variable _AUTO_DEBUG

If set to "yes", it will be compiled with debug information and without optimisation. (-fcheck=bounds is not activated since AUTO will violate this :()