public inbox for gentoo-science@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-science] tachyon-0.98.9-r1 fails to install due to wrong USE flags
@ 2011-08-21 15:16 rose
  2011-08-21 17:21 ` rose
  0 siblings, 1 reply; 4+ messages in thread
From: rose @ 2011-08-21 15:16 UTC (permalink / raw
  To: gentoo-science

Hi,
I try to install [sage-on-gentoo] sage. I come until tachyon.
'emerge tachyon' fails with:

>>> Emerging (3 of 20) media-gfx/tachyon-0.98.9-r1
  * tachyon-0.98.9.tar.gz RMD160 SHA1 SHA256 size ;-) ...               
                                                                        
                                            [ ok ]
  * ERROR: media-gfx/tachyon-0.98.9-r1 failed (setup phase):
  *   tachyon does not support MPI with OpenGL and threads

openmpi was installed with "cxx fortran ipv6 romio threads" USE flags.  
There is no OpenGL USE flag for openmpi:

root@caiman:/root(16)# emerge -pvD openmpi

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] sys-cluster/openmpi-1.5.3-r2  USE="cxx fortran ipv6  
romio threads -heterogeneous -infiniband -mpi-threads -pbs -sctp  
-slurm -vt" 0 kB

What should, I do only to remove the threads USE flag from openmpi?  
What could be the consequences if I remove the threads USE flag, e.g.  
for Rmpi?

Regards





^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-science] tachyon-0.98.9-r1 fails to install due to wrong USE flags
  2011-08-21 15:16 [gentoo-science] tachyon-0.98.9-r1 fails to install due to wrong USE flags rose
@ 2011-08-21 17:21 ` rose
  2011-08-22  8:02   ` Christopher Schwan
  0 siblings, 1 reply; 4+ messages in thread
From: rose @ 2011-08-21 17:21 UTC (permalink / raw
  To: gentoo-science

Quoting rose@rz.uni-potsdam.de:

> I try to install [sage-on-gentoo] sage. I come until tachyon.
> 'emerge tachyon' fails with:
>
>>>> Emerging (3 of 20) media-gfx/tachyon-0.98.9-r1
>  * tachyon-0.98.9.tar.gz RMD160 SHA1 SHA256 size ;-) ...
>
>                                        [ ok ]
>  * ERROR: media-gfx/tachyon-0.98.9-r1 failed (setup phase):
>  *   tachyon does not support MPI with OpenGL and threads
>
> openmpi was installed with "cxx fortran ipv6 romio threads" USE flags.
> There is no OpenGL USE flag for openmpi:

I have now removed the threads USE flag from openmpi, but 'emerge  
tachyon' still fails with the same error:

root@caiman:/root(26)# emerge -vuND sage

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N     ] media-gfx/tachyon-0.98.9-r1  USE="doc examples jpeg  
mpi opengl png threads" 0 kB [0]
[ebuild  N     ] dev-python/twisted-mail-11.0.0  0 kB [0]
...
>>> Emerging (1 of 18) media-gfx/tachyon-0.98.9-r1
  * tachyon-0.98.9.tar.gz RMD160 SHA1 SHA256 size ;-) ...               
                                                                        
                                            [ ok ]
  * ERROR: media-gfx/tachyon-0.98.9-r1 failed (setup phase):
  *   tachyon does not support MPI with OpenGL and threads
...
root@caiman:/root(27)# emerge -pvD openmpi

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] sys-cluster/openmpi-1.5.3-r2  USE="cxx fortran ipv6  
romio -heterogeneous -infiniband -mpi-threads -pbs -sctp -slurm  
-threads -vt" 0 kB





^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-science] tachyon-0.98.9-r1 fails to install due to wrong USE flags
  2011-08-21 17:21 ` rose
@ 2011-08-22  8:02   ` Christopher Schwan
  2011-08-22  9:26     ` rose
  0 siblings, 1 reply; 4+ messages in thread
From: Christopher Schwan @ 2011-08-22  8:02 UTC (permalink / raw
  To: gentoo-science

On Sunday 21 August 2011 19:21:23 rose@rz.uni-potsdam.de wrote:
> Quoting rose@rz.uni-potsdam.de:
> > I try to install [sage-on-gentoo] sage. I come until tachyon.
> > 
> > 'emerge tachyon' fails with:
> >>>> Emerging (3 of 20) media-gfx/tachyon-0.98.9-r1
> >  
> >  * tachyon-0.98.9.tar.gz RMD160 SHA1 SHA256 size ;-) ...
> >  
> >                                        [
> >                                        
> >                                        o
> >                                        k
> >                                        
> >                                        ]
> >  
> >  * ERROR: media-gfx/tachyon-0.98.9-r1 failed (setup phase):
> >  *   tachyon does not support MPI with OpenGL and threads
> > 
> > openmpi was installed with "cxx fortran ipv6 romio threads" USE flags.
> 
> > There is no OpenGL USE flag for openmpi:
> I have now removed the threads USE flag from openmpi, but 'emerge
> tachyon' still fails with the same error:
> 
> root@caiman:/root(26)# emerge -vuND sage
> 
> These are the packages that would be merged, in order:
> 
> Calculating dependencies... done!
> [ebuild  N     ] media-gfx/tachyon-0.98.9-r1  USE="doc examples jpeg
> mpi opengl png threads" 0 kB [0]
> [ebuild  N     ] dev-python/twisted-mail-11.0.0  0 kB [0]
> ...
> 
> >>> Emerging (1 of 18) media-gfx/tachyon-0.98.9-r1
> 
>   * tachyon-0.98.9.tar.gz RMD160 SHA1 SHA256 size ;-) ...
> 
>                                             [ ok ]
>   * ERROR: media-gfx/tachyon-0.98.9-r1 failed (setup phase):
>   *   tachyon does not support MPI with OpenGL and threads
> ...
> root@caiman:/root(27)# emerge -pvD openmpi
> 
> These are the packages that would be merged, in order:
> 
> Calculating dependencies... done!
> [ebuild   R    ] sys-cluster/openmpi-1.5.3-r2  USE="cxx fortran ipv6
> romio -heterogeneous -infiniband -mpi-threads -pbs -sctp -slurm
> -threads -vt" 0 kB

Hi,

you have to find a combination of USE flags which work together. In your case, I 
suggest removing the mpi flag and keeping the opengl and threads flags. This 
will enable accelerated rendering with OpenGL and threads - which will not 
work with the Message Passing Interface (MPI).

When I wrote the tachyon ebuild it was not easily possible to define a valid 
combination of USE-flags and I have to admit the current solution is not the 
best. I think with EAPI=4 it should be possible to find a better approach.

Cheers,
Christopher




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-science] tachyon-0.98.9-r1 fails to install due to wrong USE flags
  2011-08-22  8:02   ` Christopher Schwan
@ 2011-08-22  9:26     ` rose
  0 siblings, 0 replies; 4+ messages in thread
From: rose @ 2011-08-22  9:26 UTC (permalink / raw
  To: gentoo-science

Quoting Christopher Schwan <cschwan@students.uni-mainz.de>:

> On Sunday 21 August 2011 19:21:23 rose@rz.uni-potsdam.de wrote:
>> Quoting rose@rz.uni-potsdam.de:
>> > I try to install [sage-on-gentoo] sage. I come until tachyon.
>> >
>> > 'emerge tachyon' fails with:
>> >>>> Emerging (3 of 20) media-gfx/tachyon-0.98.9-r1
>> >
>> >  * tachyon-0.98.9.tar.gz RMD160 SHA1 SHA256 size ;-) ...
>> >
>> >                                        [
>> >
>> >                                        o
>> >                                        k
>> >
>> >                                        ]
>> >
>> >  * ERROR: media-gfx/tachyon-0.98.9-r1 failed (setup phase):
>> >  *   tachyon does not support MPI with OpenGL and threads
>> >
>> > openmpi was installed with "cxx fortran ipv6 romio threads" USE flags.
>>
>> > There is no OpenGL USE flag for openmpi:
>> I have now removed the threads USE flag from openmpi, but 'emerge
>> tachyon' still fails with the same error:
>>
>> root@caiman:/root(26)# emerge -vuND sage
>>
>> These are the packages that would be merged, in order:
>>
>> Calculating dependencies... done!
>> [ebuild  N     ] media-gfx/tachyon-0.98.9-r1  USE="doc examples jpeg
>> mpi opengl png threads" 0 kB [0]
>> [ebuild  N     ] dev-python/twisted-mail-11.0.0  0 kB [0]
>> ...
>>
>> >>> Emerging (1 of 18) media-gfx/tachyon-0.98.9-r1
>>
>>   * tachyon-0.98.9.tar.gz RMD160 SHA1 SHA256 size ;-) ...
>>
>>                                             [ ok ]
>>   * ERROR: media-gfx/tachyon-0.98.9-r1 failed (setup phase):
>>   *   tachyon does not support MPI with OpenGL and threads
>> ...
>> root@caiman:/root(27)# emerge -pvD openmpi
>>
>> These are the packages that would be merged, in order:
>>
>> Calculating dependencies... done!
>> [ebuild   R    ] sys-cluster/openmpi-1.5.3-r2  USE="cxx fortran ipv6
>> romio -heterogeneous -infiniband -mpi-threads -pbs -sctp -slurm
>> -threads -vt" 0 kB
>
> Hi,
>
> you have to find a combination of USE flags which work together. In   
> your case, I
> suggest removing the mpi flag and keeping the opengl and threads flags. This
> will enable accelerated rendering with OpenGL and threads - which will not
> work with the Message Passing Interface (MPI).
>
> When I wrote the tachyon ebuild it was not easily possible to define a valid
> combination of USE-flags and I have to admit the current solution is not the
> best. I think with EAPI=4 it should be possible to find a better approach.
>
> Cheers,
> Christopher


Hi Christopher,

I understand, that I should remove the mpi USE flag from tachyon. I did this.
Then I suppose that the global thread flag does not mean any problem,  
So I deleted again the removal of the thread USE flag from openmpi.  
With this settings I was able to emerge tachyon-0.98.9-r1.






^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-08-22  9:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-21 15:16 [gentoo-science] tachyon-0.98.9-r1 fails to install due to wrong USE flags rose
2011-08-21 17:21 ` rose
2011-08-22  8:02   ` Christopher Schwan
2011-08-22  9:26     ` rose

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox