Search found 8045 matches

by mkcolg
Fri Sep 20, 2019 7:54 am
Forum: General Programming
Topic: program does not work with PGI194+cuda10.1 under Ubuntu 18.04
Replies: 1
Views: 6

Re: program does not work with PGI194+cuda10.1 under Ubuntu 18.04

Hi dypang, But is it the reason? If it is so, what shall I do? Or if there are other reasons? I highly doubt that CUDA 10.1 using a few more registers would be the issue, though unfortunately I can tell what's wrong from the given information. Given you're using the same compiler version, the proble...
by mkcolg
Fri Sep 20, 2019 7:35 am
Forum: General Programming
Topic: Future Support of Fortran 2008?
Replies: 4
Views: 4873

Re: Future Support of Fortran 2008?

Hi Peterukk,

The PGI compilers probably wont support Co-Arrays, at least any time soon, but we are working on them as part of the Flang F18 project see: https://github.com/flang-compiler/f18.

-Mat
by mkcolg
Thu Sep 19, 2019 7:51 am
Forum: Accelerator Programming
Topic: CUDA Fortran Equivalent to nvcc --default-stream per-thread
Replies: 1
Views: 8

Re: CUDA Fortran Equivalent to nvcc --default-stream per-thread

Hi Loregard, No, sorry. CUDA Fortran does not have an equivalent flag. There is an API Call you can use, "cudaSetStreamDefault" to change the default stream, but this is not on a per-thread basis. See: https://www.pgroup.com/resources/docs/19.7/x86/cuda-fortran-prog-guide/index.htm#sm-cudasetstreamd...
by mkcolg
Wed Sep 18, 2019 12:20 pm
Forum: General Programming
Topic: Equality wrong on Power
Replies: 2
Views: 22

Re: Equality wrong on Power

Hi Bert, While I'll ask Alex to keep TPR#27263 open in case we can find a work around, this is not a PGI issue but rather an issue with the system header files. Short answer: Add "-Mschar" to the compile. % pgcc test-undefined.c -Mschar % a.out % Long answer: When "stdlib.h" is included before "stdi...
by mkcolg
Mon Sep 16, 2019 8:15 am
Forum: General Programming
Topic: Weird linker message in 19.4 when using CUDA Fortran Windows 10
Replies: 5
Views: 389

Re: Weird linker message in 19.4 when using CUDA Fortran Windows 10

Hi Tarweed,

Not sure. I'm not seeing anything similar here.

Are you using the bash environment? If so what's the "PROMPT" environment set to?

Also, which compiler version are you using? Do you have you're own Cygwin install or are using the one we ship?

-Mat