[petsc-users] "Could not find a suitable archiver. Use --with-arto specify an archiver"
avatar
648934229 at qq.com
Thu Oct 25 19:53:45 CDT 2018
Scott-Grad-MBP:petsc-3.8.3 zhihui$ ./configure --with-matlab-dir=/Applications/MATLAB_R2018a.app/
===============================================================================
Configuring PETSc to compile on your system
===============================================================================
TESTING: configureLibrary from config.packages.Matlab(config/BuildSystem/config/*******************************************************************************
UNABLE to CONFIGURE with GIVEN OPTIONS (see configure.log for details):
-------------------------------------------------------------------------------
You set a value for --with-matlab-dir, but /Applications/MATLAB_R2018a.app cannot be used
*******************************************************************************
Part of the log file as follow
#ifndef PETSC_HAVE_MPI_REDUCE_SCATTER
#define PETSC_HAVE_MPI_REDUCE_SCATTER 1
#endif
#ifndef PETSC_HAVE_MPI_COMBINER_DUP
#define PETSC_HAVE_MPI_COMBINER_DUP 1
#endif
#ifndef PETSC_HAVE_MPIIO
#define PETSC_HAVE_MPIIO 1
#endif
#ifndef PETSC_HAVE_MPI_COMM_SPAWN
#define PETSC_HAVE_MPI_COMM_SPAWN 1
#endif
#ifndef PETSC_HAVE_MPI_FINT
#define PETSC_HAVE_MPI_FINT 1
#endif
#ifndef PETSC_HAVE_MPI_IBARRIER
#define PETSC_HAVE_MPI_IBARRIER 1
#endif
#ifndef PETSC_HAVE_MPI_ALLTOALLW
#define PETSC_HAVE_MPI_ALLTOALLW 1
#endif
#ifndef PETSC_HAVE_OMPI_RELEASE_VERSION
#define PETSC_HAVE_OMPI_RELEASE_VERSION 2
#endif
#ifndef PETSC_HAVE_MPI_REDUCE_LOCAL
#define PETSC_HAVE_MPI_REDUCE_LOCAL 1
#endif
#ifndef PETSC_HAVE_MPI_REPLACE
#define PETSC_HAVE_MPI_REPLACE 1
#endif
#ifndef PETSC_HAVE_MPI_EXSCAN
#define PETSC_HAVE_MPI_EXSCAN 1
#endif
#ifndef PETSC_HAVE_MPI_C_DOUBLE_COMPLEX
#define PETSC_HAVE_MPI_C_DOUBLE_COMPLEX 1
#endif
#ifndef PETSC_HAVE_MPI_FINALIZED
#define PETSC_HAVE_MPI_FINALIZED 1
#endif
#ifndef PETSC_USE_INFO
#define PETSC_USE_INFO 1
#endif
#ifndef PETSC_Alignx
#define PETSC_Alignx(a,b)
#endif
#ifndef PETSC_USE_BACKWARD_LOOP
#define PETSC_USE_BACKWARD_LOOP 1
#endif
#ifndef PETSC_USE_DEBUG
#define PETSC_USE_DEBUG 1
#endif
#ifndef PETSC_USE_LOG
#define PETSC_USE_LOG 1
#endif
#ifndef PETSC_IS_COLOR_VALUE_TYPE_F
#define PETSC_IS_COLOR_VALUE_TYPE_F integer2
#endif
#ifndef PETSC_IS_COLOR_VALUE_TYPE
#define PETSC_IS_COLOR_VALUE_TYPE short
#endif
#ifndef PETSC_USE_CTABLE
#define PETSC_USE_CTABLE 1
#endif
#ifndef PETSC_MEMALIGN
#define PETSC_MEMALIGN 16
#endif
#ifndef PETSC_LEVEL1_DCACHE_LINESIZE
#define PETSC_LEVEL1_DCACHE_LINESIZE 32
#endif
#ifndef PETSC_LEVEL1_DCACHE_SIZE
#define PETSC_LEVEL1_DCACHE_SIZE 32768
#endif
#ifndef PETSC_LEVEL1_DCACHE_ASSOC
#define PETSC_LEVEL1_DCACHE_ASSOC 2
#endif
#ifndef PETSC_HAVE_CLOSURE
#define PETSC_HAVE_CLOSURE 1
#endif
#ifndef PETSC__BSD_SOURCE
#define PETSC__BSD_SOURCE 1
#endif
#ifndef PETSC__DEFAULT_SOURCE
#define PETSC__DEFAULT_SOURCE 1
#endif
#ifndef PETSC_HAVE_FORTRAN_GET_COMMAND_ARGUMENT
#define PETSC_HAVE_FORTRAN_GET_COMMAND_ARGUMENT 1
#endif
#ifndef PETSC_HAVE_GFORTRAN_IARGC
#define PETSC_HAVE_GFORTRAN_IARGC 1
#endif
#ifndef PETSC_USE_BYTES_FOR_SIZE
#define PETSC_USE_BYTES_FOR_SIZE 1
#endif
#ifndef PETSC_HAVE_SYS_SYSCTL_H
#define PETSC_HAVE_SYS_SYSCTL_H 1
#endif
#endif
**** C specific Configure header /var/folders/z_/2vhmh9zx3kx3h80k5wbkjmtr0000gp/T/petsc-yrHkm7/conffix.h ****
#if !defined(INCLUDED_UNKNOWN)
#define INCLUDED_UNKNOWN
#if defined(__cplusplus)
extern "C" {
}
#else
#endif
#endif
*******************************************************************************
UNABLE to CONFIGURE with GIVEN OPTIONS (see configure.log for details):
-------------------------------------------------------------------------------
You set a value for --with-matlab-dir, but /Applications/MATLAB_R2018a.app cannot be used
*******************************************************************************
File "./config/configure.py", line 393, in petsc_configure
framework.configure(out = sys.stdout)
File "/Users/zhihui/igx/deps/srcs/petsc-3.8.3/config/BuildSystem/config/framework.py", line 1097, in configure
self.processChildren()
File "/Users/zhihui/igx/deps/srcs/petsc-3.8.3/config/BuildSystem/config/framework.py", line 1086, in processChildren
self.serialEvaluation(self.childGraph)
File "/Users/zhihui/igx/deps/srcs/petsc-3.8.3/config/BuildSystem/config/framework.py", line 1067, in serialEvaluation
child.configure()
File "/Users/zhihui/igx/deps/srcs/petsc-3.8.3/config/BuildSystem/config/package.py", line 857, in configure
self.executeTest(self.configureLibrary)
File "/Users/zhihui/igx/deps/srcs/petsc-3.8.3/config/BuildSystem/config/base.py", line 126, in executeTest
ret = test(*args,**kargs)
File "/Users/zhihui/igx/deps/srcs/petsc-3.8.3/config/BuildSystem/config/packages/Matlab.py", line 40, in configureLibrary
for matlab in self.generateGuesses():
File "/Users/zhihui/igx/deps/srcs/petsc-3.8.3/config/BuildSystem/config/packages/Matlab.py", line 23, in generateGuesses
raise RuntimeError('You set a value for --with-matlab-dir, but '+self.argDB['with-matlab-dir']+' cannot be used\n')
================================================================================
Finishing Configure Run at Thu Oct 25 18:48:02 2018
================================================================================
------------------ Original ------------------
From: "Balay, Satish";<balay at mcs.anl.gov>;
Date: Oct 26, 2018
To: "avatar"<648934229 at qq.com>;
Cc: "petsc-users"<petsc-users at mcs.anl.gov>;
Subject: Re: [petsc-users] "Could not find a suitable archiver. Use --with-arto specify an archiver"
On Fri, 26 Oct 2018, avatar wrote:
> Scott-Grad-MBP:bin zhihui$ pwd
> /Applications/MATLAB_R2018a.app/bin
Sorry - you need
--with-matlab-dir=/Applications/MATLAB_R2018a.app/
Satish
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20181026/c165e862/attachment-0001.html>
More information about the petsc-users
mailing list