Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] Problem compiling sci-libs/hdf5
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
stunirvana21
n00b
n00b


Joined: 24 May 2011
Posts: 41

PostPosted: Sat Jun 02, 2012 11:56 pm    Post subject: [Solved] Problem compiling sci-libs/hdf5 Reply with quote

When I try to update my system, sci-libs/hdf5 says it has unmet requirements and I am not sure what to do.

Code:

!!! The ebuild selected to satisfy "sci-libs/hdf5" has unmet requirements.
- sci-libs/hdf5-1.8.8-r1::gentoo USE="cxx fortran mpi (multilib) threads zlib -debug -examples -fortran2003 -static-libs -szip"

  The following REQUIRED_USE flag constraints are unsatisfied:
    cxx? ( !mpi ) mpi? ( !cxx ) threads? ( !cxx !mpi !fortran )

  The above constraints are a subset of the following complete expression:
    cxx? ( !mpi ) mpi? ( !cxx ) threads? ( !cxx !mpi !fortran ) fortran2003? ( fortran )


I am not sure what all the question and exclamation marks mean. Can someone help me out?


Last edited by stunirvana21 on Sun Jun 03, 2012 1:00 am; edited 1 time in total
Back to top
View user's profile Send private message
BillWho
Veteran
Veteran


Joined: 03 Mar 2012
Posts: 1600
Location: US

PostPosted: Sun Jun 03, 2012 12:34 am    Post subject: Reply with quote

stunirvana21,

They can be a little confusing at times :?

Basically, if I'm reading this correctly, if cxx is set mpi is conflicting - with threads cxx mpi and fortran conflict

!cxx means not cxx. So cxx? ( !mpi ) means if using cxx do not use mpi

Try USE="-cxx -threads" emerge -pv to test it
_________________
Good luck :wink:

Since installing gentoo, my life has become one long emerge :)
Back to top
View user's profile Send private message
stunirvana21
n00b
n00b


Joined: 24 May 2011
Posts: 41

PostPosted: Sun Jun 03, 2012 1:00 am    Post subject: Reply with quote

That cleared it up.

Thanks.
Back to top
View user's profile Send private message
BillWho
Veteran
Veteran


Joined: 03 Mar 2012
Posts: 1600
Location: US

PostPosted: Sun Jun 03, 2012 1:08 am    Post subject: Reply with quote

stunirvana21 wrote:
That cleared it up.

Thanks.


I you installed from the cl with USE="-cxx -threads" emerge then you might want to add that to /etc/portage/package.use or you'll have emerge conflicts with subsequent upgrades.

Also you might want to check what those flags were for and the consequence of disabling them.

Good luck :wink:
_________________
Good luck :wink:

Since installing gentoo, my life has become one long emerge :)
Back to top
View user's profile Send private message
lednakashim
n00b
n00b


Joined: 09 Jun 2010
Posts: 27

PostPosted: Tue Jan 08, 2013 7:45 am    Post subject: Reply with quote

Somebody should fix this ebuild as it results in wacky behavior. Can somebody file a bug report?

I figure that the error is caused by the threads keyword requiring MPI, which is unusual.

Threads says
Adds threads support for various packages. Usually pthreads

The problem here is that MPI operates with an that is significantly different than normal threading. The goal is to connect multiple computers into a cluster. It should not be considered under the thread keyword. Yes, I know about node A->A transfers and direct memory DMAs but there are perfectly good tags called mpi and mpi-threads that more appropriate.

Problem was fixed with USE="-threads" emerge -a hdf5
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum