Skip to content

Commit cbdb4be

Browse files
committed
nagfor compiler options
1 parent 0a5953e commit cbdb4be

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

fpm/src/fpm_compiler.f90

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -186,11 +186,21 @@ subroutine add_compile_flag_defaults(build_name,compiler,model)
186186

187187
case('release_nagfor')
188188
module_path_switch='-mdir '
189-
fflags = ' '
189+
fflags = ' &
190+
& -O4&
191+
& -coarray=single&
192+
& -PIC&
193+
'
190194
case('debug_nagfor')
191195
module_path_switch='-mdir '
192-
fflags = ' '
193-
196+
fflags = '&
197+
& -g&
198+
& -C=all&
199+
& -O0&
200+
& -gline&
201+
& -coarray=single&
202+
& -PIC&
203+
'
194204
case('release_crayftn')
195205
module_path_switch='-J '
196206
fflags = ' '

0 commit comments

Comments
 (0)