Author Topic: SIGSEGV, segmentation fault of test example on Mac OS  (Read 5224 times)

double

  • Jr. Member
  • **
  • Posts: 28
SIGSEGV, segmentation fault of test example on Mac OS
« on: January 25, 2019, 12:39:29 AM »
Hello FEAPers,

I am compiling and running FEAPpv on Mac OS 10.14 (64 bit) with Intel Fortran 18.0. I changed the ipr=1. When I run the test example, it prompted with segmentation fault as follows:


    F I N I T E   E L E M E N T   A N A L Y S I S   P R O G R A M
              FEAPpv (P e r s o n a l   V e r s i o n)

             (C) Regents of the University of California
                       All Rights Reserved.
                       VERSION: 4.1 Revision i
                          DATE: 21 April 2018

         Files are set as:     Status  Filename

             Input   (read ) : Exists  Iblock.txt
             Output  (write) : Exists  Oblock.txt
             Restart (read ) : New     Rblock.txt
             Restart (write) : New     Rblock.txt

         Caution, existing write files will be overwritten.

         Are filenames correct?( y or n; r = redefine all; s = stop) :y

         R U N N I N G    F E A P p v    P R O B L E M    N O W
forrtl: severe (174): SIGSEGV, segmentation fault occurred
Image              PC                Routine            Line        Source
feappv             0000000100B4E2F4  for__signal_handl     Unknown  Unknown
libsystem_platfor  00007FFF7EA02B3D  _sigtramp             Unknown  Unknown
feappv             0000000100BCBF61  __intel_avx_rep_m     Unknown  Unknown
➜  main
-------------------------------------------------------------------------------
Could anyone give me some hints why it happened? Enclosed is my makefile.in

Thanks in advance

Prof. R.L. Taylor

  • Administrator
  • FEAP Guru
  • *****
  • Posts: 2647
Re: SIGSEGV, segmentation fault of test example on Mac OS
« Reply #1 on: January 25, 2019, 09:44:37 AM »
If you did not request all integers to be *8 then you should not change ipr to 1 but leave as 2.

double

  • Jr. Member
  • **
  • Posts: 28
Re: SIGSEGV, segmentation fault of test example on Mac OS
« Reply #2 on: January 25, 2019, 12:07:26 PM »
Thanks, Professor. It works!