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

avatar 648934229 at qq.com
Thu Oct 25 20:41:38 CDT 2018


If I run it directly, I got the following. But if I double click /Applications/MATLAB_R2018a.app/bin/matlab in the folder. The matlab start normally.


Last login: Thu Oct 25 19:38:28 on ttys002
Scott-Grad-MBP:~ zhihui$ /Applications/MATLAB_R2018a.app/bin/matlab -nojvm -nodisplay -r "display(['Version ' version]); exit"


                                       < M A T L A B (R) >
                             Copyright 1984-2018 The MathWorks, Inc.
                              R2018a (9.4.0.813654) 64-bit (maci64)
                                        February 23, 2018




For online documentation, see http://www.mathworks.com/support
For product information, visit www.mathworks.com.


Version 9.4.0.813654 (R2018a)


--------------------------------------------------------------------------------
       Segmentation violation detected at Thu Oct 25 19:39:13 2018 -0600
--------------------------------------------------------------------------------


Configuration:
  Crash Decoding           : Disabled - No sandbox or build area path
  Crash Mode               : continue (default)
  Default Encoding         : ISO-8859-1
  Deployed                 : false
  Graphics Driver          : Unknown software
  MATLAB Architecture      : maci64
  MATLAB Entitlement ID    : 789930
  MATLAB Root              : /Applications/MATLAB_R2018a.app
  MATLAB Version           : 9.4.0.813654 (R2018a)
  OpenGL                   : software
  Operating System         : Mac OS Version 10.12.6 (Build 16G29)
  Process ID               : 77227
  Processor ID             : x86 Family 6 Model 158 Stepping 9, GenuineIntel
  Session Key              : 3308a767-ffe8-4f64-954b-ed266f8dea9c
  Window System            : None


Fault Count: 1




Abnormal termination


Register State (from fault):
  RAX = 0000000000000000  RBX = 00007f922bf7de00
  RCX = 00007f922bf7dde0  RDX = 0000000000000000
  RSP = 0000000108315005  RBP = 000070000b082a10
  RSI = 000070000b082c60  RDI = 000070000b082a30


   R8 = 0000000000000000   R9 = 0000000000000000
  R10 = 000070000b082c60  R11 = 00007f922be0ffd8
  R12 = 000070000b082a50  R13 = 00000001082d9a7c
  R14 = 000070000b082a50  R15 = 00007fff9f6aa410


  RIP = 0000000000000000  RFL = 000070000b083bc0


   CS = 0000000000000000   FS = 00007f922bf7d550   GS = 000070000b082f70


Stack Trace (from fault):
[  0] 0x00000001070f6f54                           bin/maci64/libmwfl.dylib+00053076 _ZN10foundation4core4diag15stacktrace_base7captureERKNS1_14thread_contextEm+00000052
[  1] 0x00000001070fbe26                           bin/maci64/libmwfl.dylib+00073254 _ZN10foundation4core4test17terminate_handledEv+00003958
[  2] 0x00000001070fac49                           bin/maci64/libmwfl.dylib+00068681 _ZN10foundation4core4diag13terminate_logEPKcPK17__darwin_ucontext+00000185
[  3] 0x000000010b04a2f0                          bin/maci64/libmwmcr.dylib+00574192 _Z19mnPrintErrorMessageRKNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEE+00010208
[  4] 0x000000010b047f72                          bin/maci64/libmwmcr.dylib+00565106 _Z19mnPrintErrorMessageRKNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEE+00001122
[  5] 0x000000010b046681                          bin/maci64/libmwmcr.dylib+00558721 mnFatalSignalHandler+00000145
[  6] 0x00007fffa0d40b3a           /usr/lib/system/libsystem_platform.dylib+00011066 _sigtramp+00000026
[  7] 0x000000000000002e                                   <unknown-module>+00000000
[  8] 0x0000000114092674                    bin/maci64/libmwddux_impl.dylib+00251508 _ZNK17DDUXConfigService16updateDDUXConfigEv+00000148
[  9] 0x000000011406d426                    bin/maci64/libmwddux_impl.dylib+00099366 _ZNK4ddux6detail30UsageDataCollectionServiceImpl15logSessionStartERKN26UsageDataCollectionService18SessionStartParamsE+00006518
[ 10] 0x000000011405d65f                    bin/maci64/libmwddux_impl.dylib+00034399 _ZN4ddux16DDUXServiceProxyclERKNS_23SendSessionStartMessageERKN10foundation7msg_svc8exchange7RoutingE+00001711
[ 11] 0x00000001140680a7                    bin/maci64/libmwddux_impl.dylib+00077991 _ZN4ddux23SendSessionStartMessageC1Ev+00000071
[ 12] 0x0000000114065da5                    bin/maci64/libmwddux_impl.dylib+00069029 _ZN4ddux16DDUXServiceProxyclERKNS_23LogFunctionUsageMessageERKN10foundation7msg_svc8exchange7RoutingE+00024853
[ 13] 0x0000000114065ab0                    bin/maci64/libmwddux_impl.dylib+00068272 _ZN4ddux16DDUXServiceProxyclERKNS_23LogFunctionUsageMessageERKN10foundation7msg_svc8exchange7RoutingE+00024096
[ 14] 0x0000000106d3fd68                           bin/maci64/libmwms.dylib+00785768 _ZN10foundation7msg_svc8exchange6detail23DefaultMessageQueueImpl15deliverMessagesEPNS1_19DefaultMessageQueueE+00000088
[ 15] 0x000000011406675c                    bin/maci64/libmwddux_impl.dylib+00071516 _ZN4ddux16DDUXServiceProxyclERKNS_23LogFunctionUsageMessageERKN10foundation7msg_svc8exchange7RoutingE+00027340
[ 16] 0x0000000114066574                    bin/maci64/libmwddux_impl.dylib+00071028 _ZN4ddux16DDUXServiceProxyclERKNS_23LogFunctionUsageMessageERKN10foundation7msg_svc8exchange7RoutingE+00026852
[ 17] 0x0000000104f11d41 /Applications/MATLAB_R2018a.app/bin/maci64/libmwboost_thread.dylib+00011585 _ZN7mwboost6thread21start_thread_noexceptEv+00000353
[ 18] 0x00007fffa0d4a93b            /usr/lib/system/libsystem_pthread.dylib+00014651 _pthread_body+00000180
[ 19] 0x00007fffa0d4a887            /usr/lib/system/libsystem_pthread.dylib+00014471 _pthread_body+00000000
[ 20] 0x00007fffa0d4a08d            /usr/lib/system/libsystem_pthread.dylib+00012429 thread_start+00000013


** This crash report has been saved to disk as /Users/zhihui/matlab_crash_dump.77227-1 **






MATLAB is exiting because of fatal error
Killed: 9
Scott-Grad-MBP:~ zhihui$ echo $?
137





------------------ 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"



>>>>>>>>>>>>>>
Testing Matlab at /Applications/MATLAB_R2018a.app
Executing: /Applications/MATLAB_R2018a.app/bin/matlab -nojvm -nodisplay -r "display(['Version ' version]); exit"
stdout:
< M A T L A B (R) >
                  Copyright 1984-2018 The MathWorks, Inc.
                   R2018a (9.4.0.813654) 64-bit (maci64)
                             February 23, 2018

For online documentation, see http://www.mathworks.com/support
For product information, visit www.mathworks.com.

Version 9.4.0.813654 (R2018a)
WARNING: Found Matlab at /Applications/MATLAB_R2018a.app but unable to run
<<<<<<<<<<<<<<<<<


So configure attempted to run Matlab - and perhaps got an error. What do you get if you run this manually?


/Applications/MATLAB_R2018a.app/bin/matlab -nojvm -nodisplay -r "display(['Version ' version]); exit"
echo $?

Satish

On Fri, 26 Oct 2018, avatar wrote:

> Hi Satish, 
> 
> 
> The attached is the whole configure.log file. I could not past it here because it is too big and crash my webpage. I could not use the latest version right now, because the project is maintained by other people. If I update petsc, I will break the whole project. But we will use the latest version when the maintenance guys update the dependences.
> 
> 
> Thank you.
> 
> 
> 
> 
> ------------------ 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"
> 
> 
> 
> 1. You need to send us the complete log.
> 
> 2. Also use current release - petsc-3.10 [not 3.8]
> 
> Satish
> 
> On Fri, 26 Oct 2018, avatar wrote:
> 
> > 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/db9cc93a/attachment-0001.html>


More information about the petsc-users mailing list