View previous topic :: View next topic |
Author |
Message |
stunirvana21 n00b
Joined: 24 May 2011 Posts: 41
|
Posted: Sat Jun 02, 2012 11:56 pm Post subject: [Solved] Problem compiling sci-libs/hdf5 |
|
|
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 |
|
|
BillWho Veteran
Joined: 03 Mar 2012 Posts: 1600 Location: US
|
Posted: Sun Jun 03, 2012 12:34 am Post subject: |
|
|
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
Since installing gentoo, my life has become one long emerge |
|
Back to top |
|
|
stunirvana21 n00b
Joined: 24 May 2011 Posts: 41
|
Posted: Sun Jun 03, 2012 1:00 am Post subject: |
|
|
That cleared it up.
Thanks. |
|
Back to top |
|
|
BillWho Veteran
Joined: 03 Mar 2012 Posts: 1600 Location: US
|
Posted: Sun Jun 03, 2012 1:08 am Post subject: |
|
|
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 _________________ Good luck
Since installing gentoo, my life has become one long emerge |
|
Back to top |
|
|
lednakashim n00b
Joined: 09 Jun 2010 Posts: 27
|
Posted: Tue Jan 08, 2013 7:45 am Post subject: |
|
|
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 |
|
|
|