Gentoo Archives: gentoo-science

From: rose@××××××××××××××.de
To: gentoo-science@l.g.o
Subject: Re: [gentoo-science] tachyon-0.98.9-r1 fails to install due to wrong USE flags
Date: Mon, 22 Aug 2011 09:26:47
Message-Id: 20110822112616.twqfj18reo4888cc@webmail.uni-potsdam.de
In Reply to: Re: [gentoo-science] tachyon-0.98.9-r1 fails to install due to wrong USE flags by Christopher Schwan
1 Quoting Christopher Schwan <cschwan@××××××××××××××××××.de>:
2
3 > On Sunday 21 August 2011 19:21:23 rose@××××××××××××××.de wrote:
4 >> Quoting rose@××××××××××××××.de:
5 >> > I try to install [sage-on-gentoo] sage. I come until tachyon.
6 >> >
7 >> > 'emerge tachyon' fails with:
8 >> >>>> Emerging (3 of 20) media-gfx/tachyon-0.98.9-r1
9 >> >
10 >> > * tachyon-0.98.9.tar.gz RMD160 SHA1 SHA256 size ;-) ...
11 >> >
12 >> > [
13 >> >
14 >> > o
15 >> > k
16 >> >
17 >> > ]
18 >> >
19 >> > * ERROR: media-gfx/tachyon-0.98.9-r1 failed (setup phase):
20 >> > * tachyon does not support MPI with OpenGL and threads
21 >> >
22 >> > openmpi was installed with "cxx fortran ipv6 romio threads" USE flags.
23 >>
24 >> > There is no OpenGL USE flag for openmpi:
25 >> I have now removed the threads USE flag from openmpi, but 'emerge
26 >> tachyon' still fails with the same error:
27 >>
28 >> root@caiman:/root(26)# emerge -vuND sage
29 >>
30 >> These are the packages that would be merged, in order:
31 >>
32 >> Calculating dependencies... done!
33 >> [ebuild N ] media-gfx/tachyon-0.98.9-r1 USE="doc examples jpeg
34 >> mpi opengl png threads" 0 kB [0]
35 >> [ebuild N ] dev-python/twisted-mail-11.0.0 0 kB [0]
36 >> ...
37 >>
38 >> >>> Emerging (1 of 18) media-gfx/tachyon-0.98.9-r1
39 >>
40 >> * tachyon-0.98.9.tar.gz RMD160 SHA1 SHA256 size ;-) ...
41 >>
42 >> [ ok ]
43 >> * ERROR: media-gfx/tachyon-0.98.9-r1 failed (setup phase):
44 >> * tachyon does not support MPI with OpenGL and threads
45 >> ...
46 >> root@caiman:/root(27)# emerge -pvD openmpi
47 >>
48 >> These are the packages that would be merged, in order:
49 >>
50 >> Calculating dependencies... done!
51 >> [ebuild R ] sys-cluster/openmpi-1.5.3-r2 USE="cxx fortran ipv6
52 >> romio -heterogeneous -infiniband -mpi-threads -pbs -sctp -slurm
53 >> -threads -vt" 0 kB
54 >
55 > Hi,
56 >
57 > you have to find a combination of USE flags which work together. In
58 > your case, I
59 > suggest removing the mpi flag and keeping the opengl and threads flags. This
60 > will enable accelerated rendering with OpenGL and threads - which will not
61 > work with the Message Passing Interface (MPI).
62 >
63 > When I wrote the tachyon ebuild it was not easily possible to define a valid
64 > combination of USE-flags and I have to admit the current solution is not the
65 > best. I think with EAPI=4 it should be possible to find a better approach.
66 >
67 > Cheers,
68 > Christopher
69
70
71 Hi Christopher,
72
73 I understand, that I should remove the mpi USE flag from tachyon. I did this.
74 Then I suppose that the global thread flag does not mean any problem,
75 So I deleted again the removal of the thread USE flag from openmpi.
76 With this settings I was able to emerge tachyon-0.98.9-r1.