First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 69241
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Science Related Packages <sci@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: David Grant <davidgrant@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
arpack-96.ebuild arpack-96.ebuild text/plain David Grant 2004-10-28 02:14 0000 1.63 KB Details
arpack-96.ebuild arpack-96.ebuild text/plain Dirk-Jan Heijs 2006-01-16 06:47 0000 738 bytes Details
arpack-gentoo.patch arpack-gentoo.patch patch Dirk-Jan Heijs 2006-01-16 06:48 0000 922 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 69241 depends on: Show dependency tree
Bug 69241 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-10-28 01:59 0000
ARPACK

ARPACK is a collection of Fortran77 subroutines designed to solve large scale eigenvalue problems.

http://www.caam.rice.edu/software/ARPACK

------- Comment #1 From David Grant 2004-10-28 02:14:11 0000 -------
Created an attachment (id=42755) [edit]
arpack-96.ebuild

Can someone fix the sed stuff, or tell me how?	I was in a rush.

This ebuild works.  Haven't tested actual library yet.

------- Comment #2 From Olivier Fisette 2005-10-12 13:53:08 0000 -------
*** Bug 74423 has been marked as a duplicate of this bug. ***

------- Comment #3 From Dirk-Jan Heijs 2006-01-16 06:47:43 0000 -------
Created an attachment (id=77259) [edit]
arpack-96.ebuild

------- Comment #4 From Dirk-Jan Heijs 2006-01-16 06:48:22 0000 -------
Created an attachment (id=77260) [edit]
arpack-gentoo.patch

Instead of sed stuff

------- Comment #5 From Dirk-Jan Heijs 2006-01-16 06:50:28 0000 -------
Cleaned David's ebuild a little, patch instead of horrible seds.
I am not sure if the ebuild should depend on blas, because blas is included in
the package... Perhaps this can be done by triggering a use flag?

------- Comment #6 From David Grant 2006-01-16 08:25:53 0000 -------
Yeah good call, I should have done a patch.

------- Comment #7 From Sébastien Fabbro 2006-01-17 06:53:23 0000 -------
I put a reworked ebuild in the Gentoo Scientific overlay
(http://gentoocience.org)
Includes:
- use of make options instead of patches or sed in src_compile
- USE=examples to install source code examples
- possible use of parpack with mpi flag (untested)
- cleaned
To emerge, you may want to add some FFLAGS. For example, for g77, you can
simply use:
FFLAGS="-O3" emerge arpack

------- Comment #8 From Peter Gustafson 2006-03-09 07:14:43 0000 -------
I've installed and am trying to link to arpack.  When I compile the error is:

g77 -Wall -O  -o ccx_1.5 ccx_1.5.o ccx_1.5.a  /usr/local/SPOOLES.2.2/spooles.a
/usr/lib/libarpack.a /usr/lib/libblas.a -lm
/usr/lib/libarpack.a(dseupd.o): In function `dseupd_':
dseupd.f:(.text+0x11b0): undefined reference to `dgeqr2_'
dseupd.f:(.text+0x1252): undefined reference to `dorm2r_'
dseupd.f:(.text+0x1298): undefined reference to `dlacpy_'
dseupd.f:(.text+0x138b): undefined reference to `dorm2r_'
/usr/lib/libarpack.a(dgetv0.o): In function `dgetv0_':
dgetv0.f:(.text+0x134): undefined reference to `dlarnv_'
/usr/lib/libarpack.a(dsapps.o): In function `dsapps_':
dsapps.f:(.text+0xbc0): undefined reference to `dlacpy_'
collect2: ld returned 1 exit status
make: *** [ccx_1.5] Error 1

I believe this is related to FFLAGS, since it changes (more errors) with
difference optimizations.  Any idea how to fix this problem?  Thanks,

------- Comment #9 From Peter Gustafson 2006-03-09 07:30:38 0000 -------
Apologies to all, as I read directly in the ebuild file I was able to get the
linking to be correct by adding LDFLAGS=-llarpack to my makefile.  Funny how
you can spend hours debugging something and the minute you post you find your
solution.

This was in the ebuild but doesn't print at the end of the build cycle for me. 
I don't know why.

------- Comment #10 From Sébastien Fabbro 2006-04-17 15:23:20 0000 -------
Hi 

I did an update in the overlay that allows to build arpack with libtool, such
that we have both static and shared libraries. You may want to test and report
here.
The parallell version (parpack, enabled with USE=mpi) should also work much
better.

Sebastien

------- Comment #11 From David Grant 2006-07-13 14:04:15 0000 -------
I get an error when compiling: http://www.rafb.net/paste/results/zTezQR79.html

I get the error whether or not I have the blas use flag enabled.

------- Comment #12 From Sébastien Fabbro 2006-07-17 02:57:03 0000 -------
(In reply to comment #11)
> I get an error when compiling: http://www.rafb.net/paste/results/zTezQR79.html
> 

The link is wrong. Are you testing the arpack from the overlay?

------- Comment #13 From David Grant 2006-08-15 09:39:19 0000 -------
The error I get looks something like this:

/bin/sh ./libtool --tag=CC --mode=link i686-pc-linux-gnu-gcc  -march=prescott
-O2 -pipe -fomit-frame-pointer   -o libarpack.la -rpath /usr/lib  
BLAS/libarpackblas.la LAPACK/libarpacklapack.la SRC/libarpacksrc.la
UTIL/libarpackutil.la
i686-pc-linux-gnu-gcc -shared  -Wl,--whole-archive BLAS/.libs/libarpackblas.a
LAPACK/.libs/libarpacklapack.a SRC/.libs/libarpacksrc.a
UTIL/.libs/libarpackutil.a -Wl,--no-whole-archive   -march=prescott -Wl,-soname
-Wl,libarpack.so.0 -o .libs/libarpack.so.0.0.0
BLAS/.libs/libarpackblas.a(lt1-isamax.o): In function `isamax_':
/var/tmp/portage/arpack-96-r1/work/ARPACK/BLAS/isamax.f:1: multiple definition
of `isamax_'
BLAS/.libs/libarpackblas.a(isamax.o):/var/tmp/portage/arpack-96-r1/work/ARPACK/BLAS/isamax.f:1:
first defined here
BLAS/.libs/libarpackblas.a(lt2-sscal.o): In function `sscal_':
/var/tmp/portage/arpack-96-r1/work/ARPACK/BLAS/sscal.f:1: multiple definition
of `sscal_'
BLAS/.libs/libarpackblas.a(sscal.o):/var/tmp/portage/arpack-96-r1/work/ARPACK/BLAS/sscal.f:1:
first defined here
BLAS/.libs/libarpackblas.a(lt3-idamax.o): In function `idamax_':
/var/tmp/portage/arpack-96-r1/work/ARPACK/BLAS/idamax.f:1: multiple definition
of `idamax_'
BLAS/.libs/libarpackblas.a(idamax.o):/var/tmp/portage/arpack-96-r1/work/ARPACK/BLAS/idamax.f:1:
first defined here

It repeats with many more "multiple definition of... *"

------- Comment #14 From David Grant 2006-08-15 09:40:52 0000 -------
Also, I am using the 0.96-r1 ebuild from the overlay.

0.96 compiles fine though.

------- Comment #15 From Sébastien Fabbro 2006-09-13 11:21:40 0000 -------
(In reply to comment #13)
I could not reproduce your error. Is this still valid? Could you give the
emerge --info stuff along with the blas you are using?

------- Comment #16 From David Grant 2006-09-13 15:35:49 0000 -------
I don't see to get the error anymore on two of my computers..

------- Comment #17 From Sébastien Fabbro 2007-03-22 16:30:17 0000 -------
now in main cvs tree. thanks!

First Last Prev Next    No search results available      Search page      Enter new bug