[petsc-users] "Could not find a suitable archiver. Use --with-arto specify an archiver"

Balay, Satish balay at mcs.anl.gov
Thu Oct 25 17:57:45 CDT 2018


On Fri, 26 Oct 2018, avatar wrote:

> Hi Satish,
> 
> 
> Thank you very much for your quick response.
> 
> 
> The log file is as follow:
> 

>>>>>>
Executing: /usr/bin/ar cr /tmp/petsc-mjVUVK/config.setCompilers/libconf1.a /tmp/petsc-mjVUVK/config.setCompilers/conf1.o
Possible ERROR while running archiver: exit code 256
stderr:
ar: temporary file: No such file or directory
            Archiver is not functional

<<<<<<
This is a strange error.

What do you get when you do the following:

balay at jpro^~/petsc(maint-3.8) $ cd src/benchmarks/
balay at jpro^~/petsc/src/benchmarks(maint-3.8) $ mpicc -c sizeof.c 
balay at jpro^~/petsc/src/benchmarks(maint-3.8) $ ls -l sizeof.o
-rw-r--r--  1 balay  staff  3036 Oct 25 17:54 sizeof.o
balay at jpro^~/petsc/src/benchmarks(maint-3.8) $ /usr/bin/ar cr /tmp/libconf1.a  sizeof.o
balay at jpro^~/petsc/src/benchmarks(maint-3.8) $ ls -l /tmp/libconf1.a
-rw-r--r--  1 balay  wheel  3224 Oct 25 17:55 /tmp/libconf1.a
balay at jpro^~/petsc/src/benchmarks(maint-3.8) $ ar t /tmp/libconf1.a
__.SYMDEF SORTED
sizeof.o

balay at jpro^~/petsc/src/benchmarks(maint-3.8) $ cp sizeof.o /tmp/
balay at jpro^~/petsc/src/benchmarks(maint-3.8) $ ls -l /tmp/sizeof.o 
-rw-r--r--  1 balay  wheel  3036 Oct 25 17:55 /tmp/sizeof.o
balay at jpro^~/petsc/src/benchmarks(maint-3.8) $ /usr/bin/ar cr /tmp/libconf2.a /tmp/sizeof.o
balay at jpro^~/petsc/src/benchmarks(maint-3.8) $ ls -l /tmp/libconf2.a
-rw-r--r--  1 balay  wheel  3224 Oct 25 17:55 /tmp/libconf2.a
balay at jpro^~/petsc/src/benchmarks(maint-3.8) $ ar t /tmp/libconf2.a
__.SYMDEF SORTED
sizeof.o
balay at jpro^~/petsc/src/benchmarks(maint-3.8) $ 

Satish


More information about the petsc-users mailing list