Questions tagged [pgi]

The Portland Group (PGI) produces compilers (Fortran, C & C++) for high-performance computers. They also provide Fortran compilers with GPU support (CUDA Fortran as well as an implementation of OpenACC).

See also PGI Documentation.

160 questions
0
votes
1 answer

Why does PGI not pick up on public attribute in this module?

Working with someone else's code here. It compiles just fine with gfortran. Under Portland Group, though, I get an error: pgf90 -DsysLinux -DcompPGF90 -I/home/cables/GITM/share/Library/src -c -r8 -fast …
bob.sacamento
  • 6,283
  • 10
  • 56
  • 115
0
votes
1 answer

C/C++ and GNU/PGI: undefined reference to `__pgio_ini'

Is there a way to link PGI Compiler binaries to existing GNU binaries? When I try to link I get following error: oacc.c.o:(.init+0x8): undefined reference to `__pgio_ini' collect2: ld returned 1 exit status Details: I have compiled a few files with…
lashgar
  • 5,184
  • 3
  • 37
  • 45
-1
votes
1 answer

ding finPGI compiler on Ubuntu

How check if PGI compiler and what version is installed on Ubuntu? I have checked pgcc -⁠V and pgcc -⁠V but commands were not find. Maybe it means it was not installed properly.
Monica
  • 1,030
  • 3
  • 17
  • 37
-1
votes
1 answer

OpenACC: having a private array for every GPU thread

I am bringing a code to the GPU. This code has a kernel that makes use of a private array. This means that the array is declared inside the kernel loop. When I port the code to OpenACC I get buggy results. To me, it looks like the array is…
Antonio Ragagnin
  • 2,278
  • 4
  • 24
  • 39
-1
votes
1 answer

MPI_Irecv type cast required error

My code can be found on my github: https://github.com/chrismunley/ParallelProgramming/tree/master The error I get is: PGC-W-0095-Type cast required for this conversion (my_laplace.c: 112) PGC-W-0095-Type cast required for this conversion…
-1
votes
1 answer

Compiling mvapich2-2.1 with PGI

I am currently trying to compile mvapich2-2.1 using pgcc 15.10 on a CentOS 6 machine. I run export F90=; export CPP=cpp; ./configure --prefix=/home/user/local/mvapich2-2.1/pgi15 make and it fails with (excluding much of the diagnostic…
irritable_phd_syndrome
  • 4,631
  • 3
  • 32
  • 60
-1
votes
1 answer

Error linking against Armadillo using PGI compiler

I want to accelerate a portion of my code using OpenACC to allow it run on GPUs ,but the most of my code uses Armadillo library for the linear algebra. The easiest way that I found to accelerate the code relies on the PGI set of compilers, but it…
user3116936
  • 492
  • 3
  • 21
-2
votes
1 answer

zero output when OpenACC is used

I use PGI community edition 17.10 to compile and run fallowing code. why the output is wrong when I add directives of OpenACC? may you if help me why it's happen? Thanks in advance, sajad #include #include #include…
sajad
  • 15
  • 2
-2
votes
1 answer

openacc - discrepancies between ta=multicore and ta=nvidia compilation

I have a code that is written in OpenMP originally. Now, I want to migrate it into OpenACC. Consider following: 1- First of all, OpenMP's output result is considered as final result and OpenACC output should follow them. 2- Secondly, there are 2…
mgNobody
  • 738
  • 7
  • 23
-2
votes
1 answer

Using OpenACC to set the value of a variable in device memory

Why does the following code not allow me to set var to 10 via the function intfun? #include void intfun(int * variable){ #pragma acc parallel deviceptr(variable) num_gangs(1) num_workers(1) { *variable = 10; } } int…
lodhb
  • 929
  • 2
  • 12
  • 29
1 2 3
10
11