astrojuanlu / fenics-recipes

This repository contains conda recipes for the FEniCS libraries
The Unlicense
13 stars 15 forks source link

Possible error when running PETSc tests on OS X #15

Open johannesring opened 9 years ago

johannesring commented 9 years ago

When running the PETSc tests on OS X I see the following message:

TEST START: petsc-3.5.2-py27_1
Fetching package metadata: ......
Solving package specifications: .
The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    petsc-3.5.2                |           py27_1        10.5 MB

The following NEW packages will be INSTALLED:

    mkl:          11.1-np19py27_p3 
    mkl-rt:       11.1-p0          
    mkl-service:  1.0.0-py27_p1    
    mpi4py:       1.3-py27_0       
    nose:         1.3.6-py27_0     
    numexpr:      2.3.1-np19py27_0 
    numpy:        1.9.2-py27_0     
    openmpi:      1.6.3-0          
    openssl:      1.0.1k-1         
    petsc:        3.5.2-py27_1     
    pip:          6.1.1-py27_0     
    python:       2.7.9-1          
    readline:     6.2-2            
    scikit-learn: 0.15.2-np19py27_0
    scipy:        0.15.1-np19py27_0
    setuptools:   15.2-py27_0      
    sqlite:       3.8.4.1-1        
    tk:           8.5.18-0         
    zlib:         1.2.8-0          

Fetching packages ...
petsc-3.5.2-py 100% |##########################################################| Time: 0:00:00  35.80 MB/s
Extracting packages ...
[      COMPLETE      ]|#############################################################################| 100%
Linking packages ...
[      COMPLETE      ]|#############################################################################| 100%
+ cd /Users/johannr/anaconda/conda-bld/work/petsc-3.5.2
+ make PETSC_DIR=/Users/johannr/anaconda/envs/_test PETSC_ARCH= test
Running test examples to verify correct installation
Using PETSC_DIR=/Users/johannr/anaconda/envs/_test and PETSC_ARCH=
Possible error running C/C++ src/snes/examples/tutorials/ex19 with 1 MPI process
See http://www.mcs.anl.gov/petsc/documentation/faq.html
dyld: Library not loaded: libmkl_intel_lp64.dylib
  Referenced from: /Users/johannr/anaconda/conda-bld/work/petsc-3.5.2/src/snes/examples/tutorials/./ex19
  Reason: image not found
--------------------------------------------------------------------------
mpiexec noticed that process rank 0 with PID 50975 on node Johanness-Mac-3.local exited on signal 5 (Trace/BPT trap: 5).
--------------------------------------------------------------------------
Possible error running C/C++ src/snes/examples/tutorials/ex19 with 2 MPI processes
See http://www.mcs.anl.gov/petsc/documentation/faq.html
dyld: Library not loaded: libmkl_intel_lp64.dylib
  Referenced from: /Users/johannr/anaconda/conda-bld/work/petsc-3.5.2/src/snes/examples/tutorials/./ex19
  Reason: image not found
dyld: Library not loaded: libmkl_intel_lp64.dylib
  Referenced from: /Users/johannr/anaconda/conda-bld/work/petsc-3.5.2/src/snes/examples/tutorials/./ex19
  Reason: image not found
--------------------------------------------------------------------------
mpiexec noticed that process rank 0 with PID 50980 on node Johanness-Mac-3.local exited on signal 5 (Trace/BPT trap: 5).
--------------------------------------------------------------------------
Completed test examples
=========================================
Now to evaluate the computer systems you plan use - do:
make PETSC_DIR=/Users/johannr/anaconda/envs/_test PETSC_ARCH= streams NPMAX=<number of MPI processes you intend to use>
TEST END: petsc-3.5.2-py27_1
astrojuanlu commented 9 years ago

No idea why this might happen, I have other issues in the queue but will try to reproduce this if I have time. Do you think it might be a linking issue with the Intel libraries?

johannesring commented 9 years ago

I am not sure. The tests pass, so this should not have top priority.