installation with intel compiler
Hi,
I tried to install Maphys with intel comiler and intelmpi library with:
spack install maphys+mumps ^cmake@exist ^scotch@exist ^pastix@exist%intel@17.0.4 ^intelmpi ^mkl
but I got this error:
==> Installing maphys ==> Installing pastix ==> intelmpi is already installed in /okyanus/users/afarea/spack/spack/opt/spack/linux-x86_64/intel-17.0.4/intelmpi-exist-ok6jdbnl6quroeyg2huc5ahtgjisrtat ==> hwloc is already installed in /okyanus/users/afarea/spack/spack/opt/spack/linux-x86_64/intel-17.0.4/hwloc-1.11.8-b735m4o2k47thieficyorcqq5r6a3ga4 ==> mkl is already installed in /okyanus/users/afarea/spack/spack/opt/spack/linux-x86_64/intel-17.0.4/mkl-exist-sezg44le57cgbp7z577ohzef7dsmte53 ==> cmake is already installed in /okyanus/users/afarea/spack/spack/opt/spack/linux-x86_64/intel-17.0.4/cmake-exist-uyuzmehlh63boykgalyztorgfuy2af6z ==> Installing scotch ==> flex is already installed in /okyanus/users/afarea/spack/spack/opt/spack/linux-x86_64/intel-17.0.4/flex-2.6.0-rjcodh57a42fo7mrufzedjbleyrihpu4 ==> intelmpi is already installed in /okyanus/users/afarea/spack/spack/opt/spack/linux-x86_64/intel-17.0.4/intelmpi-exist-ok6jdbnl6quroeyg2huc5ahtgjisrtat ==> bison is already installed in /okyanus/users/afarea/spack/spack/opt/spack/linux-x86_64/intel-17.0.4/bison-3.0.4-lts53ko2gfuq6educ7ng46pacbigpkmx ==> Trying to fetch from file:///okyanus/users/afarea/spack/maphys-mirror/scotch/scotch-exist.tar.gz curl: (37) Couldn't open file /okyanus/users/afarea/spack/maphys-mirror/scotch/scotch-exist.tar.gz ==> Fetching from file:///okyanus/users/afarea/spack/maphys-mirror/scotch/scotch-exist.tar.gz failed. ==> Trying to fetch from file:/users/spack/spack/var/spack/repos/builtin/packages/fake/empty.tar.gz ######################################################################## 100.0% ==> Staging archive: /okyanus/users/afarea/spack/spack/var/spack/stage/scotch-exist-ml4xvyshtczye2md5hfiz2gzl6wper7t/empty.tar.gz ==> Created stage in /okyanus/users/afarea/spack/spack/var/spack/stage/scotch-exist-ml4xvyshtczye2md5hfiz2gzl6wper7t ==> No patches needed for scotch ==> Building scotch ==> Successfully installed scotch Fetch: 0.05s. Build: 0.94s. Total: 0.99s. [+] /users/spack/spack/opt/spack/linux-x86_64/intel-17.0.4/scotch-exist-ml4xvyshtczye2md5hfiz2gzl6wper7t ==> Trying to fetch from file:///okyanus/users/afarea/spack/maphys-mirror/pastix/pastix-5.2.3.tar.bz2 ######################################################################## 100.0% ==> Staging archive: /okyanus/users/afarea/spack/spack/var/spack/stage/pastix-5.2.3-cklxzrlh4irqit6e4vdheevj4yuaq7zo/pastix-5.2.3.tar.bz2 ==> Created stage in /okyanus/users/afarea/spack/spack/var/spack/stage/pastix-5.2.3-cklxzrlh4irqit6e4vdheevj4yuaq7zo ==> No patches needed for pastix ==> Building pastix ==> Successfully installed pastix Fetch: 0.08s. Build: 56.86s. Total: 56.93s. [+] /users/spack/spack/opt/spack/linux-x86_64/intel-17.0.4/pastix-5.2.3-cklxzrlh4irqit6e4vdheevj4yuaq7zo ==> hwloc is already installed in /okyanus/users/afarea/spack/spack/opt/spack/linux-x86_64/intel-17.0.4/hwloc-1.11.8-b735m4o2k47thieficyorcqq5r6a3ga4 ==> cmake is already installed in /okyanus/users/afarea/spack/spack/opt/spack/linux-x86_64/intel-17.0.4/cmake-exist-uyuzmehlh63boykgalyztorgfuy2af6z ==> mkl is already installed in /okyanus/users/afarea/spack/spack/opt/spack/linux-x86_64/intel-17.0.4/mkl-exist-sezg44le57cgbp7z577ohzef7dsmte53 ==> Installing mumps ==> Installing metis ==> cmake is already installed in /okyanus/users/afarea/spack/spack/opt/spack/linux-x86_64/intel-17.0.4/cmake-exist-uyuzmehlh63boykgalyztorgfuy2af6z ==> Trying to fetch from file:///okyanus/users/afarea/spack/maphys-mirror/metis/metis-5.1.0.tar.gz curl: (37) Couldn't open file /okyanus/users/afarea/spack/maphys-mirror/metis/metis-5.1.0.tar.gz ==> Fetching from file:///okyanus/users/afarea/spack/maphys-mirror/metis/metis-5.1.0.tar.gz failed. ==> Trying to fetch from http://glaros.dtc.umn.edu/gkhome/fetch/sw/metis/metis-5.1.0.tar.gz ######################################################################## 100.0% ==> Staging archive: /okyanus/users/afarea/spack/spack/var/spack/stage/metis-5.1.0-fb2m5lx5hemba6sqnult3z5efojsnize/metis-5.1.0.tar.gz ==> Created stage in /okyanus/users/afarea/spack/spack/var/spack/stage/metis-5.1.0-fb2m5lx5hemba6sqnult3z5efojsnize ==> Applied patch install_gklib_defs_rename.patch ==> Building metis ==> Error: Command exited with status 2: 'make' '-j28'
See build log for details: /tmp/afarea/spack-stage/spack-stage-7vzNSw/metis-5.1.0/spack-build.out
/users/spack/spack/var/spack/repos/builtin/packages/metis/package.py:188, in install: 153 @when('@5:') 154 def install(self, spec, prefix): 155 options = [] 156 options.extend(std_cmake_args) 157
158 build_directory = join_path(self.stage.path, 'spack-build') 159 source_directory = self.stage.source_path 160
161 options.append('-DGKLIB_PATH:PATH=%s/GKlib' % source_directory) 162 options.append('-DCMAKE_INSTALL_NAME_DIR:PATH=%s/lib' % prefix) 163
164 if '+shared' in spec: 165 options.append('-DSHARED:BOOL=ON') 166 if '+debug' in spec: 167 options.extend(['-DDEBUG:BOOL=ON', 168 '-DCMAKE_BUILD_TYPE:STRING=Debug']) 169 if '+gdb' in spec: 170 options.append('-DGDB:BOOL=ON') 171
172 metis_header = join_path(source_directory, 'include', 'metis.h') 173 if '+idx64' in spec: 174 filter_file('IDXTYPEWIDTH 32', 'IDXTYPEWIDTH 64', metis_header) 175 if '+real64' in spec: 176 filter_file('REALTYPEWIDTH 32', 'REALTYPEWIDTH 64', metis_header) 177
178 # Make clang 7.3 happy. 179 # Prevents "ld: section __DATA/__thread_bss extends beyond end of file" 180 # See upstream LLVM issue https://llvm.org/bugs/show_bug.cgi?id=27059 181 # and https://github.com/Homebrew/homebrew-science/blob/master/metis.rb 182 if spec.satisfies('%clang@7.3.0'): 183 filter_file('#define MAX_JBUFS 128', '#define MAX_JBUFS 24', 184 join_path(source_directory, 'GKlib', 'error.c')) 185
186 with working_dir(build_directory, create=True): 187 cmake(source_directory, *options)188 make() 189 make('install') 190
191 # now run some tests: 192 for f in ['4elt', 'copter2', 'mdual']: 193 graph = join_path(source_directory, 'graphs', '%s.graph' % f) 194 Executable(join_path(prefix.bin, 'graphchk'))(graph) 195 Executable(join_path(prefix.bin, 'gpmetis'))(graph, '2') 196 Executable(join_path(prefix.bin, 'ndmetis'))(graph) 197
198 graph = join_path(source_directory, 'graphs', 'test.mgraph') 199 Executable(join_path(prefix.bin, 'gpmetis'))(graph, '2') 200 graph = join_path(source_directory, 'graphs', 'metis.mesh') 201 Executable(join_path(prefix.bin, 'mpmetis'))(graph, '2') 202
203 # install GKlib headers, which will be needed for ParMETIS 204 GKlib_dist = join_path(prefix.include, 'GKlib') 205 mkdirp(GKlib_dist) 206 hfiles = glob.glob(join_path(source_directory, 'GKlib', '*.h')) 207 for hfile in hfiles: 208 install(hfile, GKlib_dist) ==> Error: Installation process had nonzero exit code.
any idea,