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@jpro^~/petsc(maint-3.8) $ cd src/benchmarks/
balay@jpro^~/petsc/src/benchmarks(maint-3.8) $ mpicc -c sizeof.c 
balay@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@jpro^~/petsc/src/benchmarks(maint-3.8) $ /usr/bin/ar cr /tmp/libconf1.a  
sizeof.o
balay@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@jpro^~/petsc/src/benchmarks(maint-3.8) $ ar t /tmp/libconf1.a
__.SYMDEF SORTED
sizeof.o

balay@jpro^~/petsc/src/benchmarks(maint-3.8) $ cp sizeof.o /tmp/
balay@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@jpro^~/petsc/src/benchmarks(maint-3.8) $ /usr/bin/ar cr /tmp/libconf2.a 
/tmp/sizeof.o
balay@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@jpro^~/petsc/src/benchmarks(maint-3.8) $ ar t /tmp/libconf2.a
__.SYMDEF SORTED
sizeof.o
balay@jpro^~/petsc/src/benchmarks(maint-3.8) $ 

Satish

Reply via email to