Hi,
This due to the pgi compiler considering the \ as an escape character.
Just add the option "-Mbackslash" to the cmd_obj.
Here is a description of the option:
-Mpgflag Request PGI-specific actions from the compiler.
Many of pgflags optionally begin with no (e.g.
[no]list). If the default of such an option is
the no variant, this is indicated by no appear
ing in bold italics as in [no]list. The permit
ted pgflags are:
anno Produce annotated assembly files,
where source code is intermixed with
assembly language. -Mkeepasm or -S
must be used as well.
[no]backslash
(Don't) inhibit the treatment of back
slash as an escape character in
strings. -Mnobackslash causes the
standard C backslash escape sequences
to be recognized in quoted strings;
-Mbackslash causes the backslash to be
treated like any other character.
Hope it helps.