Skip to content

Commit

Permalink
new flag for compilation to avoid mismatch error
Browse files Browse the repository at this point in the history
  • Loading branch information
Charles Troupin committed Apr 18, 2023
1 parent 5ed3545 commit 6ab274d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions DIVA3D/src/Fortran/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ DIVA_PARALLEL=1

export compiler=gfortran

export flags=-O3 -frecord-marker=4 -cpp -DDIVAITERATIVE
export flags=-O3 -frecord-marker=4 -cpp -DDIVAITERATIVE -std=legacy
ifeq ($(DIVA_PARALLEL), 1)
export flagscalc=-O3 -cpp -fopenmp -DDIVAITERATIVE -DDIVAPARALLEL -DDIVAHUGEMEMORY
export flagscalc=-O3 -cpp -fopenmp -DDIVAITERATIVE -DDIVAPARALLEL -DDIVAHUGEMEMORY -std=legacy
else
export flagscalc=-O3 -cpp -DDIVAITERATIVE -Wall -fbounds-check -DDIVAHUGEMEMORY
export flagscalc=-O3 -cpp -DDIVAITERATIVE -Wall -fbounds-check -DDIVAHUGEMEMORY -std=legacy
endif


Expand Down

0 comments on commit 6ab274d

Please sign in to comment.