[petsc-users] anaconda installation of petsc

Gideon Simpson gideon.simpson at gmail.com
Wed Oct 23 19:55:53 CDT 2019


I have an anaconda installation of petsc and I was trying to use it with
some existing petsc codes, with the makefile:

include ${PETSC_DIR}/conf/variables
include ${PETSC_DIR}/conf/rules

all: ex1

hello: ex1.o
${CLINKER} -o ex1 ex1.o ${LIBS} ${PETSC_LIB}

and PETSC_DIR=/Users/gideonsimpson/anaconda3/lib/petsc

However, when i try to call make on this, I get

mpicc -o ex1.o -c -march=core2 -mtune=haswell -mssse3 -ftree-vectorize
-fPIC -fPIE -fstack-protector-strong -O2 -pipe -isystem
/Users/gideonsimpson/anaconda3/include -O3 -D_FORTIFY_SOURCE=2
-mmacosx-version-min=10.9 -isystem /Users/gideonsimpson/anaconda3/include
 -I/Users/gideonsimpson/anaconda3/include  -D_FORTIFY_SOURCE=2
-mmacosx-version-min=10.9 -isystem /Users/gideonsimpson/anaconda3/include
 `pwd`/ex1.c
/Users/gideonsimpson/anaconda3/bin/mpicc: line 282:
x86_64-apple-darwin13.4.0-clang: command not found
make: *** [ex1.o] Error 127


-- 
gideon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20191023/737bdbd4/attachment.html>


More information about the petsc-users mailing list