Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

problem with "make denise" code #41

Open
DanielVais96 opened this issue May 9, 2023 · 1 comment
Open

problem with "make denise" code #41

DanielVais96 opened this issue May 9, 2023 · 1 comment

Comments

@DanielVais96
Copy link

DanielVais96 commented May 9, 2023

Hello,
I am going through the QUICKSTART_Marmousi.txt and I have a problem with code "make denise"(step 3) . I tried all compiler options that exist in Makefile and it didn't work.
I working with Ubuntu os, gcc version 11.3.0, Open MPI 4.1.2, fftw version 3.3.8 .

currently I am using this configurations in Makefile:

On Desktop computer with LinuxMint 17, OpenMPI and gcc 4.8.2
CC=mpicc
LFLAGS=-lm -lcseife -lfftw3 -lstdc++
CFLAGS=-O3 -w -fno-stack-protector -D_FORTIFY_SOURCE=0
SFLAGS=-L./../libcseife
IFLAGS=-I./../libcseife -I./../include

this is file with the terminal output:
problem.txt

hope you can help.
thank you.

@daniel-koehn
Copy link
Owner

Hi @DanielVais96,

Your issue seem to be related to the new GNU Compiler. Adding the option

-fcommon

to the CFLAGS in the Makefile and recompile the source code should solve the problem

Best regards,

Daniel

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants