Merge pull request #26 in SCALE/spack from ~JAULMES1/spack:develop to develop
# By Luc Jaulmes # Via Luc Jaulmes * commit '844c0838487529c0f2edc6f09e6ef86f12364716': Updated versions in OmpSs and Extrae, which resolves version-dependency problems with MPI
This commit is contained in:
		| @@ -1,5 +1,8 @@ | |||||||
| from spack import * | from spack import * | ||||||
|  |  | ||||||
|  | # typical working line with extrae 3.0.1 | ||||||
|  | # ./configure --prefix=/usr/local --with-mpi=/usr/lib64/mpi/gcc/openmpi --with-unwind=/usr/local --with-papi=/usr --with-dwarf=/usr --with-elf=/usr --with-dyninst=/usr --with-binutils=/usr --with-xml-prefix=/usr --enable-openmp --enable-nanos --enable-pthread --disable-parallel-merge LDFLAGS=-pthread | ||||||
|  |  | ||||||
| class Extrae(Package): | class Extrae(Package): | ||||||
|     """Extrae is the package devoted to generate tracefiles which can |     """Extrae is the package devoted to generate tracefiles which can | ||||||
|        be analyzed later by Paraver. Extrae is a tool that uses |        be analyzed later by Paraver. Extrae is a tool that uses | ||||||
| @@ -10,11 +13,10 @@ class Extrae(Package): | |||||||
|        programming models either alone or in conjunction with MPI : |        programming models either alone or in conjunction with MPI : | ||||||
|        OpenMP, CUDA, OpenCL, pthread, OmpSs""" |        OpenMP, CUDA, OpenCL, pthread, OmpSs""" | ||||||
|     homepage = "http://www.bsc.es/computer-sciences/extrae" |     homepage = "http://www.bsc.es/computer-sciences/extrae" | ||||||
|     url      = "http://www.bsc.es/ssl/apps/performanceTools/files/extrae-2.5.1.tar.bz2" |     url      = "http://www.bsc.es/ssl/apps/performanceTools/files/extrae-3.0.1.tar.bz2" | ||||||
|     version('2.5.1', '422376b9c68243bd36a8a73fa62de106') |     version('3.0.1', 'a6a8ca96cd877723cd8cc5df6bdb922b') | ||||||
|  |  | ||||||
|     #depends_on("mpi") |     depends_on("mpi") | ||||||
|     depends_on("openmpi@:1.6") |  | ||||||
|     depends_on("dyninst") |     depends_on("dyninst") | ||||||
|     depends_on("libunwind") |     depends_on("libunwind") | ||||||
|     depends_on("boost") |     depends_on("boost") | ||||||
| @@ -24,8 +26,6 @@ class Extrae(Package): | |||||||
|     def install(self, spec, prefix): |     def install(self, spec, prefix): | ||||||
|         if 'openmpi' in spec: |         if 'openmpi' in spec: | ||||||
|             mpi = spec['openmpi'] |             mpi = spec['openmpi'] | ||||||
|             #if spec.satisfies('@2.5.1') and spec.satisfies('^openmpi@1.6.5'): |  | ||||||
|             #    tty.error("Some headers conflict when using OpenMPI 1.6.5. Please use 1.6 instead.") |  | ||||||
|         elif 'mpich' in spec: |         elif 'mpich' in spec: | ||||||
|             mpi = spec['mpich'] |             mpi = spec['mpich'] | ||||||
|         elif 'mvapich2' in spec: |         elif 'mvapich2' in spec: | ||||||
|   | |||||||
| @@ -16,8 +16,9 @@ class Ompss(Package): | |||||||
|        APIs like CUDA or OpenCL. Our OmpSs environment is built on top |        APIs like CUDA or OpenCL. Our OmpSs environment is built on top | ||||||
|        of our Mercurium compiler and Nanos++ runtime system.""" |        of our Mercurium compiler and Nanos++ runtime system.""" | ||||||
|     homepage = "http://pm.bsc.es/" |     homepage = "http://pm.bsc.es/" | ||||||
|     url      = "http://pm.bsc.es/sites/default/files/ftp/ompss/releases/ompss-14.06.tar.gz" |     url      = "http://pm.bsc.es/sites/default/files/ftp/ompss/releases/ompss-14.10.tar.gz" | ||||||
|     version('14.06', '99be5dce74c0d7eea42636d26af47b4181ae2e11') |     version('14.10', '404d161265748f2f96bb35fd8c7e79ee') | ||||||
|  |  | ||||||
|  |  | ||||||
|     # all dependencies are optional, really |     # all dependencies are optional, really | ||||||
|     depends_on("mpi") |     depends_on("mpi") | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 George Todd Gamblin
					George Todd Gamblin