hashdist / hashstack-old

Obsolete repository, use "hashstack" instead
3 stars 4 forks source link

petsc fails #20

Closed certik closed 11 years ago

certik commented 11 years ago

It can't find mpicc, but that one is installed from mpich:

ondrej@kittiwake:~/repos/python-hpcmp2(w)$ ls local/bin/
2to3              h5ls              iplogger        nctoh5
cygdb             h5mkgrp           iptest          nosetests
cython            h5perf_serial     ipython         parkill
easy_install      h5redeploy        irunner         ptdump
easy_install-2.7  h5repack          is-profile-bin  ptrepack
f2py              h5repart          launcher        pycolor
gif2h5            h5stat            mpic++          pydoc
h52gif            h5unjam           mpicc           python
h5cc              hydra_nameserver  mpichversion    python2
h5copy            hydra_persist     mpicxx          python2.7
h5debug           hydra_pmi_proxy   mpiexec         python2.7-config
h5diff            idle              mpiexec.hydra   python2.7.link
h5dump            ipcluster         mpif77          python2-config
h5import          ipcontroller      mpif90          python-config
h5jam             ipengine          mpirun          smtpd.py

So something wrong.

[petsc] Linking launcher/gbag into /auto/nest/nest/u/ondrej/repos/python-hpcmp2/opt/petsc/nq67
[petsc:launcher/gbag] Nothing to do
[petsc] running ['sh', '../configure']
[petsc] cwd: /auto/nest/nest/u/ondrej/repos/python-hpcmp2/bld/petsc-n-nq67-1/src
[petsc] environment:
[petsc]   {'ARTIFACT': '/auto/nest/nest/u/ondrej/repos/python-hpcmp2/opt/petsc/nq67',
[petsc]    'BUILD': '/auto/nest/nest/u/ondrej/repos/python-hpcmp2/bld/petsc-n-nq67-1',
[petsc]    'HDIST_CFLAGS': '-I/auto/nest/nest/u/ondrej/repos/python-hpcmp2/opt/mpich/omo4/include',
[petsc]    'HDIST_CONFIG': '{"builder/build-temp":"/auto/nest/nest/u/ondrej/repos/python-hpcmp2/bld","sourcecache/sources":"/auto/nest/nest/u/ondrej/repos/python-hpcmp2/src","builder/artifacts":"/auto/nest/nest/u/ondrej/repos/python-hpcmp2/opt","global/cache":"/auto/nest/nest/u/ondrej/repos/python-hpcmp2/cache","builder/artifact-dir-pattern":"{name}/{shorthash}","global/db":"/auto/nest/nest/u/ondrej/repos/python-hpcmp2/db"}',
[petsc]    'HDIST_IMPORT': 'mpich/omo4bwniox3npajy2fpsbofzqnthmc33 launcher/gbaghc5quzejtuyrpawwepqn3tgaawmu',
[petsc]    'HDIST_IMPORT_PATHS': '/auto/nest/nest/u/ondrej/repos/python-hpcmp2/opt/mpich/omo4 /auto/nest/nest/u/ondrej/repos/python-hpcmp2/opt/launcher/gbag',
[petsc]    'HDIST_LDFLAGS': '-L/auto/nest/nest/u/ondrej/repos/python-hpcmp2/opt/mpich/omo4/lib -Wl,-R,/auto/nest/nest/u/ondrej/repos/python-hpcmp2/opt/mpich/omo4/lib',
[petsc]    'HDIST_VIRTUALS': '',
[petsc]    'LAUNCHER': '/auto/nest/nest/u/ondrej/repos/python-hpcmp2/opt/launcher/gbag',
[petsc]    'LAUNCHER_ID': 'launcher/gbaghc5quzejtuyrpawwepqn3tgaawmu',
[petsc]    'MPICH': '/auto/nest/nest/u/ondrej/repos/python-hpcmp2/opt/mpich/omo4',
[petsc]    'MPICH_ID': 'mpich/omo4bwniox3npajy2fpsbofzqnthmc33',
[petsc]    'PATH': '/usr/bin:/bin',
[petsc]    'PYTHONHPC_PREFIX': '/auto/nest/nest/u/ondrej/repos/python-hpcmp2/opt/petsc/nq67'}
[petsc] ===============================================================================
[petsc]              Configuring PETSc to compile on your system                       
[petsc] ===============================================================================
[petsc] TESTING: configureExternalPackagesDir from config.framework(/auto/nest/nest/u/ondrej/repos/python-hpcmp2/bld/petsc-n-nq67-1/src/config/BuildSystem/config/framework.py:821)
[petsc] TESTING: configureDebuggers from PETSc.utilities.debuggers(/auto/nest/nest/u/ondrej/repos/python-hpcmp2/bld/petsc-n-nq67-1/src/config/PETSc/utilities/debuggers.py:22)
[petsc] TESTING: configureCLanguage from PETSc.utilities.languages(/auto/nest/nest/u/ondrej/repos/python-hpcmp2/bld/petsc-n-nq67-1/src/config/PETSc/utilities/languages.py:45)
[petsc] TESTING: configureLanguageSupport from PETSc.utilities.languages(/auto/nest/nest/u/ondrej/repos/python-hpcmp2/bld/petsc-n-nq67-1/src/config/PETSc/utilities/languages.py:51)
[petsc] TESTING: configureExternC from PETSc.utilities.languages(/auto/nest/nest/u/ondrej/repos/python-hpcmp2/bld/petsc-n-nq67-1/src/config/PETSc/utilities/languages.py:68)
[petsc] TESTING: configureFortranLanguage from PETSc.utilities.languages(/auto/nest/nest/u/ondrej/repos/python-hpcmp2/bld/petsc-n-nq67-1/src/config/PETSc/utilities/languages.py:74)
[petsc] TESTING: configureMake from config.programs(/auto/nest/nest/u/ondrej/repos/python-hpcmp2/bld/petsc-n-nq67-1/src/config/BuildSystem/config/programs.py:24)
[petsc] TESTING: configureMkdir from config.programs(/auto/nest/nest/u/ondrej/repos/python-hpcmp2/bld/petsc-n-nq67-1/src/config/BuildSystem/config/programs.py:109)
[petsc] TESTING: configurePrograms from config.programs(/auto/nest/nest/u/ondrej/repos/python-hpcmp2/bld/petsc-n-nq67-1/src/config/BuildSystem/config/programs.py:131)
[petsc] TESTING: configureMercurial from config.sourceControl(/auto/nest/nest/u/ondrej/repos/python-hpcmp2/bld/petsc-n-nq67-1/src/config/BuildSystem/config/sourceControl.py:23)
[petsc] TESTING: configureCVS from config.sourceControl(/auto/nest/nest/u/ondrej/repos/python-hpcmp2/bld/petsc-n-nq67-1/src/config/BuildSystem/config/sourceControl.py:34)
[petsc] TESTING: configureSubversion from config.sourceControl(/auto/nest/nest/u/ondrej/repos/python-hpcmp2/bld/petsc-n-nq67-1/src/config/BuildSystem/config/sourceControl.py:43)
[petsc] TESTING: configureDirectories from PETSc.utilities.petscdir(/auto/nest/nest/u/ondrej/repos/python-hpcmp2/bld/petsc-n-nq67-1/src/config/PETSc/utilities/petscdir.py:28)
[petsc] TESTING: configureExternalPackagesDir from PETSc.utilities.petscdir(/auto/nest/nest/u/ondrej/repos/python-hpcmp2/bld/petsc-n-nq67-1/src/config/PETSc/utilities/petscdir.py:75)
[petsc] TESTING: configureInstallationMethod from PETSc.utilities.petscdir(/auto/nest/nest/u/ondrej/repos/python-hpcmp2/bld/petsc-n-nq67-1/src/config/PETSc/utilities/petscdir.py:82)
[petsc] TESTING: configureETags from PETSc.utilities.Etags(/auto/nest/nest/u/ondrej/repos/python-hpcmp2/bld/petsc-n-nq67-1/src/config/PETSc/utilities/Etags.py:27)
[petsc] TESTING: getDatafilespath from PETSc.utilities.dataFilesPath(/auto/nest/nest/u/ondrej/repos/python-hpcmp2/bld/petsc-n-nq67-1/src/config/PETSc/utilities/dataFilesPath.py:29)
[petsc] TESTING: resetEnvCompilers from config.setCompilers(/auto/nest/nest/u/ondrej/repos/python-hpcmp2/bld/petsc-n-nq67-1/src/config/BuildSystem/config/setCompilers.py:1472)
[petsc] TESTING: checkMPICompilerOverride from config.setCompilers(/auto/nest/nest/u/ondrej/repos/python-hpcmp2/bld/petsc-n-nq67-1/src/config/BuildSystem/config/setCompilers.py:1453)
[petsc] TESTING: checkVendor from config.setCompilers(/auto/nest/nest/u/ondrej/repos/python-hpcmp2/bld/petsc-n-nq67-1/src/config/BuildSystem/config/setCompilers.py:379)
[petsc] TESTING: checkInitialFlags from config.setCompilers(/auto/nest/nest/u/ondrej/repos/python-hpcmp2/bld/petsc-n-nq67-1/src/config/BuildSystem/config/setCompilers.py:389)
[petsc] TESTING: checkCCompiler from config.setCompilers(/auto/nest/nest/u/ondrej/repos/python-hpcmp2/bld/petsc-n-nq67-1/src/config/BuildSystem/config/setCompilers.py:505)
[petsc] *******************************************************************************
[petsc]          UNABLE to CONFIGURE with GIVEN OPTIONS    (see configure.log for details):
[petsc] -------------------------------------------------------------------------------
[petsc] C compiler you provided with -with-cc=mpicc does not work
[petsc] *******************************************************************************
[petsc] 
[petsc ERROR] Command '['sh', '../configure']' returned non-zero exit status 1
[petsc ERROR] command failed (code=1); raising
certik commented 11 years ago

Fixed by da06d9e86e441467f74314d0ed3f4c948b6e2f0c.