Hi,
Edit - Update:
I had a large number of conflicting packages installed for openmpi, and gcc, through both homebrew and macports. Uninstalling all these packages and reinstalling gcc8 and all the other relevant dependencies with the gcc8 and fortran variant (where applicable) allowed me to properly compile and run the code. See below for the list of conflicting ports.
I have managed to compile GULP in parallel seemingly with no complaint from the compiler.
However, when I try and run the code I get a segmentation fault from the compiler:
(base) my_computer:Examples connor$ mpirun -np 4 gulp example14
Program received signal SIGSEGV: Segmentation fault - invalid memory reference.
Backtrace for this error:
Program received signal SIGSEGV: Segmentation fault - invalid memory reference.
Backtrace for this error:
Program received signal SIGSEGV: Segmentation fault - invalid memory reference.
Backtrace for this error:
Program received signal SIGSEGV: Segmentation fault - invalid memory reference.
Backtrace for this error:
#0 0x10765ad3e
#1 0x10765a49a
#2 0x7fff733fb5fc
#0 0x106a15d3e
#1 0x106a1549a
#2 0x7fff733fb5fc
#0 0x108c43d3e
#1 0x108c4349a
#2 0x7fff733fb5fc
#0 0x1033b8d3e
#1 0x1033b849a
#2 0x7fff733fb5fc
#3 0x1068f2cb7
#3 0x108b1bcb7
#4 0x1084b1034
#5 0x1084a7318
#3 0x107538cb7
#4 0x106ec8034
#5 0x106ebe318
#3 0x103290cb7
#4 0x102c24034
#4 0x10628b034
#5 0x106281318
#5 0x102c1a318
#6 0x108148957
#6 0x1028bc957
#6 0x105f20957
#6 0x106b61957
#7 0x108157eba
#7 0x1028cbeba
#7 0x106b70eba
#7 0x105f2feba
#8 0x1081c84d5
#8 0x10293c4d5
#8 0x106be14d5
#8 0x105fa04d5
--------------------------------------------------------------------------
Primary job terminated normally, but 1 process returned
a non-zero exit code. Per user-direction, the job has been aborted.
--------------------------------------------------------------------------
--------------------------------------------------------------------------
mpirun noticed that process rank 2 with PID 0 on node my_computer exited on signal 11 (Segmentation fault: 11).
--------------------------------------------------------------------------
I have compiled the none parallel version just fine, and been able to use it to run examples if that helps. Any help is greatly appreciated!
Cheers,
Connor