Thank you Lawrence. I re-installed PETSc with the new configure option and the PyOP2 tests now run. With backend=opencl the tests were successful, but about 600 fail with backend=openmp. They all seem to have the same error, see below. Thank you for all the help. Best, Anna. ========================================================= /var/folders/cs/cbmmbcd13mv9jq1cptvdljzsl5jfkj/T/pyop2-cache-uid1717090897/22cdb1aae83a18075e91d543ddeb9fc3.c:43:15: warning: implicit declaration of function 'omp_get_thread_num' $ int tid = omp_get_thread_num(); ^ /var/folders/cs/cbmmbcd13mv9jq1cptvdljzsl5jfkj/T/pyop2-cache-uid1717090897/22cdb1aae83a18075e91d543ddeb9fc3.c:43:9: warning: unused variable 'tid' [-Wunused-variable] int tid = omp_get_thread_num(); ^ 2 warnings generated. Undefined symbols for architecture x86_64: "_omp_get_thread_num", referenced from: _wrap_copy in 22cdb1aae83a18075e91d543ddeb9fc3-48732d.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) ========================================================= On 17 Nov 2014, at 08:32, Lawrence Mitchell <lawrence.mitchell@imperial.ac.uk<mailto:lawrence.mitchell@imperial.ac.uk>> wrote: Hi Anna, On 16 Nov 2014, at 18:24, Anna Kalogirou <A.Kalogirou@leeds.ac.uk<mailto:A.Kalogirou@leeds.ac.uk>> wrote: I have now reached the point where I need test the PyOP2 installation, but when I write make test I get an error which I believe is related to open-mpi. It looks like libpetsc references the path /private/tmp/pip-hBwvhb-build/macosx-10.9-x86_64- Ok, this appears to be an issue with the way some external packages are installed by petsc when using pip. Hwloc is non essential so can you add --download-hwloc=0 to the petsc configure options. In the mean time I will report a bug upstream. Cheers, Lawrence _______________________________________________ firedrake mailing list firedrake@imperial.ac.uk<mailto:firedrake@imperial.ac.uk> https://mailman.ic.ac.uk/mailman/listinfo/firedrake