Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions example/concurrent-inferences.f90
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,12 @@ program concurrent_inferences
network_file_name = string_t(command_line%flag_value("--network"))

if (len(network_file_name%string())==0) then
error stop new_line('a') // new_line('a') // &
'Usage: ' // &
' fpm run --example concurrent-inferences --profile release --flag "-fopenmp" \' // &
' [--do-concurrent] [--openmp] [--elemental] [--double-precision] [--trials <integer>]\' // &
' -- --network "<file-name>"'
error stop new_line('') // new_line('') &
// 'Usage: ' // new_line('') &
// ' fpm run --example concurrent-inferences --profile release --flag "-fopenmp" \' // new_line('') &
// ' -- --network "<file-name>" \' // new_line('') &
// ' [--do-concurrent] [--openmp] [--elemental] [--double-precision] [--trials <integer>]' // new_line('') &
// ' where <> indicates user input and [] indicates an optional argument.' // new_line('')
end if

inputs = random_inputs()
Expand All @@ -33,7 +34,7 @@ program concurrent_inferences

associate( &
run_do_concurrent => command_line%argument_present(["--do-concurrent" ]), &
run_openmp => command_line%argument_present(["--opennmp" ]), &
run_openmp => command_line%argument_present(["--openmp" ]), &
run_elemental => command_line%argument_present(["--elemental" ]), &
run_double_precision => command_line%argument_present(["--double-precision"]) &
)
Expand Down