Skip to content

Commit

Permalink
fixed formatting in orders.inc and added common block alignment to de…
Browse files Browse the repository at this point in the history
…fault compilation for NLO, fixed order now runs out of the box
  • Loading branch information
zeniheisser committed Jan 15, 2024
1 parent da23017 commit f121165
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Template/NLO/Source/make_opts.inc
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ DEFAULT_CPP_COMPILER = g++
# Rest of the makefile
ifeq ($(origin FFLAGS),undefined)
#FFLAGS= -O -w
FFLAGS = -O -fno-automatic
FFLAGS = -O -fno-automatic -fno-align-commons
#FFLAGS+= -g -fbounds-check -ffpe-trap=invalid,zero,overflow,underflow,denormal -Wall
endif

Expand Down
10 changes: 5 additions & 5 deletions madgraph/iolibs/export_fks.py
Original file line number Diff line number Diff line change
Expand Up @@ -1360,11 +1360,11 @@ def write_orders_file(self, writer, matrix_element):
text += 'double precision amp_split(amp_split_size)\n'
text += 'double complex amp_split_cnt(amp_split_size,2,nsplitorders)\n'
text += 'common /to_amp_split/amp_split, amp_split_cnt\n'
text += 'C the following is to store amps for vectorisation'
text += 'double precision amp_split_store_r(amp_split_size)'
text += 'double precision amp_split_store_b(amp_split_size)'
text += 'double complex amp_split_store_cnt(amp_split_size,2,nsplitorders)'
text += 'COMMON /TO_AMP_SPLIT_STORE/AMP_SPLIT_store_r, amp_split_store_b, amp_split_store_cnt'
text += '! the following is to store amps for vectorisation\n'
text += 'double precision amp_split_store_r(amp_split_size)\n'
text += 'double precision amp_split_store_b(amp_split_size)\n'
text += 'double complex amp_split_store_cnt(amp_split_size,2,nsplitorders)\n'
text += 'COMMON /TO_AMP_SPLIT_STORE/AMP_SPLIT_store_r, amp_split_store_b, amp_split_store_cnt\n'
writer.line_length=132
writer.writelines(text)

Expand Down

0 comments on commit f121165

Please sign in to comment.