FEAP User Forum

FEAP => FEAPpv => Topic started by: double on January 25, 2019, 12:39:29 AM

Title: SIGSEGV, segmentation fault of test example on Mac OS
Post by: double 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
Title: Re: SIGSEGV, segmentation fault of test example on Mac OS
Post by: Prof. R.L. Taylor 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.
Title: Re: SIGSEGV, segmentation fault of test example on Mac OS
Post by: double on January 25, 2019, 12:07:26 PM
Thanks, Professor. It works!